[Pkg-games-ubuntu] [Bug 281475] Re: OpenAL Soft may trigger a hang and require PulseAudio restart, using ALSA for output and the pulse plugin.

bojo42 bojo42 at gmail.com
Wed Jan 6 13:11:46 UTC 2010


*** This bug is a duplicate of bug 503780 ***
    https://bugs.launchpad.net/bugs/503780

** This bug has been marked a duplicate of bug 503780
   OpenAL Soft doesn't work with PulseAudio (Ubuntu's default sound system)

-- 
OpenAL Soft may trigger a hang and require PulseAudio restart, using ALSA for output and the pulse plugin.
https://bugs.launchpad.net/bugs/281475
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to openal-soft in ubuntu.

Status in “openal-soft” package in Ubuntu: New

Bug description:
In case an OpenAL application is being run and the following conditions are met:
* OpenAL Soft is configured to use an ALSA device.
* Using this device, the output is expected to get redirected to PulseAudio.

On quit, the application may hang, at least for about 30 seconds.
In that case, OpenAL wouldn't be shut down probably, and a restart to PulseAudio will be required.

* Tested with the following lesson1 sample:
http://www.devmaster.net/articles/openal-tutorials/lesson1.php
* Direct link to Linux sample source:
http://www.devmaster.net/articles/openal-tutorials/lesson1_linux.tar.bz2

* Compilation:
1. Type "make". All relevant development files and tools are required (OpenAL, GNU g++, GNU Make)
2. Workaround to a possible error regarding undefined symbols (after typing make):
g++ -o lesson1 main.o -lopenal -lalut

Now try typing ./lesson1 and press 'q' to quit; Multiple times.
At some point, the hang explained above would occur.

A few notes to add:
* The hang is not reproduced when OpenAL Soft is configured to use an OSS device.
* It is also not reproduced when OpenAL Soft is configured to use the ALSA device hw:0.
* It's reproduced with the default and pulse ALSA devices.





More information about the Pkg-games-ubuntu mailing list