我意识到这个问题已经被问了很多次了,但是我觉得我已经尝试了一切但仍然陷入困境。
我有一台配备专用 NVIDIA gpu 的笔记本电脑,运行的是 Ubuntu 16.04。我听说 nvidia-prime 效果不太好,老实说,在 Ubuntu 下我完全可以不用 nvidia 卡。我的问题是 - 我无法停用它,所以它不会消耗我所有的电量。
lspci:
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
03:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
04:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
猫/系统/总线/pci/设备/0000:01:00.0/电源/控制
on
由于这个原因 - 以及我的笔记本电脑比平时消耗更多的能量(大量的能量) - 我确信该卡正在运行并消耗我的电量。
我已卸载所有 nvidia 驱动程序,并在 grub 中停用了 noveau 驱动程序,glxinfo 说
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
我尝试了该程序https://github.com/marcoDallas/acpi_call_GUI,但它只会产生段错误。
有人对下一步该如何进行有什么建议吗?
提前致谢。
答案1
我遇到了类似的情况,今天我终于解决了,本指南。
我没有删除 nouveau(步骤 3),因为我认为没有必要。我还跳过了禁用 gpu-manager(步骤 9)。
我安装了 364 驱动程序,因此我将其添加到/etc/modprobe.d/bumblebee.conf
:
blacklist nvidia-364
blacklist nvidia-364-updates
blacklist nvidia-experimental-364
我还改变了这一行:
remove nvidia rmmod nvidia-uvm nvidia
对此:
remove nvidia rmmod nvidia-uvm nvidia-drm nvidia-modeset nvidia
我这样做是因为我的笔记本电脑nvidia-drm
阻止我移除nvidia-modeset
,这阻止我移除nvidia
模块,这阻止 bbswitch 关闭卡。我不确定这是否是最好的解决方案(可能不是),但到目前为止对我来说很有效。
我也/etc/bumblebee/bumblebee.conf
相应改为364。
如果成功,cat /proc/acpi/bbswitch
应该返回0000:01:00.0 OFF
希望这可以帮助。