ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.14k stars 212 forks source link

[DRM backend] Mouse look broken in Wolfenstein II: The New Colossus #1560

Open tobiasjakobi opened 1 month ago

tobiasjakobi commented 1 month ago

Affected game: Wolfenstein II: The New Colossus Affected version: 3.15.5 (went back to 3.14.24 which has the same problem)

Mouse behaviour:

Gamescope setup:

Emulation layer:

Working setup:

Might be related to these:

Major differences:

tobiasjakobi commented 2 weeks ago

I managed to get the mouse working by applying a similar workaround as in: https://github.com/ValveSoftware/gamescope/issues/1521#issuecomment-2387264197

Here's the changes I use (in top of 3.15.5): https://github.com/tobiasjakobi/gamescope/commit/01b9e6b2d0248376873d367c308ba21a48ca186e

I have no idea however why this works when running the game on Sway. Does Sway already do this integer coordinate buffering?