libopenal doesn't working properly with pulse

Bug #356206 reported by Major Andras
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Jaunty by Major Andras

Bug Description

1, Release: 9.04 beta
2, Package version: 1:0.9.14-0ubuntu16
3, Sympthon: If I use an application (game) what use libopenal, the audio has a lot of uggly glitches instead of nice music and/or effects.

Steps for the bug:

1. Install a game with libopenal dependencies (supertux -> apt-get install supertux)
2. Run the game (supertux)
3. As you can hear, the audio is very ugly.

Workaround:

echo 'drivers = oss' >~/.alsoftrc

Revision history for this message
Major Andras (majorandras) wrote :

A better workaround is:

echo 'refresh = 2048' >~/.alsoftrc

Revision history for this message
Lasse Kärkkäinen (tronic+mb48) wrote :

None of the options I have tried works (on karmic alpha):

drivers=pulse: application hangs when opening device:

#0 0x00007ffff5a275a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007ffff12e4fbd in pa_threaded_mainloop_signal (m=0x2425dd0, wait_for_accept=1) at pulse/thread-mainloop.c:197
#2 0x00007ffff12c9607 in pa_context_set_state (c=0x245c320, st=PA_CONTEXT_CONNECTING) at pulse/context.c:313
#3 0x00007ffff12caef6 in pa_context_connect (c=0x245c320, server=0x255e320 "{5ec9cd22341a1ed533c4aaef48b755a6}unix:/home/tronic/.pulse/5ec9cd22341a1ed533c4aaef48b755a6-runtime/native tcp:Kaidenn:4713 tcp6:Kaidenn:4713", flags=PA_CONTEXT_NOAUTOSPAWN, api=0x0)
    at pulse/context.c:1020
#4 0x00007ffff7ae89e1 in pulse_open (device=0x235f670, device_name=<value optimized out>, format=<value optimized out>, samples=0, frequency=<value optimized out>) at /build/buildd/openal-soft-1.8.466/Alc/pulseaudio.c:295
#5 0x00007ffff7ad1bd3 in alcOpenDevice (deviceName=0x0) at /build/buildd/openal-soft-1.8.466/Alc/ALc.c:1292

drivers=alsa, [alsa]device=pulse: sound works for a while (around 10 minutes), then there is corrupted noise for less than a second and after that only silence but the application stays displayed on pavucontrol. The application hangs on exit at:

#0 0x00007ffff5a23cfd in pthread_join () from /lib/libpthread.so.0
#1 0x00007ffff7ae023c in StopThread (thread=0x255dcf0) at /build/buildd/openal-soft-1.8.466/Alc/alcThread.c:120
#2 0x00007ffff7ae1a25 in alsa_close_playback (device=0x25469c0) at /build/buildd/openal-soft-1.8.466/Alc/alsa.c:529
#3 0x00007ffff7ad1ff6 in alcCloseDevice (pDevice=0x25469c0) at /build/buildd/openal-soft-1.8.466/Alc/ALc.c:1349

drivers=oss: no sound, application does not appear on pavucontrol.

Revision history for this message
David Henningsson (diwic) wrote :

Lasse, I can not reproduce your hang in pulse_open.
Is "Kaidenn" your local machine or are you trying to open a connection to a machine that does not respond?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.9.22~0.9.21+341-g62bf-0ubuntu1

---------------
pulseaudio (1:0.9.22~0.9.21+341-g62bf-0ubuntu1) lucid; urgency=low

  * New snapshot based on stable-queue git branch (testing requested
    specifically by upstream)
    - LP: #164745, #173212, #201391, #204536, #207796, #210016, #221038,
    - LP: #226342, #230408, #236423, #237443, #250059, #269585, #274304,
    - LP: #274577, #275474, #277532, #277566, #277932, #278025, #280534,
    - LP: #283049, #286816, #287036, #292732, #298011, #298301, #300290,
    - LP: #302038, #311497, #311853, #324062, #339448, #344057, #348979,
    - LP: #350829, #356206, #367379, #367544, #369822, #371897, #374846,
    - LP: #375570, #381801, #399515, #402950, #403786, #408169, #409322,
    - LP: #409723, #410326, #410446, #417695, #417976, #419271, #421072,
    - LP: #422774, #423979, #424655, #425028, #427016, #431072, #432660,
    - LP: #437640, #437996, #442191, #443306, #443389, #446719, #449762,
    - LP: #455417, #461532, #464652, #483191, #497537, #503780
  * debian/patches/:
    + add: 0099-change-configure-git-version-tag.patch: Match released
           upstream 0.9.21 for shlibs and LIBPULSE_VERSION_INFO
    - drop: 0004-set-tsched0.patch (no longer relevant)
            0050-revert-pacmd-poll-argv.patch (no longer relevant)
            0056-dont-bail-on-sound-class-modem.patch (merged)
            0056-ignore-sound-class-modem.patch (merged)
            0058-Backport-4c793.patch (merged)
            0059-Backport-978d3.patch (merged)
            0060-fix-implicit-func-decl-cpu-arm.patch (merged)
            0061-Backport-c5fdb.patch (merged)
            0070-dont-bail-on-sound-class-modem-devs.patch (merged)
    + refresh: 0001-change-resample-and-buffering.patch
               0090-disable-flat-volumes.patch
               0091-dont-load-cork-music-on-phone.patch
               0057-load-module-x11-bell.patch
 -- Daniel T Chen <email address hidden> Thu, 14 Jan 2010 20:33:05 -0500

Changed in pulseaudio (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.