ubuntu关闭核心显卡

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu关闭核心显卡相关的知识,希望对你有一定的参考价值。

笔记本装ubuntu后你会发现耗电和发热会非常严重,如果使用电池的话续航时间会非常的短几乎是windows系统下的一半时间,这是ubuntu系统电源管理的不足,但是使用linux系统就要发挥折腾的精神,于是本人查找了相关资料和别人的方法,下面做个总结,我尽可能写的详细和明白。
第一,关闭独立显卡(只讲N卡),并进行集成显卡设置及亮度调节,独立显卡发热和耗电都很严重。
1.安装bumblebee
1)打开终端(别说这个你不会),依次执行下面的代码即可完成安装:
代码:
sudo add-apt-repository ppa:bumblebee/stable sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia sudo reboot
最后一步是重启(应该知道的吧)
2)然后执行代码
lspci | grep VGA
注意,下面列出了Intel集显和NVIDIA独显的工作情况,NVIDIA显卡信息后面有个“rev ff”,表示独显已经关闭。
再输入:
sudo optirun glxgears
这是会跳出一个名为“glxgears”,显示3D齿轮画面的窗口,不要关闭窗口。
打开另一个终端,输入:
lspci |grep -i vga
下面又列出Intel集显和NVIDIA独显的工作情况,NVIDIA显卡信息后面显示“rev+数字”的形式,表示独显已经开启,正在工作。
然后,把那个名为“glxgears”,显示3D齿轮画面的窗口关掉,再输入:
lspci | grep -i vga
下面又列出Intel集显和NVIDIA独显的工作情况,NVIDIA显卡信息后面又变回“rev ff”的形式了,表示独显已经关闭了。
参考技术A 先卸载之前驱动,然后再启用集显,关闭独显。
笔记本使用Ubuntu散热量很大,于是想禁掉独显,机器是双显卡,独显是ATI5650,在Bios只有两种选择,要么只用独显,要么使用显卡可切换模式。似乎Ubuntu 10.10已经支持显卡可切换模式。选择可切换模式。

ubuntu 显卡驱动

显示卡 NVIDIA GeForce 8400M GS
下了驱动 NVIDIA-Linux-x86-169.07-pkg1.run
进入字符控制台 CTRL+ALT+F1
关闭X-server sudo /etc/init.d/gdm stop
安装驱动 sudo NVIDIA-Linux-x86-169.07-pkg1.run
出现1
NO procompiled kernel interface was found to match your kernel would you like the installer to attempt to download a kernel interface for your kernel from the nvidia ftp site

回答 YES

出现2
No matcking precompiled kernel interface was found on the NVIDIA ftp site ; this means that the installer will need to compile a kernel interface for your kernel

回答YES

出现3
Installation has failed please see the file '/var/log/nvidia-installer.log' for detials you many find suggestions on fixing installation problems in the README available on the linux driver download page at www.nvdia.com

回答YES

出现4
you do not appear to have libc header files installef on your system. please install you distribution's libc development package
望高手指点啊、!
被弄得好烦啊!!!
等待中!!!!

你的显卡是Mobile的8400M,如果驱动是正确的话, 在第一步提示去FTP下载内核编译模块时选No 参考技术A 8400GS不要下载官网的.run
直接用apt-get升级就可以了
怎么这么多人都不知道用baidu、google的搜索,偏偏来这里问

以上是关于ubuntu关闭核心显卡的主要内容,如果未能解决你的问题,请参考以下文章

一个很老的本子安装Ubuntu12.10但是安装完成登录后马上显示compiz意外关闭应该是显卡太小不支持3D怎么关

ubuntu20待机关闭风扇

ubuntu 显卡驱动

Ubuntu server 20.04 关闭图形界面

ubuntu 怎么查看显卡型号及安装显卡驱动?

ubuntu18.04安装nvidia驱动,3种方式图文详解+卸载教程