为什么独立显卡关闭后我的电脑会崩溃?

为什么独立显卡关闭后我的电脑会崩溃?

我在 MSI Destroyer 笔记本电脑上默认安装 Ubuntu 16.04 时遇到了过热问题(请参见sudo lspci -v底部输出的相关部分)。经过一番搜索,我得出结论,不知何故,所有显示内容都通过我的专用显卡而不是集成显卡。

根据一些说明,我最终在 /etc/default/grub 中使用了此行(update-grub之后我运行了):

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.modeset=1 radeon.dpm=1 radeon.runpm=0"

过热问题或多或少得到了解决,但我尝试按照以下方法完全关闭专用卡操作说明

我已经运行了以下一系列命令:

sudo su
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

sudo su是因为使用 sudo 运行命令时出现错误bash: /sys/kernel/debug/vgaswitcheroo/switch: Permission denied

我注意到的第一件事是关闭专用卡需要多长时间,因此我dmesg以防万一运行了一下,然后出现了这两个奇怪的错误:

[drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
[drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing CD12 (len 62, WS 0, PS 0) @ 0xCD2E

每 5 秒重复一次。关闭卡的命令完成后,发生了两件事。首先,笔记本电脑变得更冷(显然关闭卡比 grub 配置更有效),其次,几秒钟后,Ubuntu 毫无原因地冻结了。

可能出了什么问题?这是显卡驱动程序中的错误吗?我应该向某个地方报告吗?

以防万一我添加sudo lspci -v与显卡相关的输出:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Radeon R9 M290X
Physical Slot: 0
Flags: bus master, fast devsel, latency 0, IRQ 37
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fea00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at fea40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [270] #19
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] #13
Capabilities: [2d0] #1b
Kernel driver in use: radeon
Kernel modules: radeon

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Richland [Radeon HD 8650G]
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at c0000000 (32-bit, prefetchable) [size=256M]
I/O ports at f000 [size=256]
Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
Kernel modules: radeon

相关内容