centos 6.0安装NVIDIA显卡驱动问题

遇到Nouveau kernel driver is in used by system错误到解决方法 装显卡驱动请在字符界面下安装
1) Blacklist the nouveau driver: Add below line to /etc/modprobe.d/blacklist.conf file
blacklist nouveau
2) Rebuild the initramfs image file using dracut:
* Backup the initramfs file
$ sudo mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
* Rebuild the initramfs file
$ sudo dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
3) Reboot the system to runlevel 3 (without graphics)
4) Check that nouveau driver is not loaded
$ lsmod | grep nouveau
5) Run the NVidia driver package
$ sudo ./NVIDIA-Linux-x86_64-195.36.15-pkg2.run
Above command will create xorg.conf file in /etc/X11 directory which is responsible to use NVidia driver in X.
6) Restart the system and NVidia driver will be used now.


Note 1: If nouveau driver is loaded in step 4, then follow any of the below step to prevent the loading of the driver
** Add below line to kernel parameter in grub while rebooting the system
rdblacklist=nouveau
** Rename the nouveau driver file
$ sudo mv /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nouveau/nouveau.ko.txt


Note 2: If a kernel update is installed then rerun the NVidia package again to rebuild the NVidia driver module against the new kernel.

你可能感兴趣的:(Linux)