I have a Linux player that is getting error (51) “Error initializing output device.” He says audio is working on his machine and he’s tried speakers, headphones, etc, all with the same error. Audio works fine for most of my Linux players.
Is there a way to turn on better error messages without using the logging FMOD?
Any idea what to suggest he try?
The logging version of FMOD is the main way to get more information about what’s going wrong. As for things to try, FMOD will make a choice between using PulseAudio or ALSA as the audio interface based on the response from
pulseaudio --check. If PulseAudio is available it will use it otherwise it will fallback to using ALSA.
You can influence this choice (as a user) if PulseAudio is misbehaving. Use of the environment variable
FMOD_ALSA_DEVICE allows you to specify an ALSA device to use instead of the default. Setting
FMOD_ALSA_DEVICE = default should force the game to use the ALSA default device or any valid ALSA device name if that’s your preference.
Thanks, I’ll have them try this. If the run the game from the command line, it works fine. If they run it from Steam it fails.
I’ve seen some comments on the Linux Steam forums solving audio issues for other games by forcing ALSA so I hope that will help.