hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
20.23k stars 859 forks source link

Ability to set Monitor GPU scaling mode #6787

Open matejdro opened 3 months ago

matejdro commented 3 months ago

Description

On X11 I can force a monitor to display provided resolution without scaling (just centering) or by only scaling to aspect ration (and letterboxing):

xrandr --output DisplayPort-1 --set "scaling mode" "Center"
xrandr --output DisplayPort-1 --set "scaling mode" "Full aspect"

(https://drmdb.emersion.fr/properties/3233857728/scaling%20mode)

This property is useful when mirroring to a display that has a different aspect ratio than your main display, for example while giving a presentation or connecting to a TV. But from what I can see, there is no way to do this in Hyprland.

vaxerski commented 3 months ago

that needs support in aquamarine first once #6608 is done