Linux No game audio

Elassyo

Greenhorn
Hello,
I'm having a problem with the game, audio doesn't work at all neither on the main menu nor in game since updating to the latest version.
It used to work perfectly in 1.6.8, before the OpenAL migration I guess?

It seems the game still connects to the audio system because it appears in the volume mixer, but there is nothing coming out.
There is a small "Pause" icon in the mixer, maybe the game audio is "paused"?
1731782427316.png

Audio works properly with other applications (e.g. Firefox).

There are no error messages or logs (~/.local/share/StardewValley/ErrorLogs/ is empty), the game runs normally except for the missing audio.
Stardew Valley, not modded, version 1.6.14 build 24317, and using Steam Linux Runtime 1.0 (scout) (steam build id 15348173).
OS is Arch Linux, the audio system is Pipewire 1.2.6.
Let me know if you need more info!
 

Elassyo

Greenhorn
I managed to fix the problem by forcing the game to use the libopenal.so.1 file from my system instead of the version it's packaged with:
ln -sf /usr/lib/libopenal.so.1 "$HOME/.local/share/Steam/steamapps/common/Stardew Valley/"

I don't really know why this fixed the problem, but it looks like the version of OpenAL that comes with the game is a bit old (1.17.1) compared to the one from my OS (1.23.1).
 

adodo

Newcomer
I managed to fix the problem by forcing the game to use the libopenal.so.1 file from my system instead of the version it's packaged with:
ln -sf /usr/lib/libopenal.so.1 "$HOME/.local/share/Steam/steamapps/common/Stardew Valley/"

I don't really know why this fixed the problem, but it looks like the version of OpenAL that comes with the game is a bit old (1.17.1) compared to the one from my OS (1.23.1).
THANK YOUU!! this fixed my audio in fedora workstation :D
just out of curiosity, how did you know the version of OpenAL that the game was using? i'm new in the linux world hehe
 

Elassyo

Greenhorn
Cool, I'm glad my post helped someone!

just out of curiosity, how did you know the version of OpenAL that the game was using? i'm new in the linux world hehe
I tried a bunch of things, but in the end I found it using strings (from binutils) to look for the library version string in the file (defined here in the source code), like this:
strings "$HOME/.local/share/Steam/steamapps/common/Stardew Valley/libopenal.so.1" | grep "1.1 ALSOFT "
 
Top