On Tue Feb 6 18:15:14 2024 +0000, Fabian Maurer wrote:
It's scaled by the KDE display scale before the patch as well. Alt-enter simply prints an error `0024:err:system:NtUserChangeDisplaySettings Changing L"\\.\DISPLAY1" display settings returned -2.`
This MR has nothing to do with your problem! I run about 10 games with
this MR, including Steam games, and there are no problems in full screen mode. Just because a bunch of programs work, doesn't mean this one will as well... This MR adds fullscreen scaling, and it doesn't work for this program. Or does the game I linked works for you without issues? Not sure what you mean by floating window, of course it's just a window before I press alt-enter to make it go fullscreen?
@DarkShadow44 In order for some aspects of window presentation (esp. fullscreen) to work properly in scaled outputs, the wine dpi settings (change in winecfg) must match the scaling factor of the output (e.g., 2x => 2 * 96 = 192 dpi). That should help with contents being cut off in scaled outputs.
Concerning the flickering, it would help to see a log with: `WAYLAND_DEBUG=1 WINEDEBUG=+pid,+tid,+timestamp,+waylanddrv,+system,+win,+vulkan`. Are you able to try with another compositor, e.g., GNOME/mutter, to check if you get the same behavior?
Alt-enter simply prints an error `0024:err:system:NtUserChangeDisplaySettings Changing L"\\.\DISPLAY1" display settings returned -2.`
Is this error printed only without this patch?