[pulseaudio-discuss] Problems with the PA backend in OpenAL Soft

Sven Arvidsson sa at whiz.se
Sat Oct 17 12:46:58 PDT 2009


Hi,

The PulseAudio backend in OpenAL Soft is in really bad shape. Some apps,
like MPlayer, will simply hang if openal is used, others, like the game
Warzone 2100 starts, but runs with no sound.

Unfortunately, the openal-soft developer does not use pulse, and isn't
sure what the problem is:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548373#33

Is there anyone out there who feels like beating the pulse backend back
into shape? :-) I'm attaching a backtrace from the MPlayer hang if it's
of any help.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

-------------- next part --------------

Thread 2 (Thread 0xb4d3fb90 (LWP 12012)):
#0  0xb80da424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb617d467 in *__GI___poll (fds=0x89c0dd8, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <value optimized out>
        oldtype = 0
        result = <value optimized out>
#2  0xb7c315b2 in poll_func (ufds=0x89c0dd8, nfds=2, timeout=-1, 
    userdata=0x89c0c70) at pulse/thread-mainloop.c:75
        r = <value optimized out>
        __func__ = "poll_func"
        __PRETTY_FUNCTION__ = "poll_func"
#3  0xb7c1e2d2 in pa_mainloop_poll (m=0x89c0bd0) at pulse/mainloop.c:879
        __func__ = "pa_mainloop_poll"
        __PRETTY_FUNCTION__ = "pa_mainloop_poll"
#4  0xb7c1fb03 in pa_mainloop_iterate (m=0x89c0bd0, block=1, retval=0x0)
    at pulse/mainloop.c:961
        r = <value optimized out>
        __func__ = "pa_mainloop_iterate"
        __PRETTY_FUNCTION__ = "pa_mainloop_iterate"
#5  0xb7c1fbd4 in pa_mainloop_run (m=0x89c0bd0, retval=0x0)
    at pulse/mainloop.c:979
        r = <value optimized out>
#6  0xb7c31363 in thread (userdata=0x89c0bb0) at pulse/thread-mainloop.c:94
        mask = {__val = {2147483647, 4294967294, 
            4294967295 <repeats 30 times>}}
#7  0xb5ea1db2 in internal_thread_func (userdata=0x89abb08)
    at pulsecore/thread-posix.c:72
        __func__ = "internal_thread_func"
        __PRETTY_FUNCTION__ = "internal_thread_func"
#8  0xb7f064b5 in start_thread (arg=0xb4d3fb90) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb4d3fb90
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208918028, 0, 4001536, 
                -1261177864, -574802118, -1701675716}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <value optimized out>
#9  0xb6187a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.

Thread 1 (Thread 0xb5638780 (LWP 12009)):
#0  0xb80da424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f0d736 in nanosleep () from /lib/i686/cmov/libpthread.so.0
No locals.
#2  0x081ddfd1 in usec_sleep (usec_delay=125000) at osdep/timer-linux.c:44
        ts = {tv_sec = 0, tv_nsec = 125000000}
#3  0x080a1f91 in timing_sleep (argc=4, argv=0xbfd4f1f4) at mplayer.c:1795
        margin = 0
#4  sleep_until_update (argc=4, argv=0xbfd4f1f4) at mplayer.c:2134
No locals.
#5  main (argc=4, argv=0xbfd4f1f4) at mplayer.c:3733
        aq_sleep_time = 0.125
        time_frame = 0.125
        frame_time_remaining = 1
        blit_frame = 1
        mem_ptr = <value optimized out>
        opt_exit = 0
        i = <value optimized out>
        gui_no_filename = <value optimized out>
        last_heartbeat = 0
quit
A debugging session is active.

	Inferior 1 [process 12009] will be detached.

Quit anyway? (y or n) Detaching from program: /usr/bin/mplayer, process 12009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091017/36087b87/attachment.pgp>


More information about the pulseaudio-discuss mailing list