|
|
发表于 2006-11-19 10:32:30
|
显示全部楼层
刚才在nvidia找到这个,共同交流一下:
Installing NVIDIA Linux graphics drivers on recent distributions (FC, Ubuntu, etc)
--------------------------------------------------------------------------------
Fedora Core 5/6
If you wish to install the NVIDIA Linux graphics driver on a Fedora Core 5/6 system, please ensure that your system meets the following requirements:
* 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
* Xen kernels are not currently supported
* the SELinux environment allows the NVIDIA Linux graphics driver to work (only for drivers older than 1.0-9629 and 1.0-7184 (legacy), respectively)
The first three items above can be addressed with the following commands (they need to be run as root):
# yum install kernel-devel xorg-x11-server-sdk pkgconfig
# yum update
# reboot
If you are using an SMP (multi-CPU and/or multi-core) enabled system in FC5(only), please replace kernel-devel with kernel-smp-devel in the command above.
The SELinux requirement can be addressed via two mechanisms after the NVIDIA Linux graphics driver has been installed:
1) If you do not wish to use SELinux enforcement, you can disable it by running the `setenforce 0` command before starting X, or by adding selinux=0 to the end of the kernel line in /etc/grub.conf and rebooting.
2) If you wish to use SELinux enforcement, you will need to change the security context of the NVIDIA X driver module and of the server-side NVIDIA GLX extension module. To achieve this, please run the commands listed for your platform below:
Linux/x86 (32-bit):
# 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.9629
# chcon -t texrel_shlib_t /usr/lib/tls/libnvidia-tls.so.1
# chcon -t texrel_shlib_t /usr/lib/libGLcore.so.1.0.9629
Linux/x86-64 (64-bit):
# 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.9629
# chcon -t texrel_shlib_t /usr/lib64/libGLcore.so.1.0.9629
# chcon -t texrel_shlib_t /usr/lib64/tls/libnvidia-tls.so.1
Debian GNU/Linux or Ubuntu with Xorg 7.x
If you wish to install the NVIDIA Linux graphics driver on a Debian GNU/Linux or Ubuntu system that ships with Xorg 7.x, please ensure that your system meets the following requirements:
* development tools like make and gcc are installed
* the linux-headers package matching the installed Linux kernel is installed
* the pkg-config and xserver-xorg-dev packages are installed
* the nvidia-glx package has been uninstalled with the --purge option and the file /etc/init.d/nvidia-glx does not exist.
If you use Ubuntu, please also ensure that the linux-restricted-modules packages have been uninstalled. Alternatively, you can edit the /etc/default/linux-restricted-modules configuration file and disable the NVIDIA linux-restricted kernel modules (nvidia, nvidia_legacy) via:
DISABLED_MODULES="nv" |
|