PDA

View Full Version : FC3T2: How to keep NVDIA driver working on next reboot ?


bretzel
2nd October 2004, 05:53 PM
Hi there,

I know it is test but I manage to install the nvidia driver ( compile and install ok ) even if the kernel loads rivafb driver which NVDIA installer warns me about a possible conflict...

My question is ( see topic ) how could I keep the nvidia driver working when I reboot ? I don't know what the init does but it seems to wipeout the settings made by the nvidia installer... At every boot, I have to re-install/re-compile the driver.

I have no clue in /etc/modprobe.conf/.dist. How can I replace the rivafb by the nv module at boot ?

P.S.:
By the way I found VERY kind the dialogs and initiatives to repair the broken X setup at boot! The first time nvidia failed at reboot, the (scripts?) dialogs just re-setup the xconf to re-install the workable X window. That is VERY smart and ...kind!

Thanks, otherwize, FC3T2 is wonderfull!!!
Bretzel

hiberphoptik
2nd October 2004, 06:17 PM
There is probly a better way to do this but since i was lazy and dont really care as long as it works this is what i did

open /etc/rc.local as root

add the follwing line
/sbin/insmod /lib/modules/2.6.8-1.541/kernel/drivers/video/nvidia.ko

then reboot

jrittvo
2nd October 2004, 06:31 PM

At the moment, the line in rc.local is exactly the best fix, but you can use a simpler version of the command that is not kernel specific:

/sbin/modprobe nvidia

will do the same module loading.

bretzel
2nd October 2004, 10:14 PM
hiberphoptik , jrittvo ,
Thank you for your quick suggestion. I am going to do it and test.. :-) :)

Bretzel

JLF_65
6th October 2004, 08:51 AM
At the moment, the line in rc.local is exactly the best fix, but you can use a simpler version of the command that is not kernel specific:

/sbin/modprobe nvidia

will do the same module loading.

Thanks! I was having this trouble with FC3t2 for AMD64 and your fix worked like a charm. :)

jale2ice
11th October 2004, 10:31 AM
Hi there,

I know it is test but I manage to install the nvidia driver ( compile and install ok ) even if the kernel loads rivafb driver which NVDIA installer warns me about a possible conflict...

Thanks, otherwize, FC3T2 is wonderfull!!!
Bretzel

Bretzel, I'm using kernel version 2.6.8-1.603 and when I tried installing the NVIDIA Graphics driver, it says I need the kernel-source package... I've been trying to find it, but to no avail... Where the f*** is this thing? Did you have anything like that when you installed it?

I saw someone post that the kernel-source rpms are no longer needed. Someone point me to the right direction... Thanks,

jrittvo
11th October 2004, 08:45 PM
This is the "new way" to make a source tree with Fedora . . . Go to:

http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/

and get the kernel-2.6.8-1.603.src.rpm package.

Then run:

rpm -i kernel-2.6.8-1.603.src.rpm

and then run (maybe need to be root?):

rpmbuild -bp --target noarch /usr/src/redhat/SPECS/kernel-2.6.spec

and the sourcecode tree will end up in:

/usr/src/redhat/BUILD/kernel-2.6.8-1.603

You'll probably need to move the folder linux-2.6.8-1.603 from inside /usr/src/redhat/BUILD/kernel-2.6.8-1.603 to be right in /usr/src/ for the nvidia stuff to find it.

Some people are having trouble getting the nvidia module to compile or install against these new kernels. So they have been using a version you can get from here, which has a patch applied:

http://ngc891.blogdns.net/index.php?2004/09/21/3-patched-nvidia-drivers

Sometimes, nothing is easy . . .