Half-Life 2

Half-Life 2

View Stats:
schM0ggi Nov 15, 2024 @ 4:40pm
Music and dev commentary not working on Linux
Hey,

the music and dev commentaries are not working in the Linux version. Didn't try Steam Deck yet, playing on Fedora 41 Workstation.

Switching to Proton 9 fixes it but I guess that's not the way to go since it defaults to Linux Runtime.

Anyone else encountering this issue?
Last edited by schM0ggi; Nov 15, 2024 @ 5:06pm
< >
Showing 1-15 of 20 comments
Fritz Nov 15, 2024 @ 5:03pm 
Yeah I do, no music in opening, no music at start of Route Kanal. Didn't try anything else.
Fedora 41 too.
Last edited by Fritz; Nov 15, 2024 @ 5:03pm
Nukey McMeltface Nov 15, 2024 @ 5:06pm 
Same here. I'm also on Fedora 41.
JustARegularNerd Nov 15, 2024 @ 5:08pm 
I'm also chiming in to confirm that I'm having this on Bazzite 41
silla Nov 15, 2024 @ 5:55pm 
music wasnt playing on highway 17 on windows :(
green monster Nov 16, 2024 @ 2:06am 
Originally posted by JustARegularNerd:
I'm also chiming in to confirm that I'm having this on Bazzite 41
same issues
OldManCabbage Nov 16, 2024 @ 3:52am 
Here are the steps I took -
1. Installed codecs
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install libavcodec-freeworld
Note: this didn't fix it. But might be handy to have incase other codecs are missing
2. Set Selinux to allow
sudo setsebool -P selinuxuser_execheap 1
Note: the above isn't recommended as it opens up a larger security hole. Instead follow the below and allow only hl2_linux
Works by following the bug report by executing:
# ausearch -c 'hl2_linux' --raw | audit2allow -M my-hl2linux
# semodule -X 300 -i my-hl2linux.pp
Note: this fixed it for me
Last edited by OldManCabbage; Nov 16, 2024 @ 7:37am
schM0ggi Nov 16, 2024 @ 4:08am 
Originally posted by Dusk of Oolacile:
Works here. Endeavour current.

Probably the usual Fedora thing, missing codecs/missing 32-bit codecs/libs. That's what Fedora has been famous for ever since it existed.
I'm running rpmfusion so codecs shouldn't be a problem. Besides, isn't the Linux Runtime container Valve provides an attempt to diminish these kind of problems?

Originally posted by candelstine:
2. Set Selinux to allow
sudo setsebool -P selinuxuser_execheap 1
Note: this fixed it for me

Yeah, after taking a look at the journal with "sudo journalctl | grep execheap", you find entries with hl2_linux tagged with denied execheap access. Ugghh... this is isn't something new. For example:

https://bugzilla.redhat.com/show_bug.cgi?id=2031507
https://github.com/ValveSoftware/Source-1-Games/issues/5549
https://github.com/ValveSoftware/Source-1-Games/issues/2734

Setting the boolean does fix it but Valve should fix that properly.

---

I tried uninstalling the game. I can't. I get:

Missing shared content

???

EDIT:
Okay, removed it manually by deleting folders and the appmanifest files.
Last edited by schM0ggi; Nov 16, 2024 @ 4:16am
Funnybones Nov 16, 2024 @ 4:41am 
Ok for me on Mint 22 out of the box.
schM0ggi Nov 16, 2024 @ 4:57pm 
Originally posted by Funnybones:
Ok for me on Mint 22 out of the box.
Yeah, this is something Fedora / Red Hat specific as they are using heavily SELinux.
green monster Nov 17, 2024 @ 12:24pm 
Originally posted by candelstine:
Here are the steps I took -
1. Installed codecs
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install libavcodec-freeworld
Note: this didn't fix it. But might be handy to have incase other codecs are missing
2. Set Selinux to allow
sudo setsebool -P selinuxuser_execheap 1
Note: the above isn't recommended as it opens up a larger security hole. Instead follow the below and allow only hl2_linux
Works by following the bug report by executing:
# ausearch -c 'hl2_linux' --raw | audit2allow -M my-hl2linux
# semodule -X 300 -i my-hl2linux.pp
Note: this fixed it for me
This fixes it for me as well, cheers!
aonati Nov 30, 2024 @ 11:21pm 
Would really love for somebody to explain the simplest fix for this to me like you would a toddler. I was gifted a linux computer running bazzite 40 and I want to listen to mister newall talk about things but I don't know what any of these damn words mean.
aonati Nov 30, 2024 @ 11:32pm 
Originally posted by aonati:
Would really love for somebody to explain the simplest fix for this to me like you would a toddler. I was gifted a linux computer running bazzite 40 and I want to listen to mister newall talk about things but I don't know what any of these damn words mean.
actually nevermind. I'm forcing it through proton and it works. Look at me learning!
mudkipi Dec 10, 2024 @ 11:35pm 
Originally posted by candelstine:
Here are the steps I took -
1. Installed codecs
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install libavcodec-freeworld
Note: this didn't fix it. But might be handy to have incase other codecs are missing
2. Set Selinux to allow
sudo setsebool -P selinuxuser_execheap 1
Note: the above isn't recommended as it opens up a larger security hole. Instead follow the below and allow only hl2_linux
Works by following the bug report by executing:
# ausearch -c 'hl2_linux' --raw | audit2allow -M my-hl2linux
# semodule -X 300 -i my-hl2linux.pp
Note: this fixed it for me
Thank you very much!
Rumi Dec 10, 2024 @ 11:48pm 
when even the biggest linux loving game company on earth can't make a linux port worth a damn... maybe next year will be the year of linux
schM0ggi Dec 11, 2024 @ 2:18am 
Originally posted by Rumi:
when even the biggest linux loving game company on earth can't make a linux port worth a damn... maybe next year will be the year of linux
Thing is:
I don't know if it's a Valve problem or a problem of some distros. Like, for example, the Redhat distros with SELinux.
Last edited by schM0ggi; Dec 11, 2024 @ 2:18am
< >
Showing 1-15 of 20 comments
Per page: 1530 50