Closed flibitijibibo closed 1 week ago
Intro music is playing normally on my end.
Eyeball shader errors appear, but they also did on the steam_legacy version.
Understood - is the install location the Steam default? Is the filesystem something other than ext4? Just trying to think of ways that the same content would behave on different systems...
Default install location, steam installed using apt. Filesystem is ext4.
Have you tried verifying the integrity of game files?
After some investigation, this appears to be https://github.com/ValveSoftware/steam-for-linux/issues/43. Observing the terminal output during game startup yields the message Warning: MP3 decoder has failed to start. Most likely SELinux is disabling JITing?
, and indeed all MP3 files seem to exhibit the same problem. Adding an SELinux exception fixes the issue on my system (Fedora 41).
Given that the problem doesn't exist in the legacy branch, it would be nice if some sort of fallback decoder could be used in case of an SELinux denial.
Tested and can confirm that @caseif is correct - this is surprising both for the reason mentioned as well as the fact that the native libMiles.so was supposed to be the fix for that, from what I remember. Now that the patents have long since expired I wonder if it's worth it to replace the decoder entirely; it probably wouldn't perform as well but I wonder how measurable the difference is nowdays.
In any case, good find, will close as a dupe of https://github.com/ValveSoftware/steam-for-linux/issues/43
With the latest update to the HL2 content it looks like the opening cutscene music track went missing:
The path appears in the cache at
hl2/hl2_sound_misc.vpk.sound.cache
, in all lower-case, andhl2_intro
appears inhl2/hl2_sound_misc_dir.vpk
. Editing the scripts to explicitly match case does not fix the issue, so the casefolding still seems to be working at least!There are also similar errors for a specific shader, but these don't use a script so I don't know if it's easy to hack through these: