原文地址:http://forums.fedoraforum.org/showthread.php?t=204752

 
Please note that I won't respond to any post's for help unless this basic information is included!


Code:
rpm -qa *\nvidia\*  *\kernel\*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf



__________________________________________________ _____________________________________

F16 Howto for the rpmfusion nvidia drivers 



Click here for supported Nvidia cards list 


This is a Four-Step Process. If you don't follow all three steps, your install will fail!



1. Update the kernel and reboot

 

Code:
su
yum update kernel\* selinux-policy\*
reboot

2. Install the nvidia driver.

For GeForce 6, 7, 8, 9, 200, 300, 400 & 500 series cards 


Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

__________________________________________________ __________________________________________________ __________
Extra step for PAE kernel only

 

Code:
su
yum install kernel-PAE-devel

__________________________________________________ __________________________________________________ ___________

 

Code:
su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i686





Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)
( if you have 4Gb of RAM or more you will probably have a PAE kernel [32bit only] so follow the PAE part )

 

Code:
su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686

If you use a PAE kernel 

 

Code:
su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-PAE




3. Make sure nouveau is removed from initramfs



 

Code:
su
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)


4. Reboot

$---F15 Nvidia driver guide

 

F15 Howto for the rpmfusion nvidia drivers 


Click here for supported Nvidia cards list 


This is a Three-Step Process. If you don't follow all three steps, your install will fail!



1. Update the kernel and reboot

Code:

su
yum update kernel*
reboot
2. Install the nvidia driver.

For GeForce 6, 7, 8, 9, 200, 300, 400 & 500 series cards 


Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

__________________________________________________ __________________________________________________ __________
Extra step for PAE kernel only

Code:

su
yum install  kernel-PAE-devel
__________________________________________________ __________________________________________________ ___________

Code:

su
rpm -Uvh  http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm   http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm   
yum install akmod-nvidia  xorg-x11-drv-nvidia-libs.i686




Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)
( if you have 4Gb of RAM or more you will probably have a PAE kernel [32bit only] so follow the PAE part )

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm    
yum install kmod-nvidia  xorg-x11-drv-nvidia-libs.i686
If you use a PAE kernel 

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm    
yum install kmod-nvidia-PAE



For GeForce FX cards


Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.


Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm   
yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686



Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm  
yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686
If you use a PAE kernel 


Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-173xx-PAE



3. Reboot

4. If you would like plymouth as well
 (optional)

Code:

su
yum install bootconf-gui
Then set you desired boot resolution from the menu launcher

Application / System / Boot configuration

There is a selinux issue that prevents gnomes-hell from starting  (I hate it )



https://bugzilla.redhat.com/show_bug.cgi?id=694918

run

Code:

su
grep gnome-session-c /var/log/audit/audit.log | audit2allow -M nvidiaisbroken
semodule -i nvidiaisbroken.pp

__________________________________________________ __________________________________________________ _
If it fails to work check /boot/grub/grub.conf to see if nouveau is blacklisted, if not run.

1. Edit grub.conf 


this command adds rdblacklist=nouveau option to /boot/grub/grub.conf 



Code:

su -
sed -i '/root=/s|$| rdblacklist=nouveau nouveau.modeset=0|' /boot/grub/grub.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
2. Reboot



__________________________________________________ __________________________________________________ ______

If nouveau refuses to die try
Code:

su
yum erase xorg-x11-drv-nouveau
mv  /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko        /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.txt
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
 
F14 Nvidia driver guide
F14 Howto for the rpmfusion nvidia drivers 


Click here for supported Nvidia cards list 


This is a Three-Step Process. If you don't follow all three steps, your install will fail!



1. Update the kernel and reboot

Code:

su
yum update kernel*
reboot
2. Install the nvidia driver. ( if you have 4Gb of RAM or more you will probably have a PAE kernel [32bit only] so follow the PAE part )

For GeForce 6, 7, 8, 9, 200, 300, 400 & 500 series cards 


Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia  xorg-x11-drv-nvidia-libs.i686




Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia  xorg-x11-drv-nvidia-libs.i686
If you use a PAE kernel 

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install  kmod-nvidia-PAE




For GeForce FX cards



Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686



Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686
If you use a PAE kernel 


Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-173xx-PAE


For GeForce 4 and below 

Using akmod: This is the best option in my opinion as you don't get any problems when a new kernel is released.

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia-96xx xorg-x11-drv-nvidia-96xx-libs.i686




Or using kmod (which saves a bit of disk space but will have problems with every kernel update.)

Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-96xx xorg-x11-drv-nvidia-96xx-libs.i686
If you use a PAE kernel 


Code:

su
rpm -Uvh   http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm     http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-96xx-PAE
3. Reboot

4. If you would like plymouth as well


Code:

su
yum install bootconf-gui
Then set you desired boot resolution from the menu launcher

Application / System / Boot configuration


__________________________________________________ __________________________________________________ _________________________

If it fails to work check /boot/grub/grub.conf to see if nouveau is blacklisted, if not run.

1. Edit grub.conf 


this command adds rdblacklist=nouveau option to /boot/grub/grub.conf 



Code:

su -
sed -i '/root=/s|$| rdblacklist=nouveau nouveau.modeset=0|' /boot/grub/grub.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname   -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
2. Reboot