我在内核 5.8.0-49 上运行 Ubuntu 20.04,配备双显示器和 AMD RX 5600XT 卡。
我的问题是 Ubuntu 启动非常非常慢,并且登录时屏幕疯狂闪烁。
dmesg
清楚地显示启动时间缓慢是由于以下错误造成的:
[ 19.535515] blk_update_request: I/O error, dev sr0, sector 16324608 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0
[ 19.535519] Buffer I/O error on dev sr0, logical block 4081152, async page read
[ 19.535521] Buffer I/O error on dev sr0, logical block 4081153, async page read
[ 19.537684] [drm] Cannot allocate secure buffer since TMZ is disabled
[ 22.719743] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 25.993286] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 29.265644] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 32.535781] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 33.401404] rfkill: input handler disabled
[ 36.701544] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 39.909124] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 43.179987] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 46.452572] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 49.727429] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 53.002104] amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 128.063620] logitech-hidpp-device 0003:046D:4088.0008: HID++ 4.5 device connected.
dmesg
我在帖子末尾有一个闪烁的视频以及完整的输出。
当我只使用两台显示器中的一台(将其从 GPU 上拔下)时,我的问题就完全消失了。显示器通过 DisplayPort 连接,频率为 60 Hz,分辨率为 WQHD。
我到目前为止尝试过但没有成功的方法:
- 将内核升级到 5.11.13
- 将内核降级至 5.4.111
amdgpu-pro
从 AMD 网站手动安装适用于 Ubuntu 20.04.2 版本 20.50 的驱动程序- 转向 Wayland
Above 4G decoding
在 UEFI 中停用
答案1
我已经使用了 2x 27 英寸 WQHD Iiyama XUB2792QSU 屏幕,似乎存在问题。
我确实购买了 2 个新的 AOC 屏幕,这次是 4K,它们没有出现相同的错误。