天天看點

How to install Nvidia Driver for Fedora 7

From:http://www.linuxsir.org/bbs/showthread.php?t=304466

Install Nvidia Driver

31 May 2007

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.

For yum only:

First, setup Livna Repository

[[email protected] ~]$ sudo rpm -ivh http://rpm.livna.org/livna-release-7.rpm

[[email protected] ~]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

Install the nvidia driver through Livna:

[[email protected] ~]$ sudo yum install kmod-nvidia

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 http://rpm.livna.org/livna-release-7.rpm RPM and run:

[[email protected] ~]$ sudo rpm -ivh livna-release-7.rpm

[[email protected] ~]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

Navigate to http://rpm.livna.org/fedora/7/ and select your architecture: i386, x86_64 or ppc. You will need 3 components: xorg driver, nvidia kernel module and a livna display configuration utility.

For xorg driver, select the one matching the latest Nvidia driver (1.0.9755). For example:

xorg-x11-drv-nvidia-1.0.9755-2.lvn7.i386.rpm.

For nvidia kernel driver you MUST MATCH YOUR KERNEL. Use the uname command for the proper match. For example:

[[email protected] ~]$ uname -rm

2.6.21-1.3194.fc7 i686

Selected: kmod-nvidia-1.0.9755-3.2.6.21_1.3194.fc7.i686.rpm

The display configuration utility should be named livna-config-display (example: livna-config-display-0.0.11-1.lvn7.noarch.rpm).

Install all files at the same time:

[[email protected] downloads]$ sudo rpm -ivh kmod-nvidia-1.0.9755-3.2.6.21_1.3194.fc7.i686.rpm /

xorg-x11-drv-nvidia-1.0.9755-2.lvn7.i386.rpm /

livna-config-display-0.0.11-1.lvn7.noarch.rpm

Preparing... ########################################### [100%]

1:livna-config-display ########################################### [ 33%]

2:kmod-nvidia ########################################### [ 67%]

3:xorg-x11-drv-nvidia ########################################### [100%]

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 Fedora 7 Updates.

NOTE: SELinux Problems SELinux seems to prevent the Nvidia Driver from properly loading after a reboot. I am uncertain of the correct fix. The following is a TEMPORARY fix until the correct solution is presented:

[[email protected] ~]$ sudo /usr/bin/chcon -cv system_u

How to install Nvidia Driver for Fedora 7

bject_r:xserver_misc_device_t /etc/udev/devices/nvidia*

Top Resources