Screen freeze after reopen lid
Hi, I'm running Sway on Gentoo and using AMDGPU.
I noticed that since I upgraded to any 5.18
kernel version, if I close and open my laptop lid, the screen freezes. This is an issue that other users are experiencing.
This is a video example running cmatrix
.
After provoking the bug and looking at Sway's log, I noticed these lines:
M 04:33:15.839105 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:259:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 04:33:15.839216 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:578:set_nice: could not set nice-level to -11: No such file or directory
M 04:33:15.839368 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:259:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 04:33:15.840290 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:259:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 04:33:15.840434 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:259:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
M 04:33:15.840443 mod.rt ../pipewire-0.3.52/src/modules/module-rt.c:800:impl_acquire_rt: could not make thread 3117 realtime using RTKit: No such file or directory
00:00:01.532 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 8 VGPRS: 8 Code Size: 24 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64)
00:00:01.532 [DEBUG] [wlr] [GLES2] Shader Stats: SGPRS: 24 VGPRS: 12 Code Size: 44 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 1, (VS, W64)
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
amdgpu: The CS has been rejected, see dmesg for more information (-16).
It seems like the problem is somewhat related to the AMDGPU drivers.