GPU freezes on Ubuntu 22.10
Brief summary of the problem:
Once in a while, when I play YouTube videos, my system freezes for 10-15 seconds, and then everything looks fine. I'm not completely sure if the trigger is YouTube; maybe it could happen in other graphically intensive actions, but for now it happens only when playing videos on YouTube. My browser is Firefox, if that matters. I got these messages in the system log:
drm:amdgpu_dm_commit_planes [amdgpu]] *ERROR* Waiting for fences timed out!
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, but soft recovered
`amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104467000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104467000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104466000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104466000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104466000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104467000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: CB (0x0)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104467000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: RW: 0x1
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MAPPING_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: PERMISSION_FAULTS: 0x5
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: WALKER_ERROR: 0x0
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: MORE_FAULTS: 0x1
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00141051
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: in page starting at address 0x0000800104466000 from IH client 0x1b (UTCL2)
00:20:13 kernel: amdgpu 0000:04:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:40 vmid:1 pasid:32769, for process firefox pid 19023 thread firefox:cs0 pid 19170)`
Hardware description:
CPU: Ryzen 3 5300U
System Memory: 16GB DDR4
Display(s): 1920x1080 laptop, connected external 1920x1080 display with HDMI
System information:
- Distro name and Version: Ubuntu 22.10 (Wayland)
- Kernel version: 5.19.0-23-generic
How to reproduce the issue:
Play YouTube videos.