https://bugs.kde.org/show_bug.cgi?id=477738

--- Comment #55 from Victor Ryzhykh <victorr2...@yandex.ru> ---
(In reply to Victor Ryzhykh from comment #51)
> Previously, I couldn’t understand why the sleep mode works and then stops
> working.

I figured out what the problem was.
Nvidia developers helped.
Now waking up from sleep mode on Nvidia drivers in a wayland session always
works correctly for me.
There are no glitches or image artifacts.
Here about my settings for the nvidia560 driver.

https://forums.developer.nvidia.com/t/560-release-feedback-discussion/300830/265?u=victorr2007

I added the path to the /etc/modprobe.d/nvidia-power-management.conf file to
the /etc/dracut.conf.d/10-nvidia.conf file

The new file /etc/dracut.conf.d/10-nvidia560.conf now looks like this

add_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm "
install_optional_items+=" /etc/modprobe.d/nvidia-power-management.conf "
install_optional_items+=" /etc/modprobe.d/nvidia560-blacklist-nouveau.conf "
install_optional_items+=" /etc/modprobe.d/nvidia560-wayland.conf "

Contents of the /etc/modprobe.d/nvidia-power-management.conf file
"options nvidia NVreg_PreserveVideoMemoryAllocations=1
NVreg_TemporaryFilePath=/var/tmp"

Contents of the /etc/modprobe.d/nvidia560-blacklist-nouveau.conf file
"blacklist nouveau"

Contents of the /etc/modprobe.d/nvidia560-wayland.conf file
"options nvidia_drm modeset=1 fbdev=1"

Now exiting sleep mode occurs without errors.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to