ValveSoftware / csgo-osx-linux

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

CS2 not launching after latest major updates #3698

Open NASA4SPACE4000 opened 8 months ago

NASA4SPACE4000 commented 8 months ago
Computer Information: ``` Manufacturer: Dell Inc. Model: 00F6D3 Form Factor: Laptop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz CPU Family: 0x6 CPU Model: 0x4e CPU Stepping: 0x3 CPU Type: 0x0 Speed: 3000 MHz 4 logical processors 2 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Ubuntu 22.04.4 LTS (64 bit) Kernel Name: Linux Kernel Version: 6.5.0-25-generic X Server Vendor: The X.Org Foundation X Server Release: 12201001 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20240304.79797 Video Card: Driver: Intel Mesa Intel(R) HD Graphics 520 (SKL GT2) Driver Version: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x8086 DeviceID: 0x1916 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 12.20" x 6.69" (13.90" diag), 31.0cm x 17.0cm (35.3cm diag) Primary VRAM Not Detected Sound card: Audio device: Realtek ALC3246 Memory: RAM: 15631 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 238775 MB Largest Free Hard Disk Block: 43933 MB Storage: Number of SSDs: 1 SSD sizes: 256G Number of HDDs: 0 Number of removable drives: 0 ```

Please describe your issue in as much detail as possible:

After the latest CS2 major updates, the game hasn't been launching, when I click "PLAY" and skip the vulkan shader processing part (my integrated graphics can't do it) it says "LAUNCHING" and after about 3 seconds it goes back to "PLAY" and the game did not launch. I've tried uninstalling and installing the game, tried the game on other laptops (it only works on windows laptops after last updates) and tried using other steam play compatibility tools like proton (with proton the game does launch but whenever i try to join a match the game crashed instantly). Steam is installed using the file from the steam website not the Canonical version from Ubuntu Software. Considering that this issue only appeared after the recent major updates I thought that I need to wait for Valve to patch this in a future update but I wanted to know if there was anything else I could do.

Steps for reproducing this issue:

  1. Install and update CS2
  2. Click "PLAY"
  3. The game does not launch
Admonito commented 8 months ago

It neither launches for me,i get segmentation fault.

bull500 commented 7 months ago

Here a log of whats going wrong while launching CS2 on Ubuntu

Output from /tmp/dumps/


8(0.333028):  Unknown read error 21
7(0.330148):  Visibility enabled.
6(0.129099):  CSteam3Client::Activate succeeded.  SteamID is [U:1:134308394] (76561198094574122), AppID is 730
5(0.128970):  ResetBreakpadAppId: Setting non standard break pad app id: 2347771
4(0.128968):  ResetBreakpadAppId: Universe is 1 (k_EUniversePublic)
3(0.128953):  SteamAPI_Init succeeded.  SteamID is [U:1:134308394] (76561198094574122), AppID is 730
2(0.074079):  InitSteamLogin_Internal: Initializing breakpad.
1(0.074046):  Steam AppId(730), BreakpadId(2347771)

linuxuser@linuxuser-lenovo:~$ steam steam://rungameid/730

steam.sh[225374]: Running Steam on ubuntu 22.04 64-bit
steam.sh[225374]: STEAM_RUNTIME is enabled automatically
setup.sh[225495]: Steam runtime environment up-to-date!
steam.sh[225374]: Steam client's requirements are satisfied
tid(225562) burning pthread_key_t == 0 so we never use it
[2024-03-29 22:27:57] Startup - updater built Mar  6 2024 20:27:25
[2024-03-29 22:27:57] Startup - Steam Client launched with: '/home/linuxuser/.local/share/Steam/ubuntu12_32/steam' 'steam://rungameid/730'
minidumps folder is set to /tmp/dumps
03/29 22:27:57 Init: Installing breakpad exception handler for appid(steam)/version(1709846872)/tid(225562)
[2024-03-29 22:27:57] Loading cached metrics from disk (/home/linuxuser/.local/share/Steam/package/steam_client_metrics.bin)
[2024-03-29 22:27:57] Using the following download hosts for Public, Realm steamglobal
[2024-03-29 22:27:57] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-03-29 22:27:57] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-03-29 22:27:57] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-03-29 22:27:57] Verifying installation...
[2024-03-29 22:27:57] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/linuxuser/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe9f08370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe9f06cc0
/usr/share/themes/Yaru-dark/gtk-2.0/main.rc:775: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Yaru-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
steamwebhelper.sh[225590]: === Friday 29 March 2024 10:28:01 PM IST ===
steamwebhelper.sh[225590]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/linuxuser/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
CAppInfoCacheReadFromDiskThread took 41 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 225687
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 185 apps
RegisterForAppOverview 1: 11ms
RegisterForAppOverview 2: 11ms
/bin/sh\0-c\0/home/linuxuser/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/linuxuser/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/linuxuser/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam\0
chdir "/media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive"
ERROR: ld.so: object '/home/linuxuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/linuxuser/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/linuxuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/linuxuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/linuxuser/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 226207 != 226206, skipping destruction (fork without exec?)
pid 226208 != 226206, skipping destruction (fork without exec?)
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x56306a6f4da0
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/linuxuser/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 730
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
minidumps folder is set to /tmp/dumps
03/29 22:28:09 Init: Installing breakpad exception handler for appid(730)/version(8785955)/tid(226210)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198094574122 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198094574122
Setting breakpad minidump AppID = 2347771
Loaded libSDL3.so.0, got 0x56306a82f1a0
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x56306a6de850
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x56306a85f610
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x56306a860070
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x56306a981bd0
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x56306aaa8350
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x56306a9d9a30
Loaded /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x56306aa62690
Fossilize INFO: Overriding serialization path: "/media/linuxuser/New Volume/steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
crash_20240329222815_2.dmp[226256]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240329222815_2.dmp
/media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 118: 226210 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
crash_20240329222815_2.dmp[226256]: Finished uploading minidump (out-of-process): success = yes
crash_20240329222815_2.dmp[226256]: response: Discarded=1
crash_20240329222815_2.dmp[226256]: file ''/tmp/dumps/crash_20240329222815_2.dmp'', upload yes: ''Discarded=1''
pid 226256 != 226255, skipping destruction (fork without exec?)
Game 730 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 730 created interface SteamFriends017 / 
Game 730 created interface SteamUser023 / 
Game 730 created interface SteamUser023 / User
Game 730 created interface SteamUtils010 / 
Game 730 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 730 method call count for IClientUtils::RecordSteamInterfaceCreation : 6
Game 730 method call count for IClientUtils::InitFilterText : 1
Game 730 method call count for IClientUtils::IsSteamChina : 1
Game 730 method call count for IClientUtils::GetLauncherType : 1
Game 730 method call count for IClientUtils::GetSteamUILanguage : 1
Game 730 method call count for IClientUtils::GetAppID : 9
Game 730 method call count for IClientUtils::GetIPCountry : 1
Game 730 method call count for IClientFriends::GetFriendPersonaName_Public : 2
Game 730 method call count for IClientUser::GetUserDataFolder : 1
Game 730 method call count for IClientUser::GetSteamID : 5
Uploaded AppInterfaceStats to Steam

Problem occurs here (Segmentation fault): /media/linuxuser/New Volume/steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 118: 226210 Segmentation fault (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Admonito commented 7 months ago

@bull500 Using Flatpak steam fixed it for me. Try it.

NASA4SPACE4000 commented 7 months ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3698#issuecomment-2027496168

Any way to stop this form happening?

Admonito commented 7 months ago

Have tried running from flatpak steam?

Mm2PL commented 7 months ago

Can replicate with steam from my distro's repo that is not flatpak.

I'm running Arch Linux. My GNU libc package version is 2.39-1 (from distro repo). I have two GPUs (integrated AMD and dedicated Nvidia). Only Nvidia is configured to be usable with Vulkan (so I don't need to force anything to use the correct GPU). My driver version is 550.67 (extra/nvidia-lts). I'm using X11, i3wm and picom as my compositor. My kernel version is 6.6.23 (LTS). The game worked until an update of either it or my system (I can't reliably tell which). Setting PRESSURE_VESSEL_SHELL=instead and running vkgears from inside the Sniper container works (after setting shared library path for vkgears to be happy). I'm happy to provide more info or core dumps if needed.

Stacktrace ``` On 2024-05-12 I got a slightly different stack trace to the ones i got previously sha256 sums of relevant files: 8bb772b493f165db10d3cdf5a8f5b3006081a673d0c2fdb9cffd83a2cf9acd95 libtier0.so e76955ee9829b90043502b9f2808654db050b6c3abd6bf7e2df2a49ed7eeaa78 cs2 d1830200334150191585cf24ed26f345ad2be66372dd533f9a84e7a59d21b2e5 librendersystemvulkan.so 0003fc65f80506404f19af215f46d044684ab05d8011cd83a93f0e8215ca0f6e libengine2.so New stack trace (cs2 binary wasn't updated, libtier0.so and libengine2.so probably were) Stack trace of thread 12058: #0 0x000075661a3a5a20 n/a (/run/host/usr/lib/libc.so.6 + 0x167a20) #1 0x0000756618335ca6 n/a ([gamedir]/game/bin/linuxsteamrt64/libtier0.so + 0x135ca6) #2 0x000075661837d1b8 n/a ([gamedir]/game/bin/linuxsteamrt64/libtier0.so + 0x17d1b8) #3 0x00007565f25538f8 n/a ([gamedir]/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x1538f8) #4 0x00007565f2555184 n/a ([gamedir]/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x155184) #5 0x00007565f25aaa5f n/a ([gamedir]/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x1aaa5f) #6 0x00007565f257f868 n/a ([gamedir]/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x17f868) #7 0x0000756616c6e0c5 n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x26e0c5) #8 0x00007565f2582e42 n/a ([gamedir]/game/bin/linuxsteamrt64/librendersystemvulkan.so + 0x182e42) #9 0x0000756616e3e39a n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x43e39a) #10 0x0000756616e3eedc n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x43eedc) #11 0x0000756616c6eb72 n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x26eb72) #12 0x0000756616c6ef30 n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x26ef30) #13 0x0000756616ba27e7 n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x1a27e7) #14 0x0000756616ba2c7f n/a ([gamedir]/game/bin/linuxsteamrt64/libengine2.so + 0x1a2c7f) #15 0x00005e4b89e1af70 n/a ([gamedir]/game/bin/linuxsteamrt64/cs2 + 0x3f70) #16 0x00005e4b89e1a920 n/a ([gamedir]/game/bin/linuxsteamrt64/cs2 + 0x3920) #17 0x000075661a263c88 n/a (/run/host/usr/lib/libc.so.6 + 0x25c88) #18 0x000075661a263d4c n/a (/run/host/usr/lib/libc.so.6 + 0x25d4c) #19 0x00005e4b89e1ad9a n/a ([gamedir]/game/bin/linuxsteamrt64/cs2 + 0x3d9a) ELF object binary architecture: AMD x86-64 ``` The post's edit history contains previous stack traces, they are all similar, likely the exact same code but different builds.
NASA4SPACE4000 commented 7 months ago

Have tried running from flatpak steam?

It works with flatpak, thank you!

Mm2PL commented 7 months ago

Unable to replicate the workaround with installing Steam from flatpak. I copied my CS installation into the flatpak sandbox (updated all library data configs). Game crashes with a similar stacktrace (same end point) as my most recent update (with binary sha256 e7695...eaa78).