!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

448 Members
Gaming things, my hands are typing words.127 Servers

Load older messages


SenderMessageTime
29 May 2025
@nila:derg.socialNila The Dragon
In reply to @k900:0upti.me
What's in the logs?
With the current configuration (programs.gamescope.enable = true) and launch options (gamescope --backend sdl -h 720 -H 1080 -f %command%) the relevant game launch logs are https://pastebin.com/wWLGAmtS
15:01:24
@k900:0upti.meK900That just looks like the game itself is crashing 15:07:27
@k900:0upti.meK900What nixos version are you on? 15:07:27
@nila:derg.socialNila The DragonNixOS 25.11 (Xantusia) x86_64 (Unstable)15:08:00
@nila:derg.socialNila The DragonThe game will launch fine without gamescope + it will launch if I launch the entire steam client through gamescope as well15:08:15
@k900:0upti.meK900 Try removing --backend sdl 15:08:19
@k900:0upti.meK900Actually 15:08:21
@nila:derg.socialNila The DragonThat will not work on GNOME currently due to https://github.com/ValveSoftware/gamescope/issues/182515:08:38
@k900:0upti.meK900Honestly no idea then, you'll want to attach a debugger to the game or something 15:10:07
@k900:0upti.meK900Or just don't run Gamescope because all the HDR bits should be working out of the box now 15:10:22
@nila:derg.socialNila The DragonThe reason I'd like to use it is that on Gnome my mouse is not being properly locked to the game window. So if I do fast movements towards my second monitor and click, the mouse will actually escape the game.15:12:41
@nila:derg.socialNila The DragonOtherwise I'd be more than pleased to not use another in-between layer. But the only solution I found to the mouse capturing issue is to use gamescope with the --force-grab... option15:13:19
@k900:0upti.meK900Does the game just not grab the cursor? 15:15:38
@k900:0upti.meK900Or is this a Wine issue of some sort? 15:15:45
@nila:derg.socialNila The Dragon So the game does "grab" it. It stays locked to the game during motion and I can spin around infinitely. The problem occurs specifically when I do a fast, longer motion towards the second screen, the cursor then (invisibly) actually moves over whatever windows I have there and as soon as I click (while still moving, it does not happen when i stop moving and then click) the mouse will actually activate whatever window it was over. Really really weird bug. 15:18:38
@k900:0upti.meK900 Maybe try latest Proton with wine-wayland? 15:31:19
@nila:derg.socialNila The DragonI assume I need Proton-GE for that?15:56:34
@k900:0upti.meK900No16:07:51
@k900:0upti.meK900Proton 10 should have it16:07:56
@marie:marie.cologneMarieI'm pretty sure vanilla Proton still has it disabled16:46:48
@matejc:matrix.matejc.commatejc @Nila The Dragon I "had" a similar issues with certain games, where mouse just escapes the game at some ocasions... But I have found a workaround: I have both screens with a gap in between (left monitor (1920x1080): pos 0,0 and the gaming monitor on the right with pos: 2000,0), that way the mouse just does not pass to the other monitor (at least on Niri... I have zero clue how this works on Gnome) - I have a keybinding for passing the cursor/focus around. The reason that I written had in quotes is that I havent tried without this workaround for quite some time. 17:33:30
@matejc:matrix.matejc.commatejcI am running games without any gamescope or any other layer in between17:35:02
@matejc:matrix.matejc.commatejc* I am running games without gamescope or any other layer in between17:35:12
@nila:derg.socialNila The Dragon
In reply to @matejc:matrix.matejc.com
@Nila The Dragon I "had" a similar issues with certain games, where mouse just escapes the game at some ocasions... But I have found a workaround: I have both screens with a gap in between (left monitor (1920x1080): pos 0,0 and the gaming monitor on the right with pos: 2000,0), that way the mouse just does not pass to the other monitor (at least on Niri... I have zero clue how this works on Gnome) - I have a keybinding for passing the cursor/focus around. The reason that I written had in quotes is that I havent tried without this workaround for quite some time.
is that possible with wayland? I searched for a similar idea but only got xorg results...
19:33:06
@matejc:matrix.matejc.commatejc @Nila The Dragon yeah, just checked, Niri itself (is an wayland only window manager) has the option to set position of the output in its config, also, maybe using kanshi could help (kanshi is declarative output configuration, its packaged in nix home manager). 19:41:48
@matejc:matrix.matejc.commatejcI am sure Gnome has some option to offset one monitor... or maybe one of its extensions could do it19:44:05
@matejc:matrix.matejc.commatejcBut then again... maybe just running games with wine-wayland could work19:45:10
@matejc:matrix.matejc.commatejc I have no clue on how to do it with official Proton 10, but with Proton GE 10, you can just set PROTONENABLEWAYLAND=1 before launching a game 19:46:24
@matejc:matrix.matejc.commatejc I have no clue on how to do it with official Proton 10, but with Proton GE 10, you can just set PROTON_ENABLE_WAYLAND=1 before launching a game 19:46:38
@matejc:matrix.matejc.commatejc @Nila The Dragon yeah, just checked, Niri itself (is an wayland only window manager) has the option to set position of the output in its config, also, maybe using kanshi could help (kanshi is declarative output configuration, it has a module in nix home manager). 19:48:41

Show newer messages


Back to Room ListRoom Version: 10