Ubuntu 22.04.2 | 随机冻结问题

Ubuntu 22.04.2 | 随机冻结问题

一个月都无法解决这个问题。

我随机做某事,更改选项卡或执行简单的任务时,我的屏幕崩溃,无法移动光标,然后显示器关闭(变黑 2 秒),然后恢复正常但冻结,我必须重新启动笔记本电脑。

日志:

Feb 27 11:16:50 fichony kernel: CPU: 7 PID: 61710 Comm: kworker/u32:1 Not tainted 5.19.0-32-generic #33~22.04.1-Ubuntu
Feb 27 11:16:50 fichony kernel: Hardware name: LENOVO 20QJS0GG00/20QJS0GG00, BIOS R13ET53W(1.27 ) 07/28/2022
Feb 27 11:16:50 fichony kernel: Workqueue: amdgpu-reset-dev drm_sched_job_timedout [gpu_sched]
Feb 27 11:16:50 fichony kernel: Call Trace:
Feb 27 11:16:50 fichony kernel:  <TASK>
Feb 27 11:16:50 fichony kernel:  show_stack+0x52/0x69
Feb 27 11:16:50 fichony kernel:  dump_stack_lvl+0x49/0x6d
Feb 27 11:16:50 fichony kernel:  dump_stack+0x10/0x18
Feb 27 11:16:50 fichony kernel:  amdgpu_do_asic_reset+0x2b/0x441 [amdgpu]
Feb 27 11:16:50 fichony kernel:  amdgpu_device_gpu_recover_imp.cold+0x4e4/0x7e1 [amdgpu]
Feb 27 11:16:50 fichony kernel:  amdgpu_job_timedout+0x15e/0x190 [amdgpu]
Feb 27 11:16:50 fichony kernel:  ? finish_task_switch.isra.0+0x84/0x290
Feb 27 11:16:50 fichony kernel:  drm_sched_job_timedout+0x6d/0x120 [gpu_sched]
Feb 27 11:16:50 fichony kernel:  process_one_work+0x21f/0x400
Feb 27 11:16:50 fichony kernel:  worker_thread+0x50/0x3f0
Feb 27 11:16:50 fichony kernel:  ? rescuer_thread+0x3a0/0x3a0
Feb 27 11:16:50 fichony kernel:  kthread+0xee/0x120
Feb 27 11:16:50 fichony kernel:  ? kthread_complete_and_exit+0x20/0x20
Feb 27 11:16:50 fichony kernel:  ret_from_fork+0x22/0x30
Feb 27 11:16:50 fichony kernel:  </TASK>
Feb 27 11:16:50 fichony kernel: amdgpu 0000:05:00.0: amdgpu: MODE2 reset
Feb 27 11:16:50 fichony kernel: amdgpu 0000:05:00.0: amdgpu: GPU reset succeeded, trying to resume
Feb 27 11:16:50 fichony kernel: [drm] PCIE GART of 1024M enabled.
Feb 27 11:16:50 fichony kernel: [drm] PTB located at 0x000000F400900000
Feb 27 11:16:50 fichony kernel: [drm] PSP is resuming...
Feb 27 11:16:50 fichony kernel: [drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
Feb 27 11:16:51 fichony kernel: amdgpu 0000:05:00.0: amdgpu: RAS: optional ras ta ucode is not available
Feb 27 11:16:51 fichony kernel: amdgpu 0000:05:00.0: amdgpu: RAP: optional rap ta ucode is not available
Feb 27 11:16:51 fichony kernel: [drm] kiq ring mec 2 pipe 1 q 0
Feb 27 11:16:52 fichony kernel: amdgpu 0000:05:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
Feb 27 11:16:52 fichony kernel: [drm:amdgpu_gfx_enable_kcq.cold [amdgpu]] *ERROR* KCQ enable failed
Feb 27 11:16:52 fichony kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <gfx_v9_0> failed -110
Feb 27 11:16:52 fichony kernel: amdgpu 0000:05:00.0: amdgpu: GPU reset(12) failed
Feb 27 11:16:52 fichony kernel: amdgpu 0000:05:00.0: amdgpu: GPU reset end with ret = -110
Feb 27 11:16:52 fichony kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* GPU Recovery Failed: -110
Feb 27 11:17:01 fichony CRON[67852]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Feb 27 11:17:01 fichony CRON[67853]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 27 11:17:01 fichony CRON[67852]: pam_unix(cron:session): session closed for user root
Feb 27 11:17:02 fichony kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=312097, emitted seq=312097
Feb 27 11:17:02 fichony kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process opera pid 50728 thread opera:cs0 pid 50732

系统信息:

我的系统信息截图

尝试重新安装 Ubuntu,尝试“WaylandEnable”,安装 GPU 的自定义驱动程序,但没有任何效果。

如何解决这个问题?

答案1

最近,当我的内核从 5.15.0-60-generic 升级到 5.19.0-32 generic 时,我也遇到了这个问题。降级回 5.15 版本修复了您遇到的完全相同的冻结问题。我相信,如果您查看系统日志,您会在系统冻结时看到 VM_L2_PROTECTION_FAULT_STATUS。环顾四周,我看到一些帖子说 5.19.19(相信是这个版本)应该有 gpu 修复程序,但我使用的 32 版本仍然遇到了这个问题。希望这能有所帮助!

相关内容