Install the Nvidia graphics card driver on RHEL6

Source: Internet
Author: User
1: Download nvidia graphics card driver, download the corresponding driver file http://www.nvidia.cn/Download/index.aspx from the nvidia official website according to the graphics card model? Lang = cn 2: run the Driver Installer on the Character interface (runtime level 3). The following error occurs on RHEL6 due to the Nouveau relationship, therefore, you need to disable this module [root @ rhel6 ~] # ShNVIDIA-Linux-x86_64-275.0

1. Download the nvidia graphics card driver. Download the driver file from the nvidia Official Website Based on the video card model.
Http://www.nvidia.cn/Download/index.aspx? Lang = cn

2. Run the Driver Installer on the Character interface (runtime level 3). The following error occurs on RHEL6 because of the Nouveau relationship. Therefore, you need to disable this module.
[Root @ rhel6 ~] # Sh NVIDIA-Linux-x86_64-275.09.07.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 275.09.07 ................................ ........................................ ........................................ ....


Please read the following LICENSE and then select either "Accept" to accept the license and continue with the installation, or select "Do Not Accept" to abort the installation.

Accept Do Not Accept

ERROR: The Nouveau kernel driver is currently in use by your system. this driver is incompatible with the NVIDIA driver, and must bedisabled before proceeding. please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
 
[Root @ rhel6 ~] # Lsmod | grep nouveau
Nouveau 537914 1
Ttm 46942 1 nouveau
Drm_kms_helper 32113 1 nouveau
Drm 200778 3 nouveau, ttm, drm_kms_helper
I2c_algo_b5664 1 nouveau
Video 20966 1 nouveau
I2c_core 31274 5 i2c_nforce2, nouveau, drm_kms_helper, drm, i2c_algo_bit

Add this module to the blacklist:
[Root @ rhel6 ~] # Tail-1/etc/modprobe. d/blacklist. conf
Blacklist nouveau

Back up the original initialized memory File System
[Root @ rhel6 ~] # Mv/boot/initramfs-2.6.32-71.el6.x86_64.img/boot/initramfs-2.6.32-71.el6.x86_64.img.orig

Use the dracut command to regenerate the initramfs file and restart
[Root @ rhel6 ~] # Dracut-v/boot/initramfs-2.6.32-71.el6.x86_64.img 2.6.32-71. el6.x86 _ 64
[Root @ rhel6 ~] # Reboot

After restarting, the module is still loaded.
[Root @ rhel6 ~] # Lsmod | grep nouveau
Nouveau 537914 1
Ttm 46942 1 nouveau
Drm_kms_helper 32113 1 nouveau
Drm 200778 3 nouveau, ttm, drm_kms_helper
I2c_algo_b5664 1 nouveau
Video 20966 1 nouveau
Powernow_k8 16298 0
Freq_table 4847 2 cpufreq_ondemand, powernow_k8
I2c_core 31274 5 nouveau, drm_kms_helper, drm, i2c_algo_bit, i2c_nforce2

Add the module to the blacklist in the grub. conf file.
[Root @ rhel6 ~] # Grep-1 default/etc/grub. conf
Rdblacklist = nouveau
Default = 1
Timeout = 1
Remove the nouveau. ko Kernel Object File
[Root @ rhel6 ~] # Mv/lib/modules/2.6.32-71. el6.x86 _ 64/kernel/drivers/gpu/drm/nouveau. ko/tmp

After restarting, the module and the module are not loaded.
[Root @ rhel6 ~] # Reboot
[Root @ rhel6 ~] # Lsmod | grep no
Powernow_k8 16298 0
Freq_table 4847 2 cpufreq_ondemand, powernow_k8

Next, you can press enter on the Character interface to install the graphics card driver. But after removing the nouveau. ko file, the RHEL6 startup interface will become a progress bar and the original aperture startup will disappear!

Iii. Test

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.