View Issue Details

IDProjectCategoryView StatusLast Update
0003293Dwarf FortressTechnical -- Soundpublic2010-09-21 09:15
Reportercalrogman Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS VersionUnstable
Product Version0.31.13 
Summary0003293: Dwarf Fortress uses PulseAudio but PulseAudio is not installed.
DescriptionDwarf Fortress picks PulseAudio to output sound but PulseAudio isn't even installed. ALSA and OSS are available.
Steps To ReproduceFirst of all, Debian installs libsndfile and libopenal to libsndfile.so.1 and libopenal.so.1 respectively, so symlinks are required for DF to load OpenAL at all.

# cd /usr/lib
# ln -s libopenal.so.1 libopenal.so
# ln -s libsndfile.so.1 libsndfile.so
# ldconfig

Once that's done, run ./df and the following should print to the terminal:

Sound devices available:
PulseAudio Software
ALSA Software
OSS Software
Picking PulseAudio Software. If your desired device was missing, make sure you have the appropriate 32-bit libraries installed. If you wanted a different device, configure ~/.openalrc appropriately.
Initializing OpenAL failed, no sound will be played

In this case ~/.openalrc is correctly configured.
TagsNo tags attached.

Activities

Logical2u

2010-09-21 08:54

manager   ~0012864

So two things.
1. You say the device isn't installed, but then how did it show up as an available sound device?
2. 'Initializing OpenAL failed' is a bug that's been causing issues for Mac/Linux users for a while and results in no sound being played - does this explain why there's no sound (as opposed to the PulseAudio thing)?

calrogman

2010-09-21 09:15

reporter   ~0012865

OSS isn't installed either, I just have oss-compat installed so ALSA can handle that. I don't know why Pulse shows up as available when it isn't installed.

In this case OpenAL is most likely failing to initialise because Pulse isn't present.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-09-21 08:31 calrogman New Issue
2010-09-21 08:54 Logical2u Note Added: 0012864
2010-09-21 09:15 calrogman Note Added: 0012865