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

[mirandam@charon ~]$ sudo rpm -ivh http://rpm.livna.org/livna-release-7.rpm
[mirandam@charon ~]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

Install the nvidia driver through Livna:

[mirandam@charon ~]$ 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:

[mirandam@charon ~]$ sudo rpm -ivh livna-release-7.rpm
[mirandam@charon ~]$ 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:

[mirandam@charon ~]$ 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:

[mirandam@charon 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:

[mirandam@charon ~]$ sudo /usr/bin/chcon -cv system_ubject_r:xserver_misc_device_t /etc/udev/devices/nvidia*

Top Resources 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值