flathub / com.valvesoftware.Steam

https://flathub.org/apps/details/com.valvesoftware.Steam
339 stars 69 forks source link

CSGO stuck at black screen #857

Open FarisZR opened 2 years ago

FarisZR commented 2 years ago

Game information

CSGO

Distribution name and version where applicable

Fedora 35 Workstation

Flatpak info

❯   flatpak --version

Flatpak 1.12.3
❯   flatpak --gl-drivers

default
host

Problem description

CSGO will not launch, and will be stuck on a black screen.

i think these logs might help, i ran steam using the cli:

(steam:145): LIBDBUSMENU-GLIB-WARNING **: 21:32:23.173: Trying to remove a child that doesn't believe we're it's parent.

(steam:145): LIBDBUSMENU-GLIB-WARNING **: 21:32:23.173: Trying to remove a child that doesn't believe we're it's parent.

(steam:145): LIBDBUSMENU-GLIB-WARNING **: 21:32:23.173: Trying to remove a child that doesn't believe we're it's parent.

(steam:145): LIBDBUSMENU-GLIB-WARNING **: 21:32:23.173: Trying to remove a child that doesn't believe we're it's parent.
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 #####
Filesystem successfully switched to safe whitelist mode
 failed to dlopen /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/matchmaking_client.so error=/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/matchmaking_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/client_client.so error=/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/client_client.so: wrong ELF class: ELFCLASS32
CClientSteamContext logged on = 1
 failed to dlopen /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/bin/server_client.so error=/home/user/.var/app/com.valvesoftware.Steam/.local/share/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/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so error=/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so: wrong ELF class: ELFCLASS32
 failed to dlopen /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/bin/scenefilecache_client.so error=/home/user/.var/app/com.valvesoftware.Steam/.local/share/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).
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 31: Use of ambiguous path in <dir> element. please add prefix="cwd" if current behavior is desired.
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 38: unknown element "fontpattern"
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)

Does this issue reproduce with native Steam

It's broken for a different reason. https://github.com/ValveSoftware/csgo-osx-linux/issues/2651 this fixed it on fedora https://github.com/ValveSoftware/csgo-osx-linux/issues/2651#issuecomment-966213816 / https://github.com/ValveSoftware/csgo-osx-linux/issues/2659#issuecomment-1081135949

potatoalienof13 commented 2 years ago

This also happens to me.

JonasKnarbakk commented 2 years ago

Still an issue for me as well. In reference to already mentioning it in #812

GenocideStomper commented 2 years ago

Does anyone have a fix for this issue? I have the black screen issue in the flatpak version as well and the native version doesn't work for me anymore too: https://github.com/ValveSoftware/csgo-osx-linux/issues/2651 https://github.com/ValveSoftware/csgo-osx-linux/issues/2815

Edit: Pop!_OS 21.10 Nvidia GPU

ghost commented 2 years ago

Looking back I think the problem actually might be

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1) [ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)

FarisZR commented 2 years ago

Looks like CSGO is a hot mess on Linux in general. Absolutely disappointing by Valve.

It's also broken on normal steam too, although for a different reason https://github.com/ValveSoftware/csgo-osx-linux/issues/2651, and there is a fix https://github.com/ValveSoftware/csgo-osx-linux/issues/2651#issuecomment-966213816 / https://github.com/ValveSoftware/csgo-osx-linux/issues/2659#issuecomment-1081135949

FarisZR commented 2 years ago

Looking back I think the problem actually might be

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1) [ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)

It looks like it's related to Real-time priority permission.

There is a Real-time portal, however I'm not certain its related to this.

https://github.com/flatpak/xdg-desktop-portal/pull/600

FarisZR commented 2 years ago

Even after a fresh install of Fedora 36 it doesn't work. Its probably an issue with CSGO as no other games have the same problem