ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.17k stars 213 forks source link

Mouse leaving game to second screen when using -S stretch #1605

Open saimkaan opened 3 weeks ago

saimkaan commented 3 weeks ago

Is there an existing issue for this?

Are you using any gamescope patches or a forked version of gamescope?

Current Behavior

Hello, when I launch CS2 from steam with gamescope using "gamemoderun gamescope -f -w 1280 -h 960 -r 144 --force-grab-cursor -S stretch -- %command% -fullscreen", my Mouse keeps leaving the game to my second monitor. When I remove -S stretch I have black bars but the Mouse keeps locked in the game screen. I am using a fresh install of Fedora using GNOME

Am I doing something wrong?

Steps To Reproduce

  1. Launch CS2 with steam native and "gamemoderun gamescope -f -w 1280 -h 960 -r 144 --force-grab-cursor -S stretch -- %command% -fullscreen" launch parameters.
  2. Mouse leaves game Monitor to second screen while ingame.
  3. removing -S stretch locks the mouse but gives me black bars.

Hardware information

- Distro: Fedora 40
- CPU: AMD 5900x
- GPU: Nvidia RTX 3080
- Driver Version: NVIDIA 560

Software information

- Desktop environment: GNOME
- Session type: wayland
- Gamescope version: 
- Gamescope launch command(s): gamemoderun gamescope -f -w 1280 -h 960 -r 144 --force-grab-cursor -S stretch -- %command% -fullscreen

Which gamescope backends have the issue you are reporting?

Logging, screenshots, or anything else

No response