引導期間無法啟動dGPU關閉


3

我收到此消息"在啟動過程中無法關閉dGPU"。在我的日誌系統中(Ubuntu 18.04)。該錯誤導致我的獨立GPU(Nvidia 940mx)仍然可以運行,儘管我已切換到集成GPU(Intel HD 620)。因此,電池消耗更快。

我嘗試使用找出有關此錯誤的詳細信息,

systemctl status nvidia-prime-boot.service

結果是:

 nvidia-prime-boot.service - dGPU off during boot
   Loaded: loaded (/lib/systemd/system/nvidia-prime-boot.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-07-10 23:42:25 WIB; 27min ago
  Process: 996 ExecStart=/bin/sh -c echo OFF > /sys/kernel/debug/vgaswitcheroo/switch (code=exited, status=2)
 Main PID: 996 (code=exited, status=2)

Jul 10 23:42:28 kharismaPC sh[996]: /bin/sh: 1: cannot create /sys/kernel/debug/vgaswitcheroo/switch: Directory nonexistent
Jul 10 23:42:25 kharismaPC systemd[1]: Starting dGPU off during boot...
Jul 10 23:42:25 kharismaPC systemd[1]: nvidia-prime-boot.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 10 23:42:25 kharismaPC systemd[1]: nvidia-prime-boot.service: Failed with result 'exit-code'. 
Jul 10 23:42:25 kharismaPC systemd[1]: Failed to start dGPU off during boot. 

vgaswitcheroo

有問題

請告訴我如何解決此問題

系統信息:

  • Ubuntu 18.04
  • Nvidia專有驅動程序390
0

I have the same problem and I found that secure boot affect state of vgasetcheroo lock down it:

switcheroo control bug with secureboot

Although the battery consume is the same in powertop tool,try disabling secure boot maybe work for you.