CentOs6.5关闭独显的方法
这次一定要把步骤给记下来,每次重装系统,为了关闭独显花费了大量时间
操作系统:CentOs 6.5 32位
显卡型号:
集显: Intel Corporation 3rd Gen Core processor Graphics Controller
独显: NVIDIA Corporation GF108M [GeForce GT 630M]
这里主要是关闭独显,只用集显,解决发热严重的问题。
首先解决各种依赖
yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
yum install kmod-r8168
yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia
到这里先下载两个文件
1) libturbojpeg-1.2.1-3.i586.rpm
2) libfltk1.1-1.1.9-1pclos2007.i586.rpm
下载完成后
rpm -ivh **** 安装这两个包
接着执行命令:
yum install kmod-nvidia
yum install nvidia-x11-drv
yum install kmod-bbswitch
yum install VirtualGL
yum install bumblebee
全部安装好后,重启即可
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff)
rev ff 即表示成功关闭,发热严重问题得到解决
下一篇:CentOS如何从命令行获取公网IP