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

--- Comment #59 from Victor Ryzhykh <victorr2...@yandex.ru> ---
(In reply to Ilya Bizyaev from comment #57)
> To me, it sounds like the “fix” above basically boils down to
> NVreg_PreserveVideoMemoryAllocations=1, which is a well-known workaround:
> https://wiki.archlinux.org/title/NVIDIA/
> Tips_and_tricks#Preserve_video_memory_after_suspend
> 
> It basically saves the entire video memory to RAM or disk, then restores it.
> I could be wrong, but I don't think requiring users to enable a hack is a
> proper fix.

The fact is that Nvidia is on Wayland
does not directly use files from /etc/modprobe.d/
Also Nvidia on Wayland does not use file /etc/X11/xorg.conf.d/nvidia.conf
Will boot and work on Wayland, even if there is no file on the system
/etc/X11/xorg.conf.d/nvidia.conf
It just won't be possible to start session x11.
All these files are used only in session x11.
Because of this, parameter NVreg_PreserveVideoMemoryAllocations=1, is not taken
into account when entering sleep mode.
For a Wiland session, configs for Nvidia must either be written into the kernel
parameters via file /etc/default/grub,
or written to the kernel initrd using draсut in file
/etc/dracut.conf.d/10-nvidia.conf.
I make myself an nvidia package without using file /etc/default/grub for
configuration, and only file /etc/dracut.conf.d/10-nvidia.conf is used for
configuration.
Everything works fine for me, both X11 and Wayland.
I make this nvidia package https://abf.rosalinux.ru/x11_backports/nvidia560

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

Reply via email to