protonscr

Serious Sam 3 BFE fails to start, if different samplerate converter is used.

steamclosed reviewedruntime
ValveSoftware/steam-for-linux#1733 · opened 2013-02-14 by Cloudef · updated 2013-02-28 · 2 comments · github
CCloudef 2013-02-14 github

The following line in /etc/asound.conf causes Serious Sam 3 crash.
defaults.pcm.rate_converter "samplerate_best"

Apparently libasound outputs to console:

"Invalid type for rate converter" 

Which would mean that the libsamplerate is not found/loaded for some reason, but it certainly does exist among the libraries steam provides:

./ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_rate_samplerate.so
./ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/alsa-lib/libasound_module_rate_samplerate_best.so

Current workaround, is to comment the samplerate line at asound configuration to play the game.

Hheftig 2013-02-14 github

I believe this is because libasound hardcodes the path plugins are loaded from: /usr/lib/i386-linux-gnu/alsa-lib
It's absolute, so it won't work on any system that puts the 32-bit ALSA plugins somewhere else.
Arch Linux uses /usr/lib/alsa-lib on i686 and /usr/lib32/alsa-lib on x86_64.

This will not only interfere with samplerate converter, but any plugin; You should see the same problem with the pulse plugin.

IMO the host libasound should be used.

Sslouken 2013-02-28 github

This should be fixed in the current release. Thanks!

Nothing extracted yet.