# Graphic bugs after sleep KDE Wayland Nvidia

**URL:** <https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703>\
**Category:** Plasma\
**Created:** [October 14, 2023, 12:24pm UTC](https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703 "2023-10-14T12:24:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mai65](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@Mai65](https://forum.endeavouros.com/u/Mai65)\
**Post date:** [October 14, 2023, 12:24pm UTC](https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703/1 "2023-10-14T12:24:37Z")

</div>

Hi,  
some other people have reported here in the form I am also experiencing problems after waking my machine from sleep. I was able to capture a screenshot while the bugs occur.

 ![Screenshot](https://forum.endeavouros.com/uploads/default/original/3X/c/a/cad913fca1e8d81e7bf51704924e71e91fe3d425.png)

The error only occurs under Wayland not under X-Window.

So far I have applied the tips of the following forum posts:  
[Plasma Wayland graphical glitches after waking from sleep](https://forum.endeavouros.com/t/plasma-wayland-graphical-glitches-after-waking-from-sleep/45434) Increased my SWAP to 32 GB as suggested → did not fix the issue  
[Graphical bugs with nvidia gpu](https://forum.endeavouros.com/t/graphical-bugs-with-nvidia-gpu/25730/1) → only applies to GNOME and was already fixed as of driver version 515.43.04  
[Severe Rendering Issues on Latest Nvidia Driver](https://bugs.kde.org/show_bug.cgi?id=424311) → was a regression in the 450 nvidia driver fixed in 455 I am running 535

I would appreciate any help or reports that confirm the behaviour.

Mai65

System Information:  
Operating System: EndeavourOS  
KDE Plasma Version: 5.27.8  
KDE Frameworks Version: 5.110.0  
Qt Version: 5.15.11  
Kernel Version: 6.1.57-1-lts (64-bit)  
Graphics Platform: X11  
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor  
Memory: 31,3 GiB of RAM  
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2  
Manufacturer: Micro-Star International Co., Ltd.  
System Version: 2.0

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [October 14, 2023, 1:08pm UTC](https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703/2 "2023-10-14T13:08:08Z")

</div>

# nVidia resume from suspend

```auto
sudo nano /etc/modprobe.d/nvidia-power-management.conf

```

Then add the following line

```auto
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

```

See point 10 here:

> **[NVIDIA/Tips and tricks - ArchWiki](https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks)**

And have you enabled the nVidia services?

The above worked for me on a Legion 5.

---

<div class="post-metadata">

**Author:** ![Mai65](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/2acd7d/32.png) [@Mai65](https://forum.endeavouros.com/u/Mai65)\
**Post date:** [October 14, 2023, 2:04pm UTC](https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703/3 "2023-10-14T14:04:02Z")

</div>

This works 🙂 thank you so much.

In the mean time I found that `plasmashell --replace` in krunner also fixes the issue until the next suspend. I also was able to find a KDE Bug [[NVIDIA] Graphical glitches and unresponsive after waking from sleep](https://bugs.kde.org/show_bug.cgi?id=448866) that describes the observed behavior. Though no solution was provided there yet. I will forward your solution to that Bug report so that other people facing the same issue may resolve it this way.

Again thank you so much for the solution.

Mai65

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [October 16, 2023, 2:04pm UTC](https://forum.endeavouros.com/t/graphic-bugs-after-sleep-kde-wayland-nvidia/46703/4 "2023-10-16T14:04:43Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
