https://bugs.kde.org/show_bug.cgi?id=480895

            Bug ID: 480895
           Summary: KWin 5.93.0 has a DRM timeout issue with GPU resets
    Classification: Plasma
           Product: kwin
           Version: 5.93.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: t...@nitrosubs.live
  Target Milestone: ---

Created attachment 165565
  --> https://bugs.kde.org/attachment.cgi?id=165565&action=edit
journalctl log

SUMMARY
5.92.0 is the last KWin version where GPU resets work, on 5.93.0 they cause a
DRM timeout:

[  309.469926] amdgpu 0000:0b:00.0: amdgpu: GPU reset(4) succeeded!
[  341.340379] amdgpu 0000:0b:00.0: amdgpu: GPU reset begin!
[  343.468579] amdgpu 0000:0b:00.0: [drm] *ERROR* flip_done timed out
[  343.468585] amdgpu 0000:0b:00.0: [drm] *ERROR* [CRTC:85:crtc-0] commit wait
timed out
[  353.708655] amdgpu 0000:0b:00.0: [drm] *ERROR* flip_done timed out
[  353.708666] amdgpu 0000:0b:00.0: [drm] *ERROR* [PLANE:64:plane-4] commit
wait timed out
[  354.242787] amdgpu 0000:0b:00.0: amdgpu: MODE1 reset

When that happens, the PC sometimes requires a hard reset, sometimes it
doesn't, but KWin is unusable after that anyway.
Not sure if that's a KWin regression, usage of a new feature that hasn't gotten
implemented in the kernel (DRM) uAPI or a kernel regression. I've also tried
restoring the kernel to 6.7.0 as well as other packages (where I remember it
working fine) to no avail.
Tested on latest Mesa 24.1-dev.

Screen configuration (if relevant):
- primary display: 1080p165 VRR (adaptive sync set to "Always")
- secondary display: 1080p60 non-VRR

STEPS TO REPRODUCE
1. Upgrade KWin to 5.93.0
2. Reset the GPU

OBSERVED RESULT
The session is frozen (and sometimes the entire computer with it)

EXPECTED RESULT
The session is restored just fine

SOFTWARE/OS VERSIONS
OS: Arch Linux 6.7.3-zen1-2-zen
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to