-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - r2modman cannot launch modded Valheim following the latest Steam update on Linux #1534
Comments
I can confirm. I manually load BepInEx. Since the latest Steam update, Valheim no longer loads. When i Start team using "-compat-force-slr off", Valheim, with BepInEx loads fine. I'm also able to just start Valheim, with BepInEx, outside of Steam just using the sh script. |
I have this problem on Arch (EndeavourOS), but the workaround does not work for me. Valheim quits on the title screen. |
To add to this discussion, for what it's worth, I was able to get this functioning on my system (Debian Bookworm - 6.1.0-21-amd64 using r2modman) by solely modifying the I modified
and
Adjusted file: start_game_bepinex.txt So it just executes the "correct" path. If I don't do this, the launch breaks because of a space in the filename I don't see where or why the path would break otherwise, but this allows me to launch modded without Steam open in any alternative modes, nor selecting a specific runtime. It does fail to launch from Steam because of the launch options, however, so that's a definite caveat. |
I'm having the same problem on Steam Deck. The "-compat-force-slr off" workaround only sort of works for me. I can get the game to start modded, but the quality is terrible no matter what settings I use (and I only have a couple light mods that shouldn't affect frame rate). Not to mention, having to completely shut down Steam every time I want to play Valheim on a Steam Deck is quite the hassle. I also don't have the ability to force the use of the legacy runtime in the game's properties like cethien has done. |
A fix in the steam client might have fixed this issue: ValveSoftware/steam-for-linux#11448 I also have "Legacy runtime 1.0" available in the drop down in the Compatibility settings. That seems to have fixed things. I believe the correct thing to do is to get the startup script fixed that @M15071060 mentions. Valheim runs fine without using bepinex. |
This is caused by a change in the way steam launch game that broke start_game_bepinex.sh. Adding this lines between line 25-27 of your start_game_bepinex.sh should solve the problem:
On steam inside game properties, you have to set the launch option as follows (set r2modmanPlus-local path and PROFILE_NAME properly): |
@ebkr could this fix be integrated into r2modman? or is this a problem with Bepinex? if the later, how can we pass this along to them? |
Looks like this is a problem with bepinex. See BepInEx/BepInEx#1032 |
With the fix provided by M15071060, I am able to get Valheim to open to the loading screen but I get a near immediate crash with the terminal reporting as follows:
I am running CachyOS on Kernel Linux 6.13.5-arch1-1 with DE KDE Plasma 6.3.2 on Wayland I attempted to also implement the fix this using the solution provided here by eliadevito and on the BepInEx/BepInEx#1032 issue, but both solutions have failed with the same error. |
Describe the bug
Steam pushed out an update which added screen recording for all platforms. This update also included an update to the runtime environment for native games. By default steam now uses something called scout 1.0. Here are the relevant patch notes: https://store.steampowered.com/news/app/593110/view/4472730495692571024
"Native titles will execute in 'Steam for Linux runtime 1.0 (scout)' by default, instead of the legacy runtime environment."
This seems to have broken r2modman's ability to launch valheim in modded mod. The game can still be launched in vanilla mode.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Valheim should launch with mods
Screenshots
NA
Additional context
I have a work around for this issue. You can add the launch parameter "-compat-force-slr off" to the r2modman steam launch parameters. I documented this solution in the discord (https://discord.com/channels/727304496522461185/1303809239898259476/1303909649153527870) and here: https://www.reddit.com/r/valheim/comments/1glggwy/workaround_modded_valheim_on_linux_with_r2modman/
A handful of people have verified that this work around works.
Confirmed an issue on Arch, Kubuntu, and Pop!
This launch parameter forces steam to use the legacy runtime environment from before the update.
Other have stated that they manually installed the mods and launched valheim via Steam in the new runtime environment and it works without issue.
This was an issue in r2modman 51 and 52.
I have also tried creating a fresh profile and updating mods to the latest which did not fix the issue. I also tried making a barebones profile with just a couple simple mods and this also did not launch.
When you launch Valheim in vanilla mode valheim also talks about not being about to load PlayFab and requiring some MS runtime files. Unsure if this is related.
The text was updated successfully, but these errors were encountered: