Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[L4D2] [Linux] Crash when joining or starting games with "Official Dedicated" servers

Open Sharparam opened this issue 9 months ago • 7 comments

When starting or joining a multiplayer campaign (or any other game mode) using the "Official dedicated" option, the game will crash just before halfway on the loading bar. The crash also happens when choosing the "Best available dedicated" option.

Using the "local server" option works, and single player also works fine.

Output from running steam-runtime in terminal here: https://gist.github.com/Sharparam/2d7cf51812892324eccca50a3c1d7428

OS: Arch Linux uname -a: Linux melina 6.8.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000 x86_64 GNU/Linux Dump file: crash_20240508010322_3.zip

Tested with both steam-runtime and steam-native, both experience the crash.

Edit: Using the 1.0 Linux runtime ("scout") has the same issue. Using Proton experimental or 9.0-1 instead gets that it cannot find any official dedicated servers, but the "best available" option works and connects to some third-party server.

Sharparam avatar May 07 '24 23:05 Sharparam

For reference, the attached minidump is a SIGBUS in studiorender.so.

Hello @Sharparam, this is unlikely, but can you check if https://gitlab.freedesktop.org/drm/amd/-/issues/3343 is relevant to your system? A quick test would be to reboot into an older kernel and see how the game behaves.

kisak-valve avatar May 07 '24 23:05 kisak-valve

@kisak-valve That issue sounds like if it applied, single player shouldn't work either? But now that I'm testing again, it is crashing in single player as well on latest kernel (6.8.9), not sure why it worked before.

Downgrading the kernel to 6.8.8 or earlier does make things work.

Sharparam avatar May 08 '24 00:05 Sharparam

@kisak-valve Further update: I discovered I did not have the "Enable 4G memory" (or something to that effect) enabled in BIOS, after enabling that (I already had resizable BAR enabled), L4D2 now works on the latest kernel.

(Same with Lies of P, which I hadn't even noticed stopped working since I haven't played that in a while.)

Sharparam avatar May 08 '24 00:05 Sharparam

my game keeps crashing only when playing long sessions on linux.

z5vix avatar May 10 '24 02:05 z5vix

my game keeps crashing only when playing long sessions on linux.

Which Linux distribution are you using? And can you share your crash log please.

NULLYUKI avatar May 10 '24 08:05 NULLYUKI

nobara linux, and i cant find the crashlog output

edited to add: the crashes happen from random times but it did just happen now, it typically unloads tiles before inevitally crashing, i cant find a way to fix this, maybe you know based on what i just described. Im also using Nobara Linux KDE Plasma version.

z5vix avatar May 11 '24 17:05 z5vix

This issue seems to be the same as #5973 and is fixed in the Linux kernel 6.9.1.

Voklen avatar May 18 '24 12:05 Voklen

Closing as fixed in the kernel.

kisak-valve avatar Jun 28 '24 18:06 kisak-valve

I believe I am seeing this behavior (the one in the OP) on a fully patched Nobara system (kernel 6.10.6). 7800X3D/3090

gamertyke avatar Sep 04 '24 06:09 gamertyke

Hello @gamertyke, the issue tracked in this issue report was a 6.8.9 specific amdgpu kernel module regression. Please open a new issue report.

kisak-valve avatar Sep 04 '24 12:09 kisak-valve