Open XaapX opened 8 months ago
Previously mentioned on https://github.com/ValveSoftware/csgo-osx-linux/issues/3530#issuecomment-1936569841.
The add-on issue is being tracked at #3656.
This startup command helped me with this isuee SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
See https://github.com/ValveSoftware/csgo-osx-linux/issues/3454#issuecomment-1945281781:
Workaround that worked for me
- Setting the game to
FULLSCREEN WINDOWED
in settings- Adding
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command%
to launch options- Removing
-fullscreen
from launch optionsWith that the game starts in full-screen properly and keeps the full-screen window state after window focus is lost and regained.
https://github.com/ValveSoftware/csgo-osx-linux/issues/3650 should be fixed in next update
Still happening with today's update
I confirm the workaround posted by blamedrop works fine. (even with keeping plain fullscreen, not fullscreen windowed)
Can confirm the workaround by blamedrop works. It's a similar issue to dota 2 linux. In dota, this is a visible video option, while here you have to specify it in console commands.
Hello.
It is fixed for me.
I was able to remove SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
and game stays fullscreen when I alt tab out and back in
Surprising things regarding this issue: I just swapped my vega 64 GPU for a 7900GRE and while it used to be definitely fixed for me with vega, it is now back (and slightly worse) with the 7900...
With vega 64, initially the workaround was only to set env var SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 while I could keep fullscreen on. Then it somehow got fixed (either in game or my system updated) and no workaround was ever needed at all for me.
Now, I switch to 7900GRE, same OS, same display stack and drivers and the issue is back. And even more surprising: I had to follow the workaround completely this time. Setting only SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 as before was not sufficient, I do need to use windowed fullscreen and not true full screen.
Very weird, but it seems that the GPU itself is somehow affecting the issue.
Still a problem with current CS2 version
Hello,
Config: AMD vega 64 Archlinux On a freesync monitor mesa 24.0.1
When using fullscreen mode and alt-tabbing out and back in, while the game still thinks it is in fullscreen mode, my task bar is above the cs window and nothing seems to make it really full screen again except going in video settings, doing dummy changes and re-enabling fullscreen.
This is a regression since a few days (probably arms race update) as I never had this issue before.
Note: Also it seems to crash randomly when alt-tabbing now, when previously my game never crashed. Not sure if related to this issue though