Problem with Installing video drivers in two diferents kernel SOLVED!!!
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In kernel 2.6.30 X starts OK. My video driver is installed
In kernel 2.6.26 X doesnot startt.
I go to 2.6.26, I install nvidia driver this way
Code:
sh nvidia.run
it finished OK, and I X starts OK, but when I change to
2.6.30 X doesnot start OK.
So, I install the driver in 2.6.30 again, and my X starts OK, but when I go to 2.6.26,
X doesnot starts!!!!!!!!
So, if I want to change to kernel, I need to install nvidia driver every time............. (becouse in the current kernel when it is installed, everything is OK, but in the other kernel X broke) :roll: :roll: :x ops: :mrgreen:
Easy, you just use the -K option, I think. sh installerThing.run -K or whatever the NVidia thing is called. Think it's -K: use bash installerThing.run --advanced-help to find out. Failing that --help.
-K, --kernel-module-only
Install a kernel module only, and do not uninstall the
existing driver. This is intended to be used to install
kernel modules for additional kernels (in cases where you
might boot between several different kernels). To use this
option, you must already have a driver installed, and the
version of the installed driver must match the version of
this kernel module.
So do what you did before with one of the kernels running. Then reboot into the other kernel and use the -K option. Do not know which kernel you'll have to use first, it may not matter.
I'm not sure about debian proper, but in both ubuntu and mandriva if you add the non-free repositories you can just download and use the proprietary drivers from the repos and synaptic or urpmi (urpmi is for mandriva) will install dkms (dynamic kernel module support.....I think is what it stands for) so that you don't have to do it manually.........this of course won't be the most current driver which is now 190.53 I believe but it takes care of the problem. If you don't want to use the repos, you can set up dkms manually. I did it for a slackware installation. Googling will tell you how to set it up.
There are some pretty major kernel changes > 2.6.28 that affects things like video drivers. So it's no surprise that you're having issues. You might make sure that you're using the latest nVidia driver. Which might mean beta, not stable. Depending on how old stable is. Most of my cards are ATI cards, and those cards with dropped support and therefor older drivers are kind of stuck in 2.6.28.10 land. I'm not sure why all of the API changes of late. But they're there, just deal with it as best as we can.
Easy, you just use the -K option, I think. sh installerThing.run -K or whatever the NVidia thing is called. Think it's -K: use bash installerThing.run --advanced-help to find out. Failing that --help.
Can you explain me please what process are installing video drivers?
Does it consist of two parts?
Installing kernel module and install driver?
In which folders is installed the kernel module and where is installed the driver?
Can you explain me please what process are installing video drivers?
Does it consist of two parts?
Installing kernel module and install driver?
In which folders is installed the kernel module and where is installed the driver?
Don't know, I've always been puzzled by it. Perhaps it says on nVidia's web site - the faq's?
There's generally a kernel part (hardware driver) and then a lib part (software driver). libGL.so for 3D rendering in software for the features NOT available in hardware(mesa3g). And other things like amdcccle for ATI cards to give a little gui for changing your settings. nVidia is different, but the same basic components. Kernel drivers for hardware support. Softwere drivers for X support. Kernel and X and almost always a WIP (work in progress), so evolve as your versions do. (if your versions do).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.