Unable To Initialize Audio

Last modified by Philipp Geyer on 2023/10/17 16:11

Note: This is for the Linux version of the X3 games only.

If you launch any of the X3 games (X3: Reunion, X3: Terran Conflict, X3: Albion Prelude, X3: Farnham's Legacy) and the game cannot access the audio device you will be presented with a popup. Running the game without audio is possible, but may have consequences. Alternatively, fixing it can be done by setting up 'dmix' as found On the ALSA support site. The specific instructions are provided below.

Check if a file called .asoundrc exists in your HOME directory - this is a hidden file, so if using a file manager you will have to enable showing hidden files. If it doesn't exist, create it, and open it in a text editor, and paste the following:

pcm.dsp0 {
    type plug
    slave.pcm "dmix"
    # A hint is required for listing the device in some GUIs, e.g. Phonon configuration.
    hint {
         show on
         description "My dmix dsp0"
    }
}
# mixer0 can stay unchanged, because
# it isn't used anyway, I guess ;)
ctl.mixer0 {
    type hw
    card 0
}

This will create a software mixer for the soundcard, allowing X3 to access the sound card at the same time as other programs.