UI freezes when starting video after sleep

Hi,

I configured “Turn off screens” to 15 min in the kde power management options. When my monitors turn off and then come back for sleep, anything that seems to show a video (youtube, steam game etc …) will freeze the whole UI for 10-15 sec. The sound still works but everything else (UI, mouse pointer, keyboard shortcuts) is frozen.

After a few seconds all comes back but only momentarily. If the video is till playing, the system will freeze again and again for 10-15 sec. If I don’t open any video (or any hardware accelerated stuff I guess) the UI won’t freeze.

Everything works perfectly before the monitors are suspended and everything is back to normal when I reboot.

I’m on kde plasma 6.3.4 (wayland) with a dual monitor setup, nvidia card with up to date drivers.

Any Idea?

Thank you

point 10, also ensure the nVidia services are enabled.

Create:

## File: /etc/modprobe.d/nvidia-power-management.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
options nvidia_drm modeset=1
options nvidia_drm fbdev=1
options nvidia NVreg_EnableGpuFirmware=0

run sudo reinstall-kernels and reboot, then test.

Thanks xircon. I have created the file with the options. I don’t have the reinstall-kernels command but from what I understand it is because I use grub and the equivalent would be “sudo dracut-rebuild”

Il make some tests this week and confirm if this works.

1 Like

The problem is still there.

What log file would tell me more about the problem after it happens? Is there a log file related to the graphic driver?

I updated my bios to the latest version and also the monitor’s firmware. I have not seen the problem reappear so far.

For reference my monitor is a MPG 321URX QD-OLED.

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