Bug 504646

Summary: Messy graphics with nvidia-drivers-570.153.02 after sleep
Product: [Plasma] kwin Reporter: roisto
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Messy graphics
Messy graphics 2
Messy graphics 3

Description roisto 2025-05-22 03:49:48 UTC
Created attachment 181634 [details]
Messy graphics

SUMMARY

After sleeping graphics get all messy. See attached image. System log show nothing unusual:
--8<--
May 22 05:32:14 puhku suspend[205354]: nvidia-resume.service
May 22 05:32:14 puhku logger[205354]: <13>May 22 05:32:14 suspend: nvidia-resume.service
May 22 05:32:14 puhku systemd[1]: nvidia-resume.service: Deactivated successfully.
May 22 05:32:14 puhku systemd[1]: Finished NVIDIA system resume actions.
--8<--

STEPS TO REPRODUCE
1. Put the computer to sleep
2. Wake it up

OBSERVED RESULT

Messy graphics.

EXPECTED RESULT

Not messy graphics.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.14.6-gentoo
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION

I've tried "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp" to /etc/modprobe.d/nvidia-power-management.conf with no luck.
Comment 1 roisto 2025-05-22 03:52:18 UTC
Created attachment 181635 [details]
Messy graphics 2
Comment 2 roisto 2025-05-22 03:52:32 UTC
Created attachment 181636 [details]
Messy graphics 3
Comment 3 roisto 2025-05-22 03:53:37 UTC
The file was "/etc/modprobe.d/nvidia.conf"
Comment 4 roisto 2025-05-22 04:13:07 UTC
I'm using Wayland.
Comment 5 Zamundaaa 2025-05-22 13:09:15 UTC
This is a setup issue. See https://community.kde.org/Distributions/Packaging_Recommendations#Proprietary_NVidia_driver_configuration for how to fix it