|
楼主 |
发表于 2008-12-13 12:37:08
|
显示全部楼层
问题原因和解决方法:
来自:http://www.mjmwired.net/resources/mjm-fedora-f9.html#nvidia
------------------------------------------------------------------------------
Install Nvidia Driver
19 November 2008
Fedora recommends users install a 3rd-party RPM packaged driver instead of using the installer from Nvidia's website. Currently RPMFusion provides a well packaged driver with some extra utilities, installable via yum.
First, setup RPMFusion Repositories
[mirandam@charon ~]$ sudo rpm -ivh http://download1.rpmfusion.org/f ... e-stable.noarch.rpm \
http://download1.rpmfusion.org/n ... e-stable.noarch.rpm
[mirandam@charon ~]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-*
Install the nvidia driver through RPMFusion:
[mirandam@charon ~]$ sudo yum install kmod-nvidia
If a kernel update is installed at the same time (most likely), 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.
Matching kernel And kmod-nvidia Versions
In order for the kmod-nvidia driver package to install properly through yum it must find a matching version of the kernel. Usually this will be the latest version of the kernel. Since the driver comes from an RPMFusion mirror and the kernel comes from a Fedora mirror, it is quite possible the mirrors may be out of sync or one version of a package (kernel or kmod-nvidia) is newer that the other. For example the kernel is 2.6.27.5-37.fc9.i686 and the driver is: 2.6.27.5-41.fc9.i686
--> Finished Dependency Resolution
kmod-nvidia-2.6.27.5-41.fc9.i686-173.14.15-1.fc9.6.i686 from rpmfusion-nonfree-updates has depsolving problems
--gt; Missing Dependency: kernel-uname-r = 2.6.27.5-41.fc9.i686 is needed by package kmod-nvidia-2.6.27.5-41.fc9.i686-173.14.15-1.fc9.6.i686 (rpmfusion-nonfree-updates)
[mirandam@charon ~]$ uname -r
2.6.27.5-37.fc9.i686
In this scenario is it is helpful to use the AKMOD system in RPMFusion. This will try to recompile the proper driver in order to match the available kernels. This helps when the mirrors are out of sync, or RPMFusion has problems updating their drivers, or if you tweak/custom build your kernel. In most situations the 'kmod' created by the AKMOD system will be the same as the one that is (or should be) on the yum mirror. (The only requirement is you have the Software Development packages installed, which is default on a DVD install.)
To use the AKMOD for Nvidia:
[mirandam@charon ~]$ sudo yum install akmod-nvidia
Note: At least 1 reboot is required, for an example see the post: Fedora 9 Nvidia Update. |
|