ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
775 stars 69 forks source link

Steam overlay broken arch linux #2290

Open gatlinnewhouse opened 4 years ago

gatlinnewhouse commented 4 years ago

Your system information

Please describe your issue in as much detail as possible:

As described here as well

At first I thought it might be because I have HIDPI mode on my monitor, because before switching configs to HIDPI the overlay worked in CS:GO for example, but now I only get a grey background from the overlay which appears in the top right quarter of my screen if I shift+tab or when I first start playing CS:GO.

Maybe I should disable HiDPI since steam doesn't recognize it, and since my laptop it only technically HiDPI and cannot use system76's HiDPI daemon. (Galago UltraPro)

Steps for reproducing this issue:

  1. Play CS:GO on Steam, with a HiDPI configuration
  2. CS:GO opens with a grey background in the top right of the screen which eventually goes away
  3. Shift+tabbing will make this background appear and dissappear but will not make the steam overlay appear in a functional and full screen manner, it only shows the grey background in the top right of the screen.
TTimo commented 4 years ago

Agree this is likely specific to HiDPI. I don't have access to HiDPI hardware to test this atm.

gatlinnewhouse commented 4 years ago

Agree this is likely specific to HiDPI. I don't have access to HiDPI hardware to test this atm.

Anything I can do to provide more debugging info?

kochd commented 4 years ago

I am affected by this without any HiDPI setup. Also it was working before without any known changes made by me. Same grey quarter in the upper right corner. Running with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 does not fix this issue. Also: Only CS:GO is affected by this.

Sysinfo: https://gist.github.com/kochd/a69a3b067cba3d58f433006233e419eb

TTimo commented 4 years ago

@kochd is there a difference if you switch between Steam production (Feb 11) and Steam beta client (Feb 19)?

Your distro and driver setup looks very standard. Is it only CS:GO somehow - have you tried other 64 bit titles (dota 2 for instance?)

kochd commented 4 years ago

Steam stable has the same issue. I just tested Dota2 which works fine.

TTimo commented 4 years ago

Any other information on what changed on the system between working and not working? Updated packages that sort of thing?

kochd commented 4 years ago

Sure i am updating constantly. I can't remember when it exactly worked last time. In the beginning of January it definitely worked. However i updated a lot packages since then. What system packages could be related to this even when running with STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 ?

TTimo commented 4 years ago

Please don't use STEAM_RUNTIME_PREFER_HOST_LIBRARIES - it's an old developer-only thing that causes more problems than it actually helps.

But related to that - can you reproduce the problem if you configure CS:GO to run in the container runtime mode?

kochd commented 4 years ago

Yes its the same. I thought i might get rid of system libraries by using that environment variable but it produces the exact same result.

TTimo commented 4 years ago

Just to confirm - you've done this, right:

https://gyazo.com/558805ed907d4a28428bed573563ff46

That's "container runtime".

And the overlay render problem still happens in that configuration for you?

kochd commented 4 years ago

This option completely fails to run. Starts into a black screen and then crashes a few seconds later.

 USRLOCAL path using Steam profile data folder:
/home/steam/.steam/steam/userdata/134788955/730/local
Did not detect any valid joysticks.
Timed out waiting for game mapping!
RESZ NOT SUPPORTED!
INTZ NOT SUPPORTED!
RESZ NOT SUPPORTED!
INTZ NOT SUPPORTED!

 ##### swap interval = 0     swap limit = 1 #####
CGLMShaderPair::SetProgramPair: Centroid masks differ at link time of vertex shader screenspaceeffect_vs30 and pixel shader underwater_ps30!
 failed to dlopen /home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/matchmaking_client.so error=/home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/matchmaking_client.so: wrong ELF class: ELFCLASS32
CClientSteamContext logged on = 1
 failed to dlopen /home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/server_client.so error=/home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/server_client.so: wrong ELF class: ELFCLASS32
Game.dll loaded for "Counter-Strike: Global Offensive"
 failed to dlopen /home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so error=/home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/scenefilecache_client.so error=/home/steam/.steam/steam/steamapps/common/Counter-Strike Global Offensive/bin/scenefilecache_client.so: wrong ELF class: ELFCLASS32
CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
CGameEventManager::AddListener: event 'game_newmap' unknown.
CGameEventManager::AddListener: event 'finale_start' unknown.
CGameEventManager::AddListener: event 'round_start' unknown.
CGameEventManager::AddListener: event 'round_end' unknown.
CGameEventManager::AddListener: event 'difficulty_changed' unknown.
CGameEventManager::AddListener: event 'player_death' unknown.
CGameEventManager::AddListener: event 'hltv_replay' unknown.
CGameEventManager::AddListener: event 'player_connect' unknown.
CGameEventManager::AddListener: event 'player_disconnect' unknown.
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
../common/html/chrome_ipc_client.cpp (1343) : Assertion Failed: iRet == 0
../common/html/chrome_ipc_client.cpp (1362) : Assertion Failed: res > 0
kochd commented 4 years ago

Funny thing: The overlay just doesn't gets rendered. When i activate it and then blindly click around, it follows a youtube link someone in my friends list send me and plays it. You just don't see anything.

kochd commented 4 years ago

Nothing changed so far

TheNyneR commented 3 years ago

I have the same problem when setting mesa_no_error=true with amd gpu mentioned in this thread: https://github.com/ValveSoftware/csgo-osx-linux/issues/2102#issuecomment-669198464

TTimo commented 3 years ago

could be a problem with the mesa drivers then - anyone with an nvidia card reproduced this? e.g. overlay is "present" and "clickable", but does not draw?

@TheNyneR can you upload the output of Help > System Information to a gist? (make sure to wait for the full report to be assembled)

TheNyneR commented 3 years ago

could be a problem with the mesa drivers then - anyone with an nvidia card reproduced this? e.g. overlay is "present" and "clickable", but does not draw?

Might try to launch the game on a laptop with nvidia gpu.

@TheNyneR can you upload the output of Help > System Information to a gist? (make sure to wait for the full report to be assembled)

Here's the link to the gist: https://gist.github.com/TheNyneR/898444dd537edc1cf33072510b70a508