Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Underscan/Overscan Support

Open NdranC opened this issue 3 years ago • 8 comments

I'm not 100% sure if this feature is already possible but I know this is an issue with sway as well.

I use a TV as part of my computer setup that requires a 5% underscan for it to work. Can this feature be added to hyprland?

NdranC avatar Jun 30 '22 04:06 NdranC

what is a 5% underscan in this scenario? 5% FPS less?

vaxerski avatar Jun 30 '22 09:06 vaxerski

https://en.wikipedia.org/wiki/Overscan

It means there's a black box around the displayed image. It's not taking up the entire screen.

fufexan avatar Jun 30 '22 09:06 fufexan

xrandr --output HDMI-A-1 --right-of HDMI-A-0 --set underscan on --set 'underscan hborder' 96 --set 'underscan vborder' 54

This is the xrandr command I would use. It basically reduces the edge around the screen by adding a black border around it. Of about 5% in my case. In xrandr you have to manually calculate it.

NdranC avatar Jun 30 '22 09:06 NdranC

The overscan problem has to be addressed in wlroots first. See https://github.com/swaywm/sway/issues/5038

fufexan avatar Jun 30 '22 09:06 fufexan

thats what I suspected. It's too low level of a thing

vaxerski avatar Jun 30 '22 09:06 vaxerski