Note: This howto has been transferred to my blog here. (Instructions for Fedora 7+ can be found here)
First, I'd like to link to this article. The instructions below will make sure your system's normal libGL isn't replaced with the nVidia ones, preventing problems.
Important Reminders
- Reboot when you're done installing or updating a driver.
- Don't worry if yum cannot find the xorg-x11-drv-nvidia-libs-32bit package, it is only going to be installed for 64bit users.
- Please see the bottom of the page if you are troubles with getting an image to display properly on your screen.
- nVidia drivers supporting AIGLX or the desktop-effects (versions 1.0-9625 and greater) Are in the Livna repos - Meaning you can have your nVidia card work with AIGLX or Xgl! For FC6 both nvidia and nvidia-96xx support this, if you use FC5 please switch to the nvidia-96xx drivers to have AIGLX support.
- Don't worry about the kmod-nvidia-smp modules anymore if you use FC6 & up - All kernels for FC6 & up are now SMP-capable.
- For a configuration tool that allows you to switch between various configurations including AIGLX and Xgl, try livna-config-display:
It still is in beta, so if there's problems please report them to freeworld-graphics@livna.org. Thanks!Code:yum install livna-config-display
A note on legacy drivers
Please note any card below the GeForce FX series is no longer supported by the mainstream nvidia drivers.
If you have a Riva or TNT card, you are going to have to use the nvidia-legacy drivers. Simply follow the instructions like normal but replace:
- kmod-nvidia with kmod-nvidia-legacy
- xorg-x11-drv-nvidia with xorg-x11-drv-nvidia-legacy
- xorg-x11-drv-nvidia-libs-32bit with xorg-x11-drv-nvidia-legacy-libs-32bit
- service nvidia [action] with service nvidia-legacy [action]
A full product support list for legacy is available here.
If you are using a GeForce2, 3 or 4 (including MX), a you are going to have to use the nvidia-96xx drivers.
Simply follow the instructions like normal but replace:
- kmod-nvidia with kmod-nvidia-96xx
- xorg-x11-drv-nvidia with xorg-x11-drv-nvidia-96xx
- xorg-x11-drv-nvidia-libs-32bit with xorg-x11-drv-nvidia-96xx-libs-32bit
- service nvidia [action] with service nvidia-96xx [action]
A full product support list for 96xx is available here.
Rawhide (Fedora development)
Not officially supported, however it is very easy to build your own RPMs. Simply download the source RPMs for nvidia-kmod and xorg-x11-drv-nvidia here:
http://rpm.livna.org/fedora/development/SRPMS
and then see my RPM (re)building howto for how to rebuild these for the kernel version you have installed.
Alternatively, visit diffingo-repo where I upload binary kmods for about every 4th development kernel release. Just download your xorg-x11-drv-nvidia package manually from the livna server and then download the kmod, install them withFedora Core 6:Code:su -c 'rpm -Uhv xorg-x11-drv-nvidia* kmod-nvidia*'
If you see errors like this:Code:su - rpm -Uhv http://rpm.livna.org/livna-release-6.rpm yum install kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs-32bit yum update kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs-32bit service nvidia restartPlease see this post:Transaction Check Error: package kernel-2.6.19-1.2911.6.5.fc6 is already installed
file /boot/System.map-2.6.19-1.2911.6.5.fc6 from install of kernel-2.6.19-1.2911.6.5.fc6 conflicts with file from package kernel-2.6.19-1.2911.6.5.fc6
file /boot/config-2.6.19-1.2911.6.5.fc6 from install of kernel-2.6.19-1.2911.6.5.fc6 conflicts with file from package kernel-2.6.19-1.2911.6.5.fc6
file /boot/symvers-2.6.19-1.2911.6.5.fc6.gz from install of kernel-2.6.19-1.2911.6.5.fc6 conflicts with file from package kernel-2.6.19-1.2911.6.5.fc6
file /boot/vmlinuz-2.6.19-1.2911.6.5.fc6 from install of kernel-2.6.19-1.2911.6.5.fc6 conflicts with file from package kernel-2.6.19-1.2911.6.5.fc6
http://www.fedoraforum.org/forum/sho...d.php?t=134287
Fedora Core 5:
Fedora Core 4:Code:su - rpm -Uhv http://rpm.livna.org/livna-release5.rpm yum install kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs-32bit yum update kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs-32bit setsebool -P allow_execstack=1 setsebool -P allow_execmod=1 service nvidia-glx restart
** No longer maintained at Livna
If you're having trouble...Code:su - rpm -Uhv http://rpm.livna.org/livna-release4.rpm yum update kernel yum install kmod-nvidia xorg-x11-drv-nvidia kernel-module-nvidia yum update kmod-nvidia xorg-x11-drv-nvidia kernel-module-nvidia service nvidia-glx restart
As roundboy pointed out to me, if things aren't going well, then...
...try using the second analog or DVI connector on your nVidia card if it has two.Originally Posted by roundboy
Enjoy!
Firewing1