ValveSoftware / gamescope

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

Nvidia Linux Native Games refuse to start #513

Open kodatarule opened 2 years ago

kodatarule commented 2 years ago

So it seems like native games like Counter Strike Global Offensive, Splitgate, Half Life etc refuse to even boot up for me. When pressing the start button it doesn't even stay for a second until it goes back to Play button.

Could it be that I am missing something ? Kernel: 5.18.0-259-tkg-pds Distro: Arch Linux

EDIT: Digging a bit further I am able to start steam games by forcing it to use the steam linux runtime, as native linux games from lutris did work with gamescope so it seems like something else is going on

EDIT 2 : Wasn't able to find what was the cause of this, however there seems to be something very wrong with the nvidia driver or gamescope + nvidia combo, some games that are running with like 200+ fps feel extremely sluggish on 165hz display...

Fijxu commented 2 years ago

Same here. Arch linox last kernel X11 It works with some games like osu-lazer but osu lazer is not totally native so

image

sigboe commented 2 years ago

@Fijxu you need to have -- in your command, it symbolizes the start of the command to run the game. example gamescope -w 1440 -h 1080 -f -- csgo.sh

kodatarule commented 2 years ago

Retested with 515.57, seems to be working now, but a lot of arch linux libraries got updated inbetween so it may not be the driver that fixed it.

luni3359 commented 1 year ago

There's a flag that lets you use it for steam games -e, it's for steam integration. I had the same issue but the flag helped me.

cchulo commented 1 year ago

@kodatarule the games that feel sluggish: try capping fps with -r I saw a similar thing with nier, I capped it at 60 fps, and it was real fluid, no slow downs