View Single Post
Old 04-18-06, 10:03 AM   #1
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default HOWTO: Installing the nvidia X driver in Fedora Core 5

Users wishing to install the NVIDIA X driver in Fedora Core 5 will need to first ensure that their system meets the following prerequisites:

* the latest update kernel is installed and in use
* a kernel-devel RPM is installed that corresponds to the kernel that is in use
* the pkgconfig and xorg-x11-server-sdk RPMs are installed
* the SELinux environment allows the NVIDIA Linux graphics driver to work

The first three items above can be addressed with the following commands (as root):
yum install kernel-devel xorg-x11-server-sdk pkgconfig
yum update
reboot

If you are using an SMP (multi CPU/core) system, replace kernel-devel with kernel-smp-devel in the command above.

The SELinux requirement can be addressed via two mechanisms after the NVIDIA X driver has been installed:

0) If you do not wish to use SELinux enforcement, you can disable SELinux enforcement by running "setenforce 0" before starting X, or add "selinux=0" to the end of the 'kernel' line in /etc/grub.conf and reboot.

1) If you wish to use SELinux enforcement, then you will need to change the security context of the NVIDIA X driver and server-side NVIDIA GLX extension. On 32 bit (x86) installations, this can be accomplished with the following commands:

chcon -t texrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so
chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.8762

For 64 bit (x86_64) installations, please run the following commands:

chcon -t texrel_shlib_t /usr/lib64/xorg/modules/drivers/nvidia_drv.so
chcon -t texrel_shlib_t /usr/lib64/xorg/modules/extensions/libglx.so.1.0.8762
netllama is offline