Skip to content

Nov 5th 2024 update Linux not working w/Valheim : Unable to launch game via a mod manager with mods. #708

@AngelQC

Description

@AngelQC

Your system information

  • Steam Runtime Version: 0.20240916.0+srt1
  • Distribution (e.g. Ubuntu 18.04): Arcolinux, rolling release current.
  • Link to your full system information (Help -> Steam Runtime Diagnostics) in a Gist:
  • Have you checked for system updates?: [Yes/No] Yes, system up to date.
  • What compatibility tool are you using?: [None / Steam Linux Runtime / Proton 5.13+ / older Proton] None, native game.
  • What versions are listed in steamapps/common/SteamLinuxRuntime/VERSIONS.txt?
    • depot 0.20240806.0
    • scripts 0.20240806.0
  • What versions are listed in steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt?
    • depot 0.20241111.107902
    • pressure-vessel 0.20241111.0
    • scripts 0.20241111.0
    • soldier 0.20241111.107902
    • soldier_platform_0.20241111.107902
  • What versions are listed in steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt?
    • depot 0.20241008.104210
    • pressure-vessel 0.20240916.0
    • scripts 0.20240916.0
    • sniper 0.20241008.104210
    • sniper_platform_0.20241008.104210

Please describe your issue in as much detail as possible:

I have been paying Valheim exclusively on linux, various distributions, since march 2021. I have been using Arcolinux now for close to a year without a hitch. Since the November 5th patch, I have been unable to launch the game with mods through my usual method, r2modman. This is a mod manager for launching Unity-engine games with, or without, mods.

At first the game wasn't launching at all, even vanilla, until this tip was given into another thread, using a newer version of the steam soldier. With this version the game launches without mods, not having PlayFab-related problems anymore.

Then launching the game with any amount of mods will not make it to recreating the player.log file, so I basically do not have a working log to work with.

Being the tech that I am, I digged into the two scripts used by r2modman to launch the game, and saw two different methods/executables

  • /home/jay/.local/share/Steam/ubuntu12_32/steam-launch-wrapper
  • /home/jay/Games/SteamLibrary/steamapps/common/Valheim/valheim.x86_64

The former crashes without generating the expected Valheim log file,
The later goes further, so I tricked the script into starting the bin file instead of the wrapper and I get the log, which ends with :

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
0x758c9611565a - /home/jay/Games/SteamLibrary/steamapps/common/Valheim/valheim_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
0x758c960be049 - /home/jay/Games/SteamLibrary/steamapps/common/Valheim/valheim_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
0x758c960434d0 - /home/jay/Games/SteamLibrary/steamapps/common/Valheim/valheim_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so : 
0x758cbcb2f1d0 - /usr/lib/libc.so.6 : 
0x758c1037001e - /usr/lib/libvulkan_radeon.so : 
0x758c103741af - /usr/lib/libvulkan_radeon.so : 
0x758c103721af - /usr/lib/libvulkan_radeon.so :   

=================================================================
	Telemetry Dumper:
=================================================================
Thread 0x758bfce006c0 may have been prematurely finalized* Assertion at mono-threads.c:702, condition `info' not met, function:mono_thread_info_current, 

An error has occured in the native fault reporting. Some diagnostic information will be unavailable.
...
=================================================================
	External Debugger Dump:
=================================================================
ERROR: ld.so: object '/home/jay/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/usr/bin/gdb: /home/jay/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /usr/lib/libdebuginfod.so.1)

Exiting early due to double fault.

..
Here is the full log

Normally, this execution ends with the game screen being shows.

I am still browsing through ~/.steam/steam/log files, trying to find some hints as to what Valheim could leave behind when exiting, no luck so far..

Steps for reproducing this issue:

  1. Install Valheim
  2. Install r2modman from your distribution, aur or thunderstore.io
  3. Modify the game's launch string as directed by the tool
  4. Install some mods
  5. Start the game "modded". If Steam is open in the Library view, you will see the game's states:
  • Launching
  • Running
  • None
  1. To verify the proper execution, from the tool also start the game "Vanilla", without mods, which will work.
  2. To verify further more, setting the game to the previous version "default_old", starting "modded" -will- work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions