Bug 460664 - When waking up from stanby under Wayland, many graphical elements seem corrupted
Summary: When waking up from stanby under Wayland, many graphical elements seem corrupted
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.2
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-18 15:54 UTC by Sikal
Modified: 2023-03-06 15:47 UTC (History)
3 users (show)

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


Attachments
Example of the problem (3.55 MB, image/png)
2022-10-18 15:54 UTC, Sikal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sikal 2022-10-18 15:54:44 UTC
Created attachment 153005 [details]
Example of the problem

SUMMARY
When a Wayland session is woken up from the majority of the graphical elements (text, icons, wallpaper, kickoff,..) seem to be totally corrupted and badly displayed as shown in the attached screenshot.
This problem also affects the lock screen.
From my observations this only concerns the Wayland session.
Disconnecting from the session solves the problem (also for the lock screen)

STEPS TO REPRODUCE
1. Put a Wayand session in standby
2. Wake up the system

OBSERVED RESULT
The majority of the graphical elements seem to be totally corrupted and badly displayed

EXPECTED RESULT
A normal display of graphical elements

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Linux 6.0.1.arch2-1 / KDE 5.26.0
(available in About System)
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99
Qt Version: 5.15.6

ADDITIONAL INFORMATION
I use an Nvidia GPU (GTX 1070)
Nvidia Driver Version: 520.56.06-3
Comment 1 Nate Graham 2022-10-18 19:14:40 UTC
Probably an NVIDIA GPU driver issue.
Comment 2 Sikal 2022-11-27 03:29:33 UTC
This problem was happening because NVreg_PreserveVideoMemoryAllocations=1 and NVreg_TemporaryFilePath=<pathofyourchoice> was not configured in /etc/modprobe.d/nvidia.conf.
Comment 3 dans64 2023-03-06 09:26:46 UTC
I'm also having this issue, but I have an old AMD APU (A10 5750M). I'm able to get around this by waiting a minute, switching to a different TTY then back to the the previous TTY that the laptop woke up on. Plasma 5.27.2, linux-zen 6.2.1, happens on both Mesa 23 and git on Arch Linux, and yes it only happen on the Wayland session.
Comment 4 Nate Graham 2023-03-06 15:47:31 UTC
Then it's a different issue. :)