csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

CS2 Stuck on Valve logo, switches rapidly between monitors

Open dizeeee opened this issue 1 year ago • 13 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist: https://gist.github.com/dizeeee/a4d9a8a591d7ebb2ec69e033edf07d8f
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

After initially downloading CS2, and validating files to get it to start, I managed to get the game running as expected. It started in window mode, which I changed to full screen mode. I closed the game after that, and every launch since then get's stuck in fullscreen on the Valve logo. The window switches between both of my monitors after a few seconds, and does not get past this screen.

Steps for reproducing this issue:

  1. Launch game

dizeeee avatar Sep 27 '23 22:09 dizeeee

Possibly related to https://github.com/ValveSoftware/Dota-2/issues/2482.

kisak-valve avatar Sep 27 '23 22:09 kisak-valve

Temporary solution until fixed. use this launch flag "-sw -w 1920 -h 1080" it should load up into windowed mode then you can change to borderless fullscreen. It seems this does not save so you will have to leave this flag in place and change the windowing mode every time. If you have difficulties switching to fullscreen windowed then tab in and tab out.

TheAnnoyingFruit avatar Sep 28 '23 00:09 TheAnnoyingFruit

@TheAnnoyingFruit That looks like it fixed it for the time being, thank you!

dizeeee avatar Sep 28 '23 01:09 dizeeee

The window switching bug also occurs when switching focus to a different window/application (Alt-tabbing)

owenwastaken avatar Sep 28 '23 01:09 owenwastaken

A solution is to use gamescope like this: gamescope -f -W 1920 -H 1080 -o 30 -- %command%

EnderIce2 avatar Sep 28 '23 19:09 EnderIce2

A solution is to use gamescope like this: gamescope -f -W 1920 -H 1080 -o 30 -- %command%

weirdly for me that did not fix the problem

TheAnnoyingFruit avatar Sep 28 '23 23:09 TheAnnoyingFruit

Retested and the issue is still present. I've had no issues by running the game with -sw -w 1920 -h 1080 and changing fullscreen after launch though.

dizeeee avatar Sep 29 '23 15:09 dizeeee

I also had this issue, so I unplugged my second monitor and then the game booted normally. I exited the game, plugged the second monitor, and it worked fine. I didn't have this issue since.

Debian Bookworm, Wayland, AMD GPU.

MauricioFauth avatar Oct 02 '23 17:10 MauricioFauth

I also encountered this issue (Arch Linux, GNOME, X11, AMD GPU). However, EnderIce2's solution of using gamescope seems to work just fine for me.

kforney avatar Oct 08 '23 08:10 kforney

I thought the issue was resolved, but after testing more, it showed up again. I'm going to leave the comment I was originally going to leave below. The launch options I was using no longer work now due to the error I describe here:

After today's update (10/12/23), it seems like the issue is resolved. I am getting some other weird behavior similar to this though.

When launching the game with -sw -w 1920 -h 1080 and attempting to switch to full screen windowed, the game now seems to rapidly switch between 1080p and full screen.

When I remove the launch options, the game starts in full screen like normal, but on my second monitor. Switching to full screen windowed allows me to drag it over to my main monitor without any issues, however clicking on a window on the second monitor causes it to move back to that monitor.

dizeeee avatar Oct 12 '23 23:10 dizeeee

Almost the same issue for me on up to date Pop_OS, Gnome, X11, AMD GPU.

Issue happens on DOTA 2 aswell. I can actually launch both games but if I alt-tab the fiesta starts and its a mess to get an actual focus back.

Issue was supposedly gone for a few updates but it came back.

Already reported to the CS2 feedback mail box.

Also if I don't Alt Tab, sometimes the games quickly loses focus back and forth for a few seconds, making it a random playing shooter...

edit : typo

troll-os avatar Nov 26 '23 17:11 troll-os

When can we as customers expect a fix for this @kisak-valve ?

WalnussPower avatar Jan 06 '24 12:01 WalnussPower

DOTA 2 still flashing between monitors. Have to unplug second monitor to start dota. please fix. @kisak-valve

mdumitrean avatar May 08 '24 21:05 mdumitrean