歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> CentOS安裝N卡驅動以及解決屏幕亮度不可調問題

CentOS安裝N卡驅動以及解決屏幕亮度不可調問題

日期:2017/3/1 16:20:15   编辑:關於Linux
CentOS安裝N卡驅動以及解決屏幕亮度不可調問題 首先,去Nvidia官網下載相應的顯卡驅動,注意語言選擇英文,中文的下載不下來。 http://www.nvidia.cn/Download/index.aspx?lang=cn (使用wget下載,為了加快下載速度可以使用axel進行下載) 之後,怎麼安裝呢? 1.安裝gcc,(顯卡驅動安裝時需要) 2.禁用The Nouveau kernel driver,參考http://www.2cto.com/os/201306/222161.html 3.安裝kernel-devel包 linux系統,未安裝該包時會提示: error:unable to find the kernel source tree for the currently running kernel. please make sure you have installed the kernel source files for your kernel and that htey are properly configured; on red hat linux system, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. if you know the correct kernel source files are installed ,you may specify the kernel source path with the '--kernel-source-path' command line option. 安裝kernel-devel包:yum install kernel-devel-內核版本號,(內核版本號通過uname -r查看),然後在安裝顯卡驅動時指定路徑:./Nvidia*.sh –kernel-source-path=/usr/src/kernels/內核版本 屏幕亮度不可調的解決方法: 目前安裝了最新的N卡驅動後,出現屏幕亮度不能調節的問題,解決辦法:修改/etc/X11/xorg.con文件,找Section "Device",然後在相應的EndSection之前添加一行Option "RegistryDwords" "EnableBrightnessControl=1"保存並重啟就可以了。
Copyright © Linux教程網 All Rights Reserved