View Single Post
  #1  
Old 2008-11-21, 04:06 PM CST
leigh123linux's Avatar
leigh123linux Offline
Administrator
 
Join Date: Oct 2006
Location: Hampshire UK
Posts: 16,644
F12,F11 & F10 Nvidia driver guides

F12 Howto for the rpmfusion nvidia drivers


Unsuported

RIVA TNT
RIVA TNT2/TNT2 Pro
RIVA TNT2 Ultra
Vanta/Vanta LT
RIVA TNT2 Model 64/Model 64 Pro
Aladdin TNT2
GeForce 256
GeForce DDR
Quadro
GeForce2 GTS/GeForce2 Pro
GeForce2 Ti
GeForce2 Ultra
Quadro2 Pro

Click here for supported Nvidia cards list




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



1. 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 series cards

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
Or (akmod builds the required kmod on bootup )

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


For GeForce FX cards


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
Or (akmod builds the required kmod on bootup )

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


For GeForce 4 and below


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
Or (akmod builds the required kmod on bootup )

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
2. Edit grub.conf ( if you omit this step the driver will fail to work )


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

Code:
su -
sed -i '/root=/s|$| rdblacklist=nouveau|' /boot/grub/grub.conf
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
( If you have A PAE kernel add vmalloc=256m as well )

this command adds vmalloc=256m option to /boot/grub/grub.conf


Code:
su -
sed -i '/root=/s|$| vmalloc=256m|' /boot/grub/grub.conf
3. Before using the driver, you need to enable allow_execstack so SElinux doesn't prevent the driver loading.
Code:
su
setsebool -P allow_execstack on
4. 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)

Last edited by leigh123linux; 2009-06-09 at 09:30 AM CDT.
Reply With Quote