#Cursor Not Captured by Game Window, mouse escapes screen bounds (Proton/Xwayland/KDE/Nvidia)

14 messages · Page 1 of 1 (latest)

lyric ether
#

As the title says, whenever I run a game using proton and it's fullscreen, the mouse cursor escapes the bounds of the windows, and also funny stuff as it's not captued by the game.

I am using Proton GE

  • Gamescope fixes it with it's force grab cursor flag but introduces a host of other issues
  • PROTON_ENABLE_WAYLAND=1 fixes it but introduces terrible screen tearing (in game Vsync fixes this but crashes the process due to nvidia)
  • Making it a lower resolution than my monitors native resolution fixes it. (KWindebug says it's not fullscreen and moveable as well)
  • Protontricks has a forcegrab cursor fix but I can't get protontricks working at all to try it

Does anyone know a fix or know where I can track this issue? I assume it's XWayland as I saw someone have a similar issue here: https://discordapp.com/channels/399812551963049995/1346725144181084260

dreamy urchin
#

Isnt there an argument like grab cursor? breadcat maybe Im wrong... hmm wait let me look it up for you

lyric ether
#

Had the wrong like as reference for a similar issue, just edited the right one in at the buttom

dreamy urchin
#

Try --force-grab-cursor in the args

lyric ether
#

That's gamescope - no?

dreamy urchin
#

Hmm think youre right its with gamescope

#

Beside force grab args I dont know what else could fix. Its what I see most people use on Protondb

lyric ether
#

Yeah - it's a bit annoying tbh. All the threads I find say just use gamescope... but gamescope comes with a host of other issues

dreamy urchin
#

I totally understand. I'd probably be looking for another fix before using gamescope

floral fox
#

Gamescope is really nice. I'm a fan. It's also made by Steam/Valve, pretty sure

lyric ether
#

It is nice. When it works 😦

Whenever I use it (probably because I am on nvidia) I have to play a game of trying tons of different startup flags for it only to crash, microsttutter, give low fps

lyric ether
#

I've spent a long time trying to solve this...

Right now all I can say is xwayland does not like it when you have a primary monitor on the right side

floral fox
#

It's doable plenty well. Or at least with Sway and xwayland. For instances where things want to open on the wrong monitor, that's a big part of what I use gamescope for

lyric ether
#

I might try a different DE to see how it works but I've read someone say gnome has the same problem