Open ryu-ketsueki opened 7 months ago
I'm experiencing the same issue, but even when a secondary monitor is scaled and the primary is 100%. Also using the Flatpak 23.08 Gamescope.
Has there been any progress on fixing this? downgrading is not an option in case of Flatpak
Same issue here, on KDE Plasma (v6.1.2, wayland session) global system scaling is ignored by gamescope (v3.14.24) during calculations of output window size.
Launching game like this:
gamescope -w 1280 -h 960 -W 1920 -H 1440 -F fsr -- wine ./game.exe
Results in the actual height being 1440 x 1.75 = 2520 (global scale set to 175%). This is confusing, and I doubt it's KWin fault (as far as I know, DPI aware wayland apps are basically given some scale value, actual scaling implementation is up to them).
There is a workaround for now (in Plasma at least), set x11 apps to "apply scaling by themselves" and start things this way:
SDL_VIDEODRIVER=x11 gamescope -w 1280 -h 960 -W 1920 -H 1440 -F fsr --backend sdl -- wine ./game.exe
I can reproduce the issue every time and with every game I tested it so far. Here is a demonstration:
https://youtu.be/nd4Ruvn6niY
I use KDE Plasma Wayland session with 70% fractional scaling because the max resolution of this laptop is too small for the size of the windows and such. Previously, I did not have this issue with Gamescope. Now it happens every time.
One note. I did not compile Gamescope directly. I am using the org.freedesktop.Platform.VulkanLayer.gamescope 3.14.3 23.08 on flathub, as it is the one required by Bottles, Lutris, etc.