FAForever / faf-linux

Scripts for Forged Alliance Forever (FAF) on Linux
69 stars 6 forks source link

Enabling Gamescope needs a little fix to run #7

Open gymnae opened 1 year ago

gymnae commented 1 year ago

Hi, great project—thank you so much for it.

I'm experimenting with gaming on Linux and especially with gamescope. When I enable the ENV var use_gamescope="1" the game will crash immediately. I changed the launchwrapper slightly to make it work for me: GAMESCOPE="gamemoderun gamescope -W <vertical resolution -H <horizontal resoluton -f -- "

  1. added whitespace behind --
  2. added my screen's native fullscreen resolution
  3. added gamemode in front for, good measure

I am uncertain if this works for others, but for me, it enables running the game in gamescope with gamemode in the background

tatsujb commented 1 year ago

vertrical? i think you mean vertical

gymnae commented 1 year ago

vertrical? i think you mean vertical

oh yeah, sorry, clumsy writing. fixed it