Source-1-Games
Source-1-Games copied to clipboard
[L4D2 Beta/Linux] Missing music in main menu
After downloading and installing the game, I noticed that the music of the main menu is missing.
Console output: http://nopaste.info/90f2b6bb25.html
Yes, I have this problem also.
same here.
Same here. System Information reports my sound card as "Realtek ALC1200". All other in-game music seems to be working fine, and I've never had an audio issue playing MP3s with my other video/music apps.
I think this is the console output for this error since is the first one related to audio:

The aforementioned l4d2_c1_pc.mp3 is in .steam/steam/SteamApps/common/Left 4 Dead 2/ left4dead2/sound/music/l4d2, the game doesn´t find it but it´s here.
Anybody else still having this problem?
Sure.
Uh.. well when will this get fixed? It's pretty underwhelming to see all of the action in the menu without any ambiance..
Considering there haven't been any bug fixes in L4D2 for many, many, many months, and the fact that they're not really even engaging bug reports here anymore... I've come to accept that how it is now is how it's going to be.
Fortunately, there's still Windows.
Are you a Valve employee or not? Because I sincerely hope you're joking with that statement.
Is bumping allowed at all or is this just a waste of time on my part?
why dont you get over yourself op?
Did you try recache sounds? Run snd_rebuildaudiocache command in console.
That didn't fix the issue for me, but thanks for the suggestion.
Bump. (I'm gonna be bumping this monthly until it gets fixed)
Here's a fix, since libMiles is case sensitive, so anybody having this problem just follow what's linked below.
https://github.com/ValveSoftware/portal2/issues/5
Thanks for posting that fix, it worked for me. Hopefully Valve will include it in the release.
In case you don't want to have to read through that entire other issue. The problem is the game can't find libMiles.so because most linux filesystems are case sensitive while windows filesystems aren't. So you can fix the problem by running mv ~/.steam/SteamApps/common/Left\ 4\ Dead\ 2/bin/lib{m,M}iles.so
Gah, somebody fix this goddamned bug already, I had to reinstall L4D2 AND BETA and my OCD goes crazy when I forget that I'm running a game in the background.
@sizeofbool commented on 2015-10-05T18:49:08 at https://github.com/ValveSoftware/steam-for-linux/issues/2402#issuecomment-145629607:
This bug is still unresolved. There is a message in game's console:
S_StartSound: Failed to load sound '*#music/l4d2/l4d2_c1_pc.mp3', file probably missing from disk/repository
This "*#music" folder looks corrupted and music file itself is present in "/left4dead/sound/music/l4d2/l4d2_c1_pc.mp3". Checking game's cache doesn't fix this issue.
@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.
I still have this bug.
Still unfixed following The Last Stand update.
I can testify to this. Still doesn't work.
@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.
Are you serious? It's as simple as a simple renaming of a file and it works? And they still haven't fixed it, five years after you mentioned this, for what would literally take five seconds?
Valve, what the fuck?
There is even better workaround to this issue: You can create symbolic link file, with a name "libMiles.so" linked to real "libmiles.so" library file in "Left 4 Dead 2/bin" folder. Example:
$ cd ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/bin
$ ln -s libmiles.so libMiles.so
This way fix won't be reverted if you verify game's cache and also ensure game's library files will be working in case some of them were compiled and linked to "libmiles.so" library file instead of "libMiles.so".
@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.
Did this but problem persists, even tried making symbolic link
EDIT: after some extra setting it worked. Apparently my speaker configuration was reset to 5.1 but I was using headphones so I couldn't hear the music.
There is even better workaround to this issue: You can create symbolic link file, with a name "libMiles.so" linked to real "libmiles.so" library file in "Left 4 Dead 2/bin" folder. Example:
$ cd ~/.steam/steam/steamapps/common/Left\ 4\ Dead\ 2/bin $ ln -s libmiles.so libMiles.soThis way fix won't be reverted if you verify game's cache and also ensure game's library files will be working in case some of them were compiled and linked to "libmiles.so" library file instead of "libMiles.so".
@kisak-valve there is workaround for this issue mentioned above. As soon as you rename "libmiles.so" to "libMiles.so" in "Left 4 Dead 2/bin" folder, music in main menu will be played.
Did this but problem persists, even tried making symbolic link
EDIT: after some extra setting it worked. Apparently my speaker configuration was reset to 5.1 but I was using headphones so I couldn't hear the music.
Still doesn't fix the issue for me on Fedora 36. Also tried changing the speaker type but no luck.
Same here. It seems the files is even named LibMiles.so by default now, but the console still displays S_StartSound: Failed to load sound '*#music/l4d2/l4d2_c1_pc.mp3', file probably missing from disk/repository.
I tried this and it works for me: https://github.com/ValveSoftware/csgo-osx-linux/issues/395#issuecomment-131240196
TL;DR: Just replace the libMiles.so with Portal 2's version, and suddenly everything works.
BTW It's not just the main menu audio is missing, all the custom campaigns with mp3 audio (more than half of the total campaigns) will not work. This is insane.
I will write an article about this long haunting issue and follow their depot changes, to see how many years it will take them to push the fix.