mpv_scripts icon indicating copy to clipboard operation
mpv_scripts copied to clipboard

[Question] Wayland support?

Open escape0707 opened this issue 2 years ago • 2 comments

If I understood correctly, monitor refresh rate and resolution is completely controlled by Wayland compositor is using Wayland display mode, right?

So I suppose it will be quite unlikely for this script to be updated to identify and call many compositors' control API under Wayland?

escape0707 avatar Mar 27 '23 07:03 escape0707

On KDE Wayland, there's kscreen-doctor, not sure about other DE's / WM's. Ideally someone would make something abstract.

xrandr kind of still works, it can still set modes, but it doesn't show all the modes.

In this script I'm using kscreen-doctor to force enable vrr on a detected display (enables interpolation if not detected).

kevinlekiller avatar Mar 27 '23 12:03 kevinlekiller

I'm using GNOME, and I found gnome-randr-rust to be useful to change resolution and refresh rate on Wayland. But yeah, sadly there isn't a stable protocol to do this.

escape0707 avatar Mar 27 '23 18:03 escape0707