https://bugs.kde.org/show_bug.cgi?id=454639
Bug ID: 454639 Summary: amdgpu driver: Flickering in Wayland session after suspend without lock screen enabled Product: kwin Version: 5.24.5 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: jan.rathm...@gmx.de Target Milestone: --- Flags: Wayland+ Created attachment 149345 --> https://bugs.kde.org/attachment.cgi?id=149345&action=edit Video showing the flickering This is a follow-up report to https://bugs.kde.org/show_bug.cgi?id=447705 Steps how I experience the bug: * Use Plasma Wayland session, screenlocking disabled, GPU driver set to amdgpu (see below) * Do Suspend-to-RAM. * Resume. Result: Sometimes heavy flickering of the whole screen, it goes away if I click on UI elements (see attached video). Happens always?: No. At the first resumes after boot chances are good that everythings's fine. But when flickering has happend one time, it seems it will also flicker on all subsequent resumes (until rebooting). (I rarely see a similar flickering in Firefox at Firefox startup or when a new browser tab loads [usually only a small square part of the window is affected, it goes away almost immediately <1 second. Not sure if it is related.].) Additional notes: Kubuntu 22.04 + Backports-PPA Plasma 5.24.5 Frameworks: 5.94.0 Qt: 5.15.3 Kernel: 5.15.0-33-generic == My system == Board: Gigabyte P35-DS3 CPU: Intel Core2Quad Q9550 Graphics card: Asus Radeon R7 240 Note that my graphics card can work with two different drivers: The default driver is radeon but amdgpu also works by manually enabling it by adding the following boot optionts to the linux command line in Grub: radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 For at least a year(?) I solely used amdgpu on my system (the initial reason was something like amdgpu worked slightly better than radeon at one minor aspect, but I don't remember exactly anymore). Using amdgpu was so ubiquitous for me that I didn't even remember it when writing the original bug report. For debugging purpose I tested how suspend/resume behaves with radeon driver in use (both on Wayland and X11), and it is different: Resume from suspend under Wayland: * amdgpu: flickers sometimes, as described above. * radeon: no flickering, but even worse: graphics output completely distorted and corrupted (see attached video). Sometimes temporarily switching between different TTYs (Ctrl+Alt+F1-7) restores the desktop, when it does not it effectively crashes the whole session. Resume from suspend under X11: * Everything fine, no flicker (amdgpu), no corruption (radeon) I also tested (under Wayland) what happens if the lock screen is enabled after suspend: * amdgpu: Everythings fine now, couldn't reproduce the flickering anymore * radeon: corrupted screen, as described above Sorry it took so long to report this follow-up report, it took some time to investigate and test all those different subtly different surrounding conditions. Kind regards, Jan -- You are receiving this mail because: You are watching all bug changes.