On a fresh bootup/restart, the system works fine. After waking up from sleep, though, there will be gradually increasing graphical glitches, until the entire graphic system freezes and becomes completely unresponsive. Examples:
- Menus will appear completely BLACK
- Save-File windows, pop-up windows, new Dolphin or Gwenview windows will be completely black.
The system will still be partially usable for a while, as these errors increase in frequency. I have tried toggling on/off the KDE Compositor, which will clear the BLACK window problem, but only temporarily for some applications.
Toggling on/off the Compositor will not delay or stop the total graphic session lockup. Without fail, eventually the graphical session will completely lock-up and block any keyboard input. (Unless I reboot before the lockup.)
Initially:
Then eventually:
And finally total graphics system lockup.
NOTE on Input: In KDE you can assign a shortcut hotkey sequence to do an no-prompts automatic KDE logout and reboot.When the whole graphics session freezes, even this key sequence will not work.
But this appears to be limited only to the graphical session: But the underlying system is still working. I can press CTRL+ALT+SHIFT+F2 for example, which will take me to an emergency console and I can run all my normal commands from there.
System Info:
I'm using Kubuntu 22.10, with backports enabled for the upcoming release of 23.04.
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE WIFI
System Version: -CF
I have tried turning on 'TearFree' but it does not seem to help.
My /etc/X11/xorg.conf.d/20-amdgpu.conf file:
# /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
This has persisted with my Kubuntu system since at least 22.04 and it is driving me crazy. I would appreciate ANY help, including possibly moving distros to something else!
(I would even be happy to know how to safely shutdown KDE from commandline! But I've never found anything that worked for modern KDE-5.)