river icon indicating copy to clipboard operation
river copied to clipboard

OBS inner-display doesn't match window width when first spawned on a scaled monitor

Open fifty-six opened this issue 2 years ago • 2 comments

When I open obs on my monitor with 2x scaling, it spawns initially basically covering the whole screen, despite being tiled image

If I put it into floating and resize it then I can control most of the window's size, but you can then see that the inner display rendering doesn't match the window size.

image

A workaround is that spawning obs on other monitors seems to be fine, and moving it between monitors also works. Also spawning it on the scaled monitor, but then moving it to another and back fixes the scaling, as pictured:

image

fifty-six avatar Jul 02 '22 06:07 fifty-six

This sounds like a client bug to me, not a river bug. Wayland clients are responsible for the dimensions of their surfaces. Here it seems like that OBS has two bugs: First, the scaling of a subsurface is apparently messed up and second, it does not update it's scaling when moved between outputs. Is OBS even running as a native Wayland client here or is XWayland being used?

I'll reopen if you can confirm that it works correctly in other compositors. Otherwise I am certain it's not our bug.

Leon-Plickat avatar Jul 02 '22 12:07 Leon-Plickat

sway sway

wayfire 2022-07-02T23:40:40,759314746-04:00

It's running under wayland, checked with xeyes.

fifty-six avatar Jul 03 '22 04:07 fifty-six