Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Valheim now crashing on launch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
frostsnow
n00b
n00b


Joined: 07 Feb 2014
Posts: 21

PostPosted: Mon Jul 22, 2024 12:46 am    Post subject: [SOLVED] Valheim now crashing on launch Reply with quote

Found a solution as I was typing all of this out, but will post anyways in the hopes that it may be useful to others.

The root cause is 'media-libs/mesa-24.1.3'. Downgrading to '24.0.9' or upgrading to '24.1.4' fixes the issue for me.

--------

I've been able to play Valheim since its launch date a few years ago, but as of last week I can no longer get the game to launch. The splash screen loads and the icon in the bottom right spins around. Then the icon fades and about 5 seconds later the splash screen disappears and the game crashes.

The issue appears to affect Valhiem specifically. Old World and Minetest run fine. 'glxinfo' shows that the GPU is being used. Valheim hasn't been updated since I started running into this issue; in fact, the issue started after doing weekly updates on Friday, so I suspect something changed then. I use '-console +force-opengl' for the Steam launch options and use "Play Valheim using OpenGL".

The Steam console generates the following output:

Code:

chdir "/home/frostsnow/steam/SteamApps/common/Valheim"
ERROR: ld.so: object '/home/frostsnow/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 19033 for gameID 892970
ERROR: ld.so: object '/home/frostsnow/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/frostsnow/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
steam-launch-wrapper: $XDG_RUNTIME_DIR not set.
ERROR: ld.so: object '/home/frostsnow/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 19034 for gameID 892970
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
<the splash screen loads and then the following happens around the same time as the crash>
Game 892970 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 892970 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 892970 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / HTMLSurface
Game 892970 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
Game 892970 created interface STEAMINVENTORY_INTERFACE_V003 / Inventory
Game 892970 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 892970 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 892970 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Game 892970 created interface STEAMREMOTEPLAY_INTERFACE_VERSION001 / RemotePlay
Game 892970 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / RemoteStorage
Game 892970 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 892970 created interface STEAMUGC_INTERFACE_VERSION017 / UGC
Game 892970 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / UserStats
Game 892970 created interface STEAMVIDEO_INTERFACE_V002 / Video
Game 892970 created interface SteamController008 /
Game 892970 created interface SteamFriends017 / Friends
Game 892970 created interface SteamInput006 /
Game 892970 created interface SteamInput006 / Controller
Game 892970 created interface SteamMatchGameSearch001 / GameSearch
Game 892970 created interface SteamMatchMaking009 / Matchmaking
Game 892970 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 892970 created interface SteamNetworking006 / Networking
Game 892970 created interface SteamNetworkingMessages002 /
Game 892970 created interface SteamNetworkingSockets012 /
Game 892970 created interface SteamNetworkingUtils004 /
Game 892970 created interface SteamParties002 / Parties
Game 892970 created interface SteamUser023 / User
Game 892970 created interface SteamUtils010 /
Game 892970 created interface SteamUtils010 / Utils
Game 892970 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
Game 892970 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
Game 892970 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
Game 892970 method call count for IClientHTTP::ReleaseHTTPRequest : 1
Game 892970 method call count for IClientHTTP::GetHTTPResponseBodyData : 1
Game 892970 method call count for IClientHTTP::SendHTTPRequest : 2
Game 892970 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
Game 892970 method call count for IClientHTTP::CreateHTTPRequest : 2
Game 892970 method call count for IClientRemoteStorage::IsCloudEnabledForAccount : 1
Game 892970 method call count for IClientApps::GetDLCCount : 2
Game 892970 method call count for IClientUtils::RecordSteamInterfaceCreation : 32
Game 892970 method call count for IClientUtils::GetAPICallResult : 4
Game 892970 method call count for IClientUtils::GetAppID : 35
Game 892970 method call count for IClientUtils::GetIPCountry : 1
Game 892970 method call count for IClientFriends::GetPersonaName : 1
Game 892970 method call count for IClientUser::GetSteamID : 4
Game 892970 method call count for IClientUser::BLoggedOn : 1
Uploaded AppInterfaceStats to Steam
src/clientcommon/clienthelpers.cpp (27) : Assertion Failed: FixupSteamAppsPathIfNecessary: unexpected 'SteamApps' "/home/frostsnow/steam/steamapps/compatdata" -> "/home/frostsnow/steam/SteamApps/compatdata"
src/clientcommon/clienthelpers.cpp (27) : Assertion Failed: FixupSteamAppsPathIfNecessary: unexpected 'SteamApps' "/home/frostsnow/steam/steamapps/compatdata" -> "/home/frostsnow/steam/SteamApps/compatdata"
Removing process 19034 for gameID 892970
Removing process 19033 for gameID 892970


The crash does not generate kernel log messages. There are some files of the form '/home/frostsnow/steam/SteamApps/common/Valheim/mono_crash.mem.${PID?}.1.blob' but they do not appear to correspond to known crashes and are not generated each time I launch the game, plus I don't know what to do with them. Backing up and launching with with game data '/home/frostsnow/.config/unity3d/IronGate' did not help.

My GPU is 'Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X]' in 'make.conf' I've 'VIDEO_CARDS="amdgpu radeon radeonsi"'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum