Install Nvidia Driver

24 October 2006

Fedora recommends users install a 3rd-party RPM packaged driver instead of using the installer from Nvidia’s website. Currently Livna provides a well packaged driver.
NOTE: For users who upgraded from FC5 please read the known bugs and problems.
For yum only:
First, setup Livna Repository
[mirandam@charon ~]$ sudo rpm -ivh http://rpm.livna.org/livna-release-6.rpm

[mirandam@charon ~]$ sudo rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
Install the nvidia driver through Livna:
[mirandam@charon ~]$ sudo yum install kmod-nvidia
If you see the following message, then please read the note below:
Error:  Editing failed, restoring backup
If a kernel update is installed at the same time, then a reboot will be required. If not, then simply log out completely of Gnome or KDE and the Nvidia driver should load. The Nvidia logo will flash quickly once.
For users without yum
Download the GPG Key and run:
[mirandam@charon ~]$ sudo rpm --import RPM-LIVNA-GPG-KEY
Navigate to http://rpm.livna.org/fedora/6/ and select your architecture: i386, x86_64 or ppc. You will need 2 components: xorg driver and nvidia kernel module.
For xorg driver, select the one matching the latest Nvidia driver (1.0.8776). For example:
xorg-x11-drv-nvidia-1.0.8776-2.lvn6.i386.rpm.
For nvidia kernel driver you MUST MATCH YOUR KERNEL. Use the uname command for the proper match. For example:
[mirandam@charon ~]$ uname -rm
2.6.18-1.2798.fc6 i686
Selected: kmod-nvidia-1.0.8776-1.2.6.18_1.2798.fc6.i686.rpm
Install both files at the same time:
[mirandam@charon downloads]$ sudo rpm -ivh kmod-nvidia-1.0.8776-1.2.6.18_1.2798.fc6.i686.rpm \
xorg-x11-drv-nvidia-1.0.8776-2.lvn6.i386.rpm

Preparing...                ########################################### [100%]
   1:kmod-nvidia            ########################################### [ 50%]
   2:xorg-x11-drv-nvidia    ########################################### [100%]

Error:  Editing failed, restoring backup    ----- see NOTE below
If you had a previous version of these files before, remove them first with rpm -e.
If you cannot find a perfect match you may will have to update to a kernel that matches from FC6 Updates.
Potential Problems
If after installing you see the following error:
Error: Editing failed, restoring backup
then edit the file /etc/X11/xorg.conf
[mirandam@charon ~]$ sudo gedit /etc/X11/xorg.conf
Add the following lines to the END of the file:
Section "Files"
        ModulePath "/usr/lib/xorg/modules/extensions/nvidia,/usr/lib/xorg/modules"
EndSection

Section "Module"
EndSection
NOTE: 64-bit users: please use the following line instead:
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia,/usr/lib64/xorg/modules"
Re-enable the nvidia driver:
[mirandam@charon ~]$ sudo /usr/sbin/nvidia-config-display enable
Once done, logging out of KDE/Gnome and logging back in should initialize the driver. If not, try rebooting.
More information regarding this problem, can be found on the Livna wiki: http://rpm.livna.org/rlowiki/Packages/xorg-x11-drv-nvidia.
Top Resources

0 Response to "Install Nvidia Driver"

Posting Komentar