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

            Bug ID: 475322
           Summary: A GPU reset (amdgpu) causes Xwayland to hang kwin if
                    an app interacts with X11
    Classification: Plasma
           Product: kwin
           Version: 5.27.8
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: t...@nitrosubs.live
  Target Milestone: ---

SUMMARY
When a GPU reset is triggered (on amdgpu), the Wayland session successfully
recovers (and so do all robust Wayland apps) if there are no X windows in the
session.
However, if an X app is launched after a GPU reset without restarting Xwayland
first (by killing it and having it promptly restored by KWin), or if there are
any X apps active when the reset occurs, the entire session hangs to the point
where even input doesn't work (can't switch to another tty) and the only way to
interact with the computer is to use SSH and kill KWin to restart it from
there.

STEPS TO REPRODUCE
1. Reset the GPU with `cat /sys/kernel/debug/dri/1/amdgpu_gpu_recover`
2. Attempt to launch an X app
or, alternatively:
1. Have an X app already open
2. Reset the GPU with `cat /sys/kernel/debug/dri/1/amdgpu_gpu_recover`

OBSERVED RESULT
The desktop session is frozen

EXPECTED RESULT
The desktop session recovers and all X apps are at worst killed and at best
recovered if robust

SOFTWARE/OS VERSIONS
Linux: Arch 6.5.5-zen1-1-zen
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Having no X apps open during the reset allows restarting Xwayland which works
without issue afterwards

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

Reply via email to