概述
首先,去Nvidia官网下载相应的显卡驱动,注意语言选择英文,中文的下载不下来。
http://www.nvidia.cn/Download/index.aspx?lang=cn (使用wget下载,为了加快下载速度可以使用axel进行下载)
之后,怎么安装呢?
1.安装gcc,(显卡驱动安装时需要)2.禁用The Nouveau kernel driver,参考http://enetq.blog.51cto.com/479739/591622
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"保存并重启就可以了。
最后
以上就是腼腆吐司为你收集整理的Linux-CentOS安装N卡驱动以及解决屏幕亮度不可调问题的全部内容,希望文章能够帮你解决Linux-CentOS安装N卡驱动以及解决屏幕亮度不可调问题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复