3

I am using mpv player on Ubuntu 22.04 with Wayland. Every minute of playing, the system goes to sleep. There are no traces in log files. With 18/20.04 mpv works well.

I found this in the ArchWiki for mpv:

mpv may not suspend GNOME's Power Saving Settings if using Wayland resulting in screen saver turning off the monitor during video playback. A workaround is to add gnome-session-inhibit to the beginning of the Exec= line in mpv.desktop.

I tried that, but it didn't help. How to fix it?

0 Answers0