ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
649 stars 75 forks source link

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

Closed Sharparam closed 4 months ago

Sharparam commented 6 months ago

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.

kisak-valve commented 6 months ago

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.

Sharparam commented 6 months ago

@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 commented 6 months ago

@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.)

z5vix commented 6 months ago

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

NULLYUKI commented 6 months ago

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.

z5vix commented 6 months ago

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.

Voklen commented 6 months ago

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

kisak-valve commented 4 months ago

Closing as fixed in the kernel.

gamertyke commented 2 months ago

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

kisak-valve commented 2 months ago

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.