ValveSoftware / Source-1-Games

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

Left 4 Dead 2 does not launch on linux #6135

Open MartinGggggggg opened 1 month ago

MartinGggggggg commented 1 month ago

Directly after clicking "play", the game is stuck forever when is says "Loading", but there is ever no progress at all. Also tried using launch options as: -novid -vulkan, but it makes no difference.

l4d2_20240707_124605

OS: openSUSE Slowroll Kernel: 6.9.7-1-default GPU: Radeon 7600 CPU: AMD Ryzen 5 5500

Running the native Steam client from the official SUSE repo

MartinGggggggg commented 1 month ago

l4d2log.txt Forgot to attach a log

Tiagoquix commented 1 month ago

Are you using custom mods/add-ons? Are you testing the game in a clean state? Try launching with -autoconfig -default.

MartinGggggggg commented 1 month ago

Are you using custom mods/add-ons? Are you testing the game in a clean state? Try launching with -autoconfig -default.

No, I have not added anything myself, just a clean installation from Steam.

But anyway, I just removed the installation completely and downloaded again. Made a verification of the integrity of game files and tried again. Now, it crashes instead of stalling just before the picture attached earlier. The suggested options does not make any difference.

NULLYUKI commented 1 month ago

Is it possible for you to share a crash log?

MartinGggggggg commented 1 month ago

Is it possible for you to share a crash log?

Yes. I am not sure howto generare a crashlog, but I added "2>&1 | tee ~/l4d2_output.txt" as a launch option and captured the output into a file. Is this what you mean or is there another log with more info? l4d2_output.txt

NULLYUKI commented 1 month ago

I think the provided log is already good, but I'm not a Linux expert, so maybe some other users will later provide some more information if there is some other way, to gain much more information. But the current provided log should be helpful.

MartinGggggggg commented 1 month ago

I also started the game with strace and captured the output if that gives any more information l4d2_strace.txt

Tiagoquix commented 1 month ago

Can you test on an older kernel, such as 6.8?

MartinGggggggg commented 1 month ago

Can you test on an older kernel, such as 6.8?

I just tried 6.6.37-1-longterm, but the result is the same.

MartinGggggggg commented 1 month ago

I have also tried to run different versions of the steam linux runtime to see if one work better, but no luck. Now I get this message when I try to start "Unable to load /path_my_my_steam/steamapps/common/Left 4 Deam 2/bin/filesystem_steam.so" There is no such file in the installation

MartinGggggggg commented 1 month ago

I have tried to run the game through Proton too. The problem then is that the connection is blocked blocked from accessing the server. Can you remove this block so the game can be run in compatibility mode on linux if the native linux version is too hard to fix?

l4d2_20240707_135940

Tiagoquix commented 1 month ago

Source Engine games do not allow Proton versions to play on VAC-secured servers. You have to play with the native Linux version if you want to play online.