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

CS2 Crashing at end of intro movie

Open NO-ob opened this issue 2 years ago • 21 comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
  • Have you checked for system updates?: [Yes/No]

Please describe your issue in as much detail as possible:

After launching CS2 my game crashed when the intro video finished it should work. I have done a full reisntall of steam and counter strike and that has not fixed the issue

I think the issue may be to do with libpango

Fossilize INFO: Overriding serialization path: "/home/kannalo/.local/share/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x5fcfd3250ee0
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x5fcfd326dd40

reaping pid: 81132 -- gameoverlayui
[2024-05-04 22:30:22] Background update loop checking for update. . .
[2024-05-04 22:30:22] Checking for available updates...
[2024-05-04 22:30:22] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=1301217477
[2024-05-04 22:30:22] Manifest download: send request
[2024-05-04 22:30:22] Manifest download: waiting for download to finish
[2024-05-04 22:30:23] Manifest download: finished
[2024-05-04 22:30:23] Download skipped: /steam_client_ubuntu12?t=1301217477 version 1709846872, installed version 1709846872, existing pending version 0
[2024-05-04 22:30:23] Nothing to do
/bin/sh\0-c\0/home/kannalo/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/kannalo/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/kannalo/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam\0
chdir "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive"
ERROR: ld.so: object '/home/kannalo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kannalo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/kannalo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kannalo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/kannalo/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 81752 != 81751, skipping destruction (fork without exec?)
pid 81753 != 81751, skipping destruction (fork without exec?)
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x5fcfcf6e09e0
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/kannalo/.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
05/04 22:30:34 Init: Installing breakpad exception handler for appid(730)/version(8864476)/tid(81755)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198047411290 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198047411290
Setting breakpad minidump AppID = 2347771
Loaded libSDL3.so.0, got 0x5fcfcf7f9b30
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x5fcfcf6c28e0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x5fcfcf7ff3d0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x5fcfcf824850
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x5fcfcf962ae0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x5fcfcf82c1c0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x5fcfcfa4d8a0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x5fcfcf8c5f80
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
Fossilize INFO: Overriding serialization path: "/home/kannalo/.local/share/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x5fcfd3250ee0
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x5fcfd326dd40
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 43: unknown element "fontpattern"
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 86: saw string, expected range
Fontconfig warning: "/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/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/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/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
Loaded libfreetype.so.6, got 0x5fcfd326ecb0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x5fcfd326dd40
Loaded libfontconfig.so.1, got 0x5fcfd326f1b0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x5fcfd0fec540
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x5fcfd330e180
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpulse_system.so, got 0x5fcfd10c7650
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvscript.so, got 0x5fcfd1549570
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x5fcfd1549ad0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x5fcfd154c130
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvphysics2.so, got 0x5fcfd1550890
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x5fcfd1551a50
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsteamaudio.so, got 0x5fcfd33a8260
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenesystem.so, got 0x5fcfd33c3dc0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libparticles.so, got 0x5fcfd33d94d0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanoramauiclient.so, got 0x5fcfd33ec6c0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libv8system.so, got 0x5fcfd3415cb0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama.so, got 0x5fcfd33fa9c0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x5fcfd470f180
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libclient.so, got 0x5fcfd473f3a0
Loaded libmpg123.so.0, got 0x5fcfd477cbe0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libcairo.so, got 0x5fcfd13f2470
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x5fcfcf6e09e0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x5fcfd4a4a870
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x5fcfd4a5e0a0
Loaded /home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x5fcfd4a70490
crash_20240504223042_2.dmp[81825]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240504223042_2.dmp
crash_20240504223042_2.dmp[81825]: Finished uploading minidump (out-of-process): success = yes
crash_20240504223042_2.dmp[81825]: response: Discarded=1
crash_20240504223042_2.dmp[81825]: file ''/tmp/dumps/crash_20240504223042_2.dmp'', upload yes: ''Discarded=1''
pid 81825 != 81824, skipping destruction (fork without exec?)
/home/kannalo/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 118: 81755 Bus error               (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game 730 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 730 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
Game 730 created interface STEAMHTTP_INTERFACE_VERSION003 / 
Game 730 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
Game 730 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 730 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 730 created interface SteamAppDisableUpdate001 / 
Game 730 created interface SteamController008 / 
Game 730 created interface SteamFriends017 / 
Game 730 created interface SteamGameCoordinator001 / 
Game 730 created interface SteamGameStats001 / 
Game 730 created interface SteamInput006 / 
Game 730 created interface SteamMatchMaking009 / 
Game 730 created interface SteamNetworking006 / 
Game 730 created interface SteamNetworkingSocketsSerialized005 / 
Game 730 created interface SteamUser023 / 
Game 730 created interface SteamUser023 / User
Game 730 created interface SteamUtils010 / 
Game 730 created interface SteamUtils010 / Utils
Game 730 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
Game 730 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
Game 730 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
Game 730 method call count for IClientAppDisableUpdate::SetAppUpdateDisabledSecondsRemaining : 1
Game 730 method call count for IClientHTTP::ReleaseHTTPRequest : 5
Game 730 method call count for IClientHTTP::GetHTTPResponseBodyData : 5
Game 730 method call count for IClientHTTP::GetHTTPResponseBodySize : 3
Game 730 method call count for IClientHTTP::GetHTTPResponseHeaderValue : 1
Game 730 method call count for IClientHTTP::SendHTTPRequest : 5
Game 730 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Game 730 method call count for IClientHTTP::CreateHTTPRequest : 5
Game 730 method call count for IClientGameStats::GetNewSession : 1
Game 730 method call count for IClientGameCoordinator::RetrieveMessage : 7
Game 730 method call count for IClientGameCoordinator::IsMessageAvailable : 14
Game 730 method call count for IClientGameCoordinator::SendMessage : 3
Game 730 method call count for IClientRemoteStorage::FileExists : 2
Game 730 method call count for IClientRemoteStorage::GetFileTimestamp : 12
Game 730 method call count for IClientRemoteStorage::GetFileSize : 4
Game 730 method call count for IClientRemoteStorage::FileRead : 4
Game 730 method call count for IClientRemoteStorage::FileWrite : 5
Game 730 method call count for IClientNetworking::GetMaxPacketSize : 1
Game 730 method call count for IClientUserStats::DownloadLeaderboardEntries : 6
Game 730 method call count for IClientUserStats::FindLeaderboard : 6
Game 730 method call count for IClientUserStats::GetStat : 238
Game 730 method call count for IClientUserStats::RequestCurrentStats : 1
Game 730 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 730 method call count for IClientAppManager::GetLaunchCommandLine : 2
Game 730 method call count for IClientAppManager::GetAppStateInfo : 15
Game 730 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 730 method call count for IClientUtils::RecordSteamInterfaceCreation : 37
Game 730 method call count for IClientUtils::FilterText : 24
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::SetOverlayNotificationInset : 1
Game 730 method call count for IClientUtils::SetOverlayNotificationPosition : 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::GetAPICallResult : 18
Game 730 method call count for IClientUtils::GetAppID : 46
Game 730 method call count for IClientUtils::GetImageRGBA : 44
Game 730 method call count for IClientUtils::GetImageSize : 44
Game 730 method call count for IClientUtils::GetIPCountry : 3
Game 730 method call count for IClientUtils::GetServerRealTime : 3
Game 730 method call count for IClientFriends::GetProfileItemPropertyString : 18
Game 730 method call count for IClientFriends::RequestEquippedProfileItems : 43
Game 730 method call count for IClientFriends::GetFriendPersonaName_Public : 59
Game 730 method call count for IClientFriends::GetFriendSteamLevel : 34
Game 730 method call count for IClientFriends::RequestFriendRichPresence : 5
Game 730 method call count for IClientFriends::GetFriendRichPresenceKeyByIndex : 60
Game 730 method call count for IClientFriends::GetFriendRichPresenceKeyCount : 5
Game 730 method call count for IClientFriends::GetFriendRichPresence : 60
Game 730 method call count for IClientFriends::SetRichPresence : 63
Game 730 method call count for IClientFriends::RequestUserInformation : 47
Game 730 method call count for IClientFriends::GetFriendGamePlayed : 108
Game 730 method call count for IClientFriends::GetFriendByIndex : 108
Game 730 method call count for IClientFriends::GetFriendCount : 1
Game 730 method call count for IClientFriends::GetMediumFriendAvatar : 22
Game 730 method call count for IClientFriends::GetSmallFriendAvatar : 22
Game 730 method call count for IClientFriends::GetFriendPersonaState : 108
Game 730 method call count for IClientFriends::GetFriendRelationship : 108
Game 730 method call count for IClientFriends::GetPersonaName : 1
Game 730 method call count for IClientUser::BSetDurationControlOnlineState : 1
Game 730 method call count for IClientUser::BIsSubscribedApp : 16
Game 730 method call count for IClientUser::GetUserDataFolder : 1
Game 730 method call count for IClientUser::GetSteamID : 72
Game 730 method call count for IClientUser::BLoggedOn : 6
Uploaded AppInterfaceStats to Steam
^C^C^C^C^C^C^CSteam Runtime Launch Service: steam-runtime-launcher-service pid 80225 exited
^C^C^C^C^CSteam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 82040
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
^C^C^CSteam Runtime Launch Service: steam-runtime-launcher-service pid 82040 exited
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 82045
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam


Steps for reproducing this issue:

  1. Run CS2, it crashes

NO-ob avatar May 04 '24 21:05 NO-ob

Hello @NO-ob, can you check if https://gitlab.freedesktop.org/drm/amd/-/issues/3343 is relevant to your system? A quick test would be to check how the game behaves with an older kernel.

kisak-valve avatar May 04 '24 21:05 kisak-valve

Hello @NO-ob, can you check if https://gitlab.freedesktop.org/drm/amd/-/issues/3343 is relevant to your system? A quick test would be to check how the game behaves with an older kernel.

I will try a kernel downgrade tomorrow

NO-ob avatar May 04 '24 22:05 NO-ob

I have the same problem, and using the 6.6.30 LTS kernel (linux-lts package on arch). I've found that tabbing out quickly while forcing SDL to use pulseaudio instead of pipewire seemed to get it to work for a bit, but I've been unable to reproduce this, so it could be coincidence.

Cyclic3 avatar May 04 '24 23:05 Cyclic3

I've not been able to play CS2 since yesterday, it just crashes after intro movie. I've reinstalled steam via apt and flatpak, reinstalled CS2, reset my CS2 settings but nothing works! I also installed a new Arch Linux (my main system is Debian Sid) on a spare SSD, used the latest kernel and lts kernel, switched between RADV and AMDVLK, nothing ever seems to work.

System Information Steam Runtime Diagnostics

Steam logs Crash Dump

bunkbail avatar May 05 '24 01:05 bunkbail

I am having this issue as well.

distro: EndeavorOS (Arch)

AMD Ryzen 5 3500 6-Core Processor Radeon RX 5500/5500M / Pro 5500M Kernel driver in use: amdgpu Kernel modules: amdgpu

journalctl output: https://pastebin.com/BiLAtqJL

I am downgrading kernel to linux-amd 6.8.v.8-2, will update once complete and I can test CS2

ScottA-stack avatar May 05 '24 01:05 ScottA-stack

Hello @NO-ob, can you check if https://gitlab.freedesktop.org/drm/amd/-/issues/3343 is relevant to your system? A quick test would be to check how the game behaves with an older kernel.

having this issue as well (already commented in #3721, apparently not related). after downgrading from kernel 6.8.9 to 6.8.8 cs2 launches past the splash-screen.

not sure if #3343 is related, haven't tried running any other games.

distro: arch cpu: AMD Ryzen 5 5600X gpu: Radeon RX 6600 XT kernel driver: amdgpu

rootgordon avatar May 05 '24 07:05 rootgordon

Downgrade to kernel 6.8.8 also fixed the issue for me

NO-ob avatar May 05 '24 07:05 NO-ob

I don't have kernel 6.8.8 on me right now, but I can confirm that the game runs on 6.8.7. Game crashes on latest 6.8.9. Will try to bisect and find the offending commit.

bunkbail avatar May 05 '24 09:05 bunkbail

@kisak-valve it turns out this issue is related to https://gitlab.freedesktop.org/drm/amd/-/issues/3343 you shared earlier. I've reverted the commit ``drm/amdgpu: fix visible VRAM handling during faults` and recompiled 6.8.9 and the game is now working fine.

bunkbail avatar May 05 '24 09:05 bunkbail

Here is the Revert if anyone needs it:

From 4dd993adabd5f3cc200c11385f269640bee6936e Mon Sep 17 00:00:00 2001
From: Peter Jung <[email protected]>
Date: Sun, 5 May 2024 11:28:43 +0200
Subject: [PATCH] revert drm/amdgpu: fix visible VRAM handling during faults

a6ff969fe9cbf369e3cd0ac54261fec1122682ec

Signed-off-by: Peter Jung <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c     |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 22 ++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 22 ++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c    | 61 ++++++++--------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h    |  3 --
 5 files changed, 57 insertions(+), 53 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index ec888fc6ead8..0a4b09709cfb 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -819,7 +819,7 @@ static int amdgpu_cs_bo_validate(void *param, struct amdgpu_bo *bo)
 
 	p->bytes_moved += ctx.bytes_moved;
 	if (!amdgpu_gmc_vram_full_visible(&adev->gmc) &&
-	    amdgpu_res_cpu_visible(adev, bo->tbo.resource))
+	    amdgpu_bo_in_cpu_visible_vram(bo))
 		p->bytes_moved_vis += ctx.bytes_moved;
 
 	if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) {
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index ce733e3cb35d..dd90241248a4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -619,7 +619,8 @@ int amdgpu_bo_create(struct amdgpu_device *adev,
 		return r;
 
 	if (!amdgpu_gmc_vram_full_visible(&adev->gmc) &&
-	    amdgpu_res_cpu_visible(adev, bo->tbo.resource))
+	    bo->tbo.resource->mem_type == TTM_PL_VRAM &&
+	    amdgpu_bo_in_cpu_visible_vram(bo))
 		amdgpu_cs_report_moved_bytes(adev, ctx.bytes_moved,
 					     ctx.bytes_moved);
 	else
@@ -1273,25 +1274,23 @@ void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, bool evict)
 void amdgpu_bo_get_memory(struct amdgpu_bo *bo,
 			  struct amdgpu_mem_stats *stats)
 {
-	struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev);
-	struct ttm_resource *res = bo->tbo.resource;
 	uint64_t size = amdgpu_bo_size(bo);
 	struct drm_gem_object *obj;
 	unsigned int domain;
 	bool shared;
 
 	/* Abort if the BO doesn't currently have a backing store */
-	if (!res)
+	if (!bo->tbo.resource)
 		return;
 
 	obj = &bo->tbo.base;
 	shared = drm_gem_object_is_shared_for_memory_stats(obj);
 
-	domain = amdgpu_mem_type_to_domain(res->mem_type);
+	domain = amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type);
 	switch (domain) {
 	case AMDGPU_GEM_DOMAIN_VRAM:
 		stats->vram += size;
-		if (amdgpu_res_cpu_visible(adev, bo->tbo.resource))
+		if (amdgpu_bo_in_cpu_visible_vram(bo))
 			stats->visible_vram += size;
 		if (shared)
 			stats->vram_shared += size;
@@ -1392,7 +1391,10 @@ vm_fault_t amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo)
 	/* Remember that this BO was accessed by the CPU */
 	abo->flags |= AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED;
 
-	if (amdgpu_res_cpu_visible(adev, bo->resource))
+	if (bo->resource->mem_type != TTM_PL_VRAM)
+		return 0;
+
+	if (amdgpu_bo_in_cpu_visible_vram(abo))
 		return 0;
 
 	/* Can't move a pinned BO to visible VRAM */
@@ -1415,7 +1417,7 @@ vm_fault_t amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo)
 
 	/* this should never happen */
 	if (bo->resource->mem_type == TTM_PL_VRAM &&
-	    !amdgpu_res_cpu_visible(adev, bo->resource))
+	    !amdgpu_bo_in_cpu_visible_vram(abo))
 		return VM_FAULT_SIGBUS;
 
 	ttm_bo_move_to_lru_tail_unlocked(bo);
@@ -1579,7 +1581,6 @@ uint32_t amdgpu_bo_get_preferred_domain(struct amdgpu_device *adev,
  */
 u64 amdgpu_bo_print_info(int id, struct amdgpu_bo *bo, struct seq_file *m)
 {
-	struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev);
 	struct dma_buf_attachment *attachment;
 	struct dma_buf *dma_buf;
 	const char *placement;
@@ -1588,11 +1589,10 @@ u64 amdgpu_bo_print_info(int id, struct amdgpu_bo *bo, struct seq_file *m)
 
 	if (dma_resv_trylock(bo->tbo.base.resv)) {
 		unsigned int domain;
-
 		domain = amdgpu_mem_type_to_domain(bo->tbo.resource->mem_type);
 		switch (domain) {
 		case AMDGPU_GEM_DOMAIN_VRAM:
-			if (amdgpu_res_cpu_visible(adev, bo->tbo.resource))
+			if (amdgpu_bo_in_cpu_visible_vram(bo))
 				placement = "VRAM VISIBLE";
 			else
 				placement = "VRAM";
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
index fa03d9e4874c..be679c42b0b8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
@@ -250,6 +250,28 @@ static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo)
 	return drm_vma_node_offset_addr(&bo->tbo.base.vma_node);
 }
 
+/**
+ * amdgpu_bo_in_cpu_visible_vram - check if BO is (partly) in visible VRAM
+ */
+static inline bool amdgpu_bo_in_cpu_visible_vram(struct amdgpu_bo *bo)
+{
+	struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev);
+	struct amdgpu_res_cursor cursor;
+
+	if (!bo->tbo.resource || bo->tbo.resource->mem_type != TTM_PL_VRAM)
+		return false;
+
+	amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &cursor);
+	while (cursor.remaining) {
+		if (cursor.start < adev->gmc.visible_vram_size)
+			return true;
+
+		amdgpu_res_next(&cursor, cursor.size);
+	}
+
+	return false;
+}
+
 /**
  * amdgpu_bo_explicit_sync - return whether the bo is explicitly synced
  */
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 1d71729e3f6b..6417cb76ccd4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -133,7 +133,7 @@ static void amdgpu_evict_flags(struct ttm_buffer_object *bo,
 
 		} else if (!amdgpu_gmc_vram_full_visible(&adev->gmc) &&
 			   !(abo->flags & AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED) &&
-			   amdgpu_res_cpu_visible(adev, bo->resource)) {
+			   amdgpu_bo_in_cpu_visible_vram(abo)) {
 
 			/* Try evicting to the CPU inaccessible part of VRAM
 			 * first, but only set GTT as busy placement, so this
@@ -403,55 +403,40 @@ static int amdgpu_move_blit(struct ttm_buffer_object *bo,
 	return r;
 }
 
-/**
- * amdgpu_res_cpu_visible - Check that resource can be accessed by CPU
- * @adev: amdgpu device
- * @res: the resource to check
+/*
+ * amdgpu_mem_visible - Check that memory can be accessed by ttm_bo_move_memcpy
  *
- * Returns: true if the full resource is CPU visible, false otherwise.
+ * Called by amdgpu_bo_move()
  */
-bool amdgpu_res_cpu_visible(struct amdgpu_device *adev,
-			    struct ttm_resource *res)
+static bool amdgpu_mem_visible(struct amdgpu_device *adev,
+			       struct ttm_resource *mem)
 {
+	u64 mem_size = (u64)mem->size;
 	struct amdgpu_res_cursor cursor;
+	u64 end;
 
-	if (!res)
-		return false;
-
-	if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT ||
-	    res->mem_type == AMDGPU_PL_PREEMPT)
+	if (mem->mem_type == TTM_PL_SYSTEM ||
+	    mem->mem_type == TTM_PL_TT)
 		return true;
-
-	if (res->mem_type != TTM_PL_VRAM)
+	if (mem->mem_type != TTM_PL_VRAM)
 		return false;
 
-	amdgpu_res_first(res, 0, res->size, &cursor);
+	amdgpu_res_first(mem, 0, mem_size, &cursor);
+	end = cursor.start + cursor.size;
 	while (cursor.remaining) {
-		if ((cursor.start + cursor.size) >= adev->gmc.visible_vram_size)
-			return false;
 		amdgpu_res_next(&cursor, cursor.size);
-	}
 
-	return true;
-}
+		if (!cursor.remaining)
+			break;
 
-/*
- * amdgpu_res_copyable - Check that memory can be accessed by ttm_bo_move_memcpy
- *
- * Called by amdgpu_bo_move()
- */
-static bool amdgpu_res_copyable(struct amdgpu_device *adev,
-				struct ttm_resource *mem)
-{
-	if (!amdgpu_res_cpu_visible(adev, mem))
-		return false;
+		/* ttm_resource_ioremap only supports contiguous memory */
+		if (end != cursor.start)
+			return false;
 
-	/* ttm_resource_ioremap only supports contiguous memory */
-	if (mem->mem_type == TTM_PL_VRAM &&
-	    !(mem->placement & TTM_PL_FLAG_CONTIGUOUS))
-		return false;
+		end = cursor.start + cursor.size;
+	}
 
-	return true;
+	return end <= adev->gmc.visible_vram_size;
 }
 
 /*
@@ -544,8 +529,8 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict,
 
 	if (r) {
 		/* Check that all memory is CPU accessible */
-		if (!amdgpu_res_copyable(adev, old_mem) ||
-		    !amdgpu_res_copyable(adev, new_mem)) {
+		if (!amdgpu_mem_visible(adev, old_mem) ||
+		    !amdgpu_mem_visible(adev, new_mem)) {
 			pr_err("Move buffer fallback to memcpy unavailable\n");
 			return r;
 		}
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
index 32cf6b6f6efd..65ec82141a8e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
@@ -139,9 +139,6 @@ int amdgpu_vram_mgr_reserve_range(struct amdgpu_vram_mgr *mgr,
 int amdgpu_vram_mgr_query_page_status(struct amdgpu_vram_mgr *mgr,
 				      uint64_t start);
 
-bool amdgpu_res_cpu_visible(struct amdgpu_device *adev,
-			    struct ttm_resource *res);
-
 int amdgpu_ttm_init(struct amdgpu_device *adev);
 void amdgpu_ttm_fini(struct amdgpu_device *adev);
 void amdgpu_ttm_set_buffer_funcs_status(struct amdgpu_device *adev,
-- 
2.45.0

ptr1337 avatar May 05 '24 10:05 ptr1337

I have the same problem, and using the 6.6.30 LTS kernel (linux-lts package on arch). I've found that tabbing out quickly while forcing SDL to use pulseaudio instead of pipewire seemed to get it to work for a bit, but I've been unable to reproduce this, so it could be coincidence.

According to this reddit comment, this bug was backported to LTS as well for some reason.

With the freedesktop thread linked in that post, i found that disabling "above 4G decoding" did not fix the issue, but going back to the 6.6.23 linux-rt-lts arch package (which is an earler version than the linux-lts i tried before) appears to fix the issue

Cyclic3 avatar May 05 '24 10:05 Cyclic3

Lol that's dumb. Explains why I couldn't launch the game with the LTS kernel earlier.

bunkbail avatar May 05 '24 11:05 bunkbail

I encountered this problem yesterday when loading my savegame for A Crab's Treasure where the game would just crash after the loading sequence has been completed. I suspected a shader compilation issue first as there was a package upgrade for that on Arch Linux as well until I nailed it down to the kernel version as my last suspicion after too much time already invested.
Downgrading to 6.8.8 fixes the problem or just enabling "above 4G decoding" in the bios. I used a rather old-ish platform (z170) for this that does not have explicit rebar support for that this option would have been a requirement. Consequently this issue should go unnoticed on newer (amd) x86 platforms.

SunRed avatar May 06 '24 19:05 SunRed

Changing this in the BIOS worked for me

  • Above 4G Decoding
  • Disable CMS

andradei avatar May 06 '24 23:05 andradei

Having this on NixOS as well, I will try enabling 4G decoding reset my BIOS a while ago and meant to do that anyway lol

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe8f5e7b0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe8f5cf90
steamwebhelper.sh[22674]: === Fri May 10 02:27:10 PM CDT 2024 ===
steamwebhelper.sh[22674]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/noah/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
CAppInfoCacheReadFromDiskThread took 51 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 22757
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
BRefreshApplicationsInLibrary 1: 1ms
BuildCompleteAppOverviewChange: 354 apps
RegisterForAppOverview 1: 18ms
RegisterForAppOverview 2: 18ms
/bin/sh\0-c\0/home/noah/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- /home/noah/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/noah/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun --  '/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh' -steam\0
chdir "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive"
ERROR: ld.so: object '/home/noah/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noah/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/noah/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noah/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/noah/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pressure-vessel-wrap[23300]: W: "/run/current-system/sw/bin/getent" is unlikely to appear in "/run/host"
pressure-vessel-wrap[23300]: W: Found more than one possible libdrm data directory from provider
pid 23438 != 23437, skipping destruction (fork without exec?)
pid 23439 != 23437, skipping destruction (fork without exec?)
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x562096b339e0
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/noah/.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
05/10 19:27:34 minidumps folder is set to /tmp/dumps
05/10 19:27:34 Init: Installing breakpad exception handler for appid(730)/version(8881868)/tid(23441)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198418591122 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561198418591122
Setting breakpad minidump AppID = 2347771
Loaded libSDL3.so.0, got 0x562096c4bf20
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x562096b158e0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x562096ca3850
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x562096ccd670
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x562096dc5fd0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x562096cb70b0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x562096dc6d30
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x562096ddad70
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
Fossilize INFO: Overriding serialization path: "/home/noah/.local/share/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x56209a6c12f0
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x56209a6ef1b0
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 43: unknown element "fontpattern"
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 86: saw string, expected range
Fontconfig warning: "/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/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/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/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
Loaded libfreetype.so.6, got 0x56209a6f0270
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x56209a6ef1b0
Loaded libfontconfig.so.1, got 0x56209a6f0880
GameOverlay: started '/home/noah/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 23477) for game process 23441
05/10 14:27:37 minidumps folder is set to /tmp/dumps
05/10 14:27:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240503231115)/tid(23477)
05/10 14:27:37 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(23477)
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x56209a79b120
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x56209a7ad790
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpulse_system.so, got 0x56209a7c0280
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvscript.so, got 0x56209a7d4d50
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x56209a7e7430
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x56209a7fb840
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvphysics2.so, got 0x56209a811a40
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x56209a824eb0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsteamaudio.so, got 0x56209a83b4a0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenesystem.so, got 0x56209a8579d0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libparticles.so, got 0x56209a86d3e0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanoramauiclient.so, got 0x56209a8808a0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libv8system.so, got 0x56209a8a9a80
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama.so, got 0x56209a88ee50
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x56209affc7d0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libclient.so, got 0x56209b02d100
Loaded libmpg123.so.0, got 0x56209b06aae0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libcairo.so, got 0x56209b4a7410
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x562096b339e0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x56209b59b1c0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x56209b5ae8d0
Loaded /home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x56209b5c0cc0
crash_20240510192743_2.dmp[23520]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240510192743_2.dmp
crash_20240510192743_2.dmp[23520]: Finished uploading minidump (out-of-process): success = yes
crash_20240510192743_2.dmp[23520]: response: Discarded=1
crash_20240510192743_2.dmp[23520]: file ''/tmp/dumps/crash_20240510192743_2.dmp'', upload yes: ''Discarded=1''
pid 23520 != 23519, skipping destruction (fork without exec?)
/home/noah/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 118: 23441 Bus error               (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

nonetrix avatar May 10 '24 19:05 nonetrix

Yep did the trick for me, I guess it tries to check for it but returns true always or something weird? Just me trying to guess what happens here

nonetrix avatar May 10 '24 19:05 nonetrix

If we tell people we are running Linux nobody will ever even try it

Af0x avatar May 10 '24 21:05 Af0x

What I wanted to say is that although this game weighs so much money and being advertised as Steam OS/Linux compatible, there seems to be no standard testing procedure for commodity hardware under different Linux flavours. Besides that, a critical bug that makes players crash 5 to sometimes more than 10 times during one competitive match being unfixed for more than one week just underlines the previous statement and shows the lack of resources made available for this OS (to me it feels like none).

Af0x avatar May 12 '24 07:05 Af0x

I have a first-gen ryzen, so enabling rebar wasn't an option. However, the latest amd-staging-drm has fixed the crashing bugs, so anyone still dealing with this can use that (or wait until it's mainlined ig)

Cyclic3 avatar May 13 '24 00:05 Cyclic3

Same :

➜  linuxsteamrt64 ./cs2
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x6293d9416a00
Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/anais/.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
05/16 16:49:21 minidumps folder is set to /tmp/dumps
05/16 16:49:21 Init: Installing breakpad exception handler for appid(730)/version(8881868)/tid(94065)
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561199051633521 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561199051633521
Setting breakpad minidump AppID = 2347771
Loaded libSDL3.so.0, got 0x6293d9533dc0
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x6293d93f7f80
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x6293d9578db0
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x6293d95483d0
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x6293d95ba350
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x6293d95d1280
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x6293d9592080
Loaded /run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x6293d9590a20
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
Fossilize INFO: Overriding serialization path: "/run/media/anais/29b1193b-a8fc-402e-a3ec-5ffcaf00e725/SteamLibrary/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
crash_20240516164922_2.dmp[94113]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240516164922_2.dmp
[1]    94065 bus error (core dumped)  ./cs2
➜  linuxsteamrt64 crash_20240516164922_2.dmp[94113]: Finished uploading minidump (out-of-process): success = yes
crash_20240516164922_2.dmp[94113]: response: Discarded=1
crash_20240516164922_2.dmp[94113]: file ''/tmp/dumps/crash_20240516164922_2.dmp'', upload yes: ''Discarded=1''

OS: Arch Linux x86_64 Host: MS-7C02 1.0 Kernel: 6.8.9-zen1-2-zen Packages: 1563 (pacman), 19 (flatpak) Shell: zsh 5.9 Resolution: 2560x1440 DE: Plasma 6.0.4 WM: kwin Icons: breeze [GTK2/3] Terminal: konsole CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz GPU: AMD ATI Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600 Memory: 6188MiB / 32014MiB

I will try the 6.1 Kernel version

Edit:

With the 6.1 LTS Kernel, CSGO Work !!! yay -S linux-lts61 linux-lts61-headers

Kisakay avatar May 16 '24 16:05 Kisakay