PDA

View Full Version : Nvidia driver has to be rebuilt every time I reboot!



mattywix
30th July 2008, 09:11 AM
Hi
Every time I reboot I have to re-run the nvidia driver build.
The build works fine and the driver works fine...until I reboot.
How can I stop this happening - why is the module not working after a reboot.
I'm on Fedora 9, using driver NVIDIA-Linux-x86-173.14.09.
Card is Nvidia Geforce 6150LE./Nvidia Quadro NVS 2105

I would guess the problem is down to how the module is being loaded.

JohnVV
30th July 2008, 09:55 AM
so you are installing the Nvidia driver from nvidia that over wrights some fedora system files
and not the recommended .rpm from livna
http://www.mjmwired.net/resources/mjm-fedora-f9.html
http://www.mjmwired.net/resources/mjm-fedora-f9.html#nvidia


su -
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
yum install kmod-nvidia
------------
also the nvidia.run file will need to be rebuilt on ALL kernel and xorg updates
and how are you building the *.run file
like this : download it and save to /


su -
( your root password when asked )
telinit 3
-- x shuts down and re-login as root --
cd /
sh *.run
-- fallow the on screen instructions to install the nvidia blob driver --

Hlingler
30th July 2008, 10:20 AM
And if you do decide to install the Livna RPMs (which are the exact same driver, except sanely and cleanly packaged especially for Fedora OSs), don't forget to UN-INSTALL the "blob" first:
[sudo] sh NVIDIA-X.Y.Z*.run --uninstall

V

mattywix
31st July 2008, 11:11 AM
Well the nvidia rpms from livna stuffed up my system.
They had a pre-req for what looks like an older kernel - so that installed, only it wasnt PAE which my current kernel is. So i had to remove it and get the PAE version and copy the nivida.ko across.
Well that livna driver doesnt work AT ALL!
Worse still I coudlnt change back to vesa since the livna thing keeps overwriting my xorg.conf!!!

So what does "except sanely and cleanly packaged especially for Fedora OSs" mean ?
How can I get the REAL Nvidia driver to work on reboot. I dont want to go with this botched livna thing!

Seve
31st July 2008, 11:19 AM
Hello:

First off the livna package is not botched :)

If you are running a PAE-kernel then have a look at using the package(s) from freshrpms, which are not kernel specific.
http://sulphur.freshrpms.net/rpm.html?id=439
To install the repository follow the instructions here. http://freshrpms.net/ i.e. click here
Just make sure that going forward you do not have both livna and freshrpms enabled at the same time, as they are not 100 % compatible.

Seve

brebs
31st July 2008, 11:26 AM
Use script (http://www.fedoraforum.org/forum/showthread.php?p=1047697#post1047697). Simple.

Hlingler
31st July 2008, 11:27 AM
It is far from clear what you actually did here, or if you followed the correct steps. Perhaps you haven't consulted any guides to do so?

You cannot copy kernel modules between different flavors of kernels - they won't work. And even if the correct version, you would have to register them with: depmod -a `uname -r`

You can prevent livna-config-display from editing xorg.conf by opening the GUI and un-checking the box that allows it to do so.

If you want the binary driver back, then erase the livna packages, and re-install the binary driver. And live with re-running the driver build on every reboot.

Good Luck,
V

mattywix
1st August 2008, 09:43 AM
Here it is:
The nvidia driver works on my pc.
The livna one doesnt.
Therefore I would prefer to go with the one that works.

My problem is simply that on reboot the driver isnt loading. THis is down to some detail of configuration or install and not related to the kernel version becuase the module can be manually run and works on my kernel.

I'm not downloading a bunch of rpms from all over the web. I want to solve the problem in hand.
I want to know what is causing it. I dont want a bunch of dodgy shoot in the dark rpms.

If the brakes on my car dont work I fix them..I dont get a whole new car to solve the problem!!!
With livna I have to change kernel, install a whole heap of rpms etc... its just not well engineered!

JN4OldSchool
1st August 2008, 02:34 PM
You should use the Livna driver, works just fine with PAE kernel on my box. ;)

JohnVV
1st August 2008, 09:18 PM
or run xp , no driver problem or vista , big/somewhat driver problem .

Nokia
1st August 2008, 11:11 PM
@mattywix

This was posted by Leigh somewhere in a thread that I cannot find right now
The livna driver has changed in F9 !
Livna no longer supplies a kmod package compiled against the kernel ( kmod-nvidia is just a meta package now ) , the system has changed to "akmod" ( this is similar to the dkms system ) , the kmod package is built on boot up .

You can also build the kmod package without rebooting with this command

Code:

akmods --kernels `uname -r`

So to install the Nvidia driver in F9

Code:

su -

rpm -Uhv http://rpm.livna.org/livna-release-9.rpm

yum --enablerepo=livna-testing install xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs akmod-nvidia

akmods --kernels `uname -r`

nvidia-config-display enable

service nvidia restart

Therefore I don't think the instructions in post #2 were appropriate for you.