AMD Stoney Ridge: display freezes on VT switch
After switching VT, Xorg stops updating my display on a Stoney Ridge laptop. This happens with both the modesetting and amdgpu driver. Only the mouse cursor moves. Wayland sessions are not affected.
- From a linux console with no display manager or X session running: $ startx /usr/bin/xterm
- Switch to a different VT and back.
- Nothing appears in the xterm when typing.
- Switch to a different VT and back, the old typing appears.
The screen isn't updating correctly but the client & server are functioning. I can run commands in the terminal, but can't see any output without a VT switch. Exiting the xterm immediately ends the X session cleanly.
The same issue is triggered by a suspend/resume cycle.
This happens with Xorg 1.20.3 from Debian buster (Debian version 1:7.7+19). I've tried amdgpu 19.0.1 from Debian sid and 18.1.99+git20190207-1 from buster.
Video device info: 00:01.0 VGA compatible controller : Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] [1002:98e4] (rev eb)
References: amdgpu bug: https://bugs.freedesktop.org/show_bug.cgi?id=110808 Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929822