Bug 454129 - [Wayland] Pixelated artifacts when resuming from suspend, which partially reveals content
Summary: [Wayland] Pixelated artifacts when resuming from suspend, which partially rev...
Status: RESOLVED DUPLICATE of bug 316734
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: greeter (show other bugs)
Version: 5.24.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-05-21 06:48 UTC by Samuel Reddy
Modified: 2022-12-08 17:56 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
bad photo of issue (2.33 MB, image/jpeg)
2022-05-25 21:28 UTC, Samuel Reddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Reddy 2022-05-21 06:48:07 UTC
SUMMARY
When resuming from suspend, pixelated coloured artefacts appear, allowing some things to be partially seen.


STEPS TO REPRODUCE
1. Suspend
2. Resume from suspend
3. Screen artefacts show up

OBSERVED RESULT
Screen artefacts show up, allowing things behind the lock screen to be partially shown

EXPECTED RESULT
No screen artefacts should be shown

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx
Memory: 5.7 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Manufacturer: Dell Inc.
Product Name: Inspiron 3505
System Version: 1.4.9

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-23 17:32:34 UTC
Is this a regression from Plasma 5.24? Can you reproduce the issue on X11 too, or just Wayland?
Comment 2 Samuel Reddy 2022-05-23 21:31:29 UTC
(In reply to Nate Graham from comment #1)
> Is this a regression from Plasma 5.24? Can you reproduce the issue on X11
> too, or just Wayland?

On X11, there has been pixelated artefacts on the screen in Plasma 5.24, but on Wayland on Plasma 5.24, there was none, so for Wayland, it is a regression.
Comment 3 Nate Graham 2022-05-24 15:27:23 UTC
Thanks.

Cannot reproduce with an Intel HD620 iGPU, FWIW.
Comment 4 Samuel Reddy 2022-05-25 21:28:42 UTC
Created attachment 149221 [details]
bad photo of issue
Comment 5 Matej Mrenica 2022-06-01 10:20:56 UTC
I have the same issue on almost the same CPU/GPU but It's not a regression, it's been here some time.
Comment 6 Nate Graham 2022-06-01 13:53:47 UTC
Could it be Bug 316734? I can reproduce Bug 316734, but I don't see any pixelated artifacts, just the desktop itself for a moment before the screen locker screen appears.
Comment 7 Matej Mrenica 2022-06-01 16:45:01 UTC
(In reply to Nate Graham from comment #6)
> Could it be Bug 316734? I can reproduce Bug 316734, but I don't see any
> pixelated artifacts, just the desktop itself for a moment before the screen
> locker screen appears.

That bug, if I read it correctly, is about lock screen not showing soon enough and desktop being temporarily fully visible.
But in this case instead of the desktop being fully visible there is a random mess of pixels that slightly resembles a combination of the lockscreen and whatever was on the desktop previously.
That said, these two issues likely have the same root cause.
Comment 8 Javier Steinaker 2022-06-02 00:43:09 UTC
Can reproduce on an old HP Sleekbook 14 (old AMD APU, using radeon driver). It's been happening ever since I moved to Plasma a few months ago. The artifacts I get are way worse, I barely can see anything except for the cursor, which is rendered correctly. However, apps are still running (I can see the color changing if I close a Chromium tab, for example). I tried disabling screen lock on suspend but it keeps happening, so likely kscreenlocker is not the culprit (tried uninstalling Latte dock as well, same results)

Arch Linux user running on Wayland, packages updated, so similar setup as the OP.

It's not happening on Sway, or cage, so it seems to be a Plasma issue.

Glad to help if you need more info/logs/etc
Comment 9 Denis Shklyaev 2022-06-11 14:31:19 UTC
I also can reproduce it on my Acer Aspire V5-552G. 
There isn't any problem with X11, but it happens on Wayland.

Distro: Manjaro Linux (stable branch), kernel 5.15.41-1; graphics: AMD Radeon HD 8650G (iGPU); driver: radeon; Plasma version: 5.24.5, KF version: 5.94.0
Comment 10 Samuel Reddy 2022-08-30 22:21:54 UTC
I think this bug is probably a duplicate of https://bugs.kde.org/show_bug.cgi?id=316734
Comment 11 Aleix Pol 2022-09-20 00:36:38 UTC

*** This bug has been marked as a duplicate of bug 316734 ***
Comment 12 Anton K 2022-12-08 17:56:02 UTC
Same problem only on Wayland, no problem with X11. Switching between consoles (ctrl+alt+f1 and then ctrl+alt+f2) restores the display and everything continues to work as usual.

VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]
"/dev/dri/card0", driven by "radeon"
output 0:         card0-HDMI-A-1
output 1:        card0-DVI-I-1

I don’t see anything interesting in the logs, except for this (but I’m not sure if this is useful):
08.12.2022 20:35	pc	kwin_wayland[1584689]	qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
08.12.2022 20:35	pc	kwin_wayland[1584689]	This plugin does not support raise()
08.12.2022 20:35	pc	plasmashell[1598891]	qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
08.12.2022 20:36	pc	kscreenlocker_greet[1655244]	qt.qpa.wayland: Wayland does not support QWindow::requestActivate()



08.12.2022 20:36	pc	kernel	[122990.358834] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
08.12.2022 20:36	pc	kernel	[122990.362833] radeon 0000:01:00.0: WB enabled
08.12.2022 20:36	pc	kernel	[122990.362836] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
08.12.2022 20:36	pc	kernel	[122990.362838] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
08.12.2022 20:36	pc	kernel	[122990.363579] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118
08.12.2022 20:36	pc	kernel	[122990.363835] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
08.12.2022 20:36	pc	kernel	[122990.363839] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
08.12.2022 20:36	pc	kernel	[122990.379066] debugfs: File 'radeon_ring_uvd' in directory '0' already present!


Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD TURKS