[pulseaudio-discuss] PulseAudio gives an assertion error when attempting to load with a USB sound card connected.

Luke Yelavich themuso at ubuntu.com
Sun Sep 14 22:59:13 PDT 2008


Hi all.
Through more 0.9.12 testing of pulseaudio, I have come accross a problem when attempting to load pulseaudio with a USB sound card detected. The model is in the attached log. I am running alsa driver/lib 1.0.18rc3. In addition to this, when using pulseaudio normally, i.e loading it with no USB card connected, and then connecting the card, pulseaudio crashes with a similar assertion. 

Due to the nature of the error, I am not sure whether this needs to be fixed in alsa, or pulseaudio. Pulseaudio 0.9.10 works fine with this card.

Luke
-------------- next part --------------
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root priviliges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
D: main.c: Started as real root: no, suid root: yes
I: main.c: PolicyKit refuses acquire-high-priority privilege.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
W: main.c: High-priority scheduling enabled in configuration but not allowed by policy.
W: core-util.c: setpriority(): Permission denied
D: main.c: Can realtime: no, can high-priority: no
W: ltdl-bind-now.c: Failed to find original dlopen loader.
I: main.c: This is PulseAudio 0.9.12
D: main.c: Compilation host: x86_64-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O2 -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math
D: main.c: Running on host: Linux x86_64 2.6.27-3-generic #1 SMP Wed Sep 10 16:18:52 UTC 2008
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: no
D: main.c: Optimized build: yes
I: main.c: Machine ID is 154757c91cdd9d354d4aaf4c48cdaced.
I: main.c: Using runtime directory /home/luke/.pulse/154757c91cdd9d354d4aaf4c48cdaced:runtime.
I: main.c: Using state directory /home/luke/.pulse.
I: main.c: Running in system mode: no
W: pid.c: Stale PID file, overwriting.
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_a92_91_noserial_if0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.usb_device_a92_91_noserial_if0_alsa_capture_0 tsched=1'
D: alsa-util.c: Trying front:1...
D: alsa-util.c: Trying plug:front:1...
I: alsa-util.c: PCM device plug:front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
D: alsa-util.c: Maximum hw buffer size is 2972 ms
I: module-alsa-source.c: Successfully opened device surround40:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: module-alsa-source.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL surround40:1
I: alsa-util.c: Unable to attach to mixer surround40:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
I: source.c: Created source 0 "alsa_input.usb_device_a92_91_noserial_if0_alsa_capture_0" with sample spec s16le 4ch 44100Hz and channel map front-left,front-right,rear-left,rear-right
I: module-alsa-source.c: Using 2 fragments of size 352800 bytes, buffer time is 2000.00ms
I: module-alsa-source.c: Time scheduling watermark is 10.00ms
D: module-alsa-source.c: hwbuf_unused_frames=0
D: module-alsa-source.c: setting avail_min=702073
D: alsa-util.c: snd_pcm_dump():
D: alsa-util.c: Hardware PCM card 1 'MAYA44 USB' device 0 subdevice 0
D: alsa-util.c: Its setup is:
D: alsa-util.c:   stream       : CAPTURE
D: alsa-util.c:   access       : MMAP_INTERLEAVED
D: alsa-util.c:   format       : S16_LE
D: alsa-util.c:   subformat    : STD
D: alsa-util.c:   channels     : 4
D: alsa-util.c:   rate         : 44100
D: alsa-util.c:   exact rate   : 44100 (44100/1)
D: alsa-util.c:   msbits       : 16
D: alsa-util.c:   buffer_size  : 88200
D: alsa-util.c:   period_size  : 44100
D: alsa-util.c:   period_time  : 1000000
D: alsa-util.c:   tstamp_mode  : NONE
D: alsa-util.c:   period_step  : 1
D: alsa-util.c:   avail_min    : 702073
D: alsa-util.c:   period_event : 0
D: alsa-util.c:   start_threshold  : -1
D: alsa-util.c:   stop_threshold   : -1
D: alsa-util.c:   silence_threshold: 0
D: alsa-util.c:   silence_size : 0
D: alsa-util.c:   boundary     : 6206523236469964800
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=1 source_name=alsa_input.usb_device_a92_91_noserial_if0_alsa_capture_0 tsched=1").
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.usb_device_a92_91_noserial_if0_alsa_playback_0 tsched=1'
D: alsa-util.c: Trying front:1...
D: alsa-util.c: Trying plug:front:1...
I: alsa-util.c: PCM device plug:front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
D: alsa-util.c: Maximum hw buffer size is 2972 ms
I: module-alsa-sink.c: Successfully opened device surround40:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: module-alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL surround40:1
I: alsa-util.c: Unable to attach to mixer surround40:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.usb_device_a92_91_noserial_if0_alsa_playback_0" with sample spec s16le 4ch 44100Hz and channel map front-left,front-right,rear-left,rear-right
I: source.c: Created source 1 "alsa_output.usb_device_a92_91_noserial_if0_alsa_playback_0.monitor" with sample spec s16le 4ch 44100Hz and channel map front-left,front-right,rear-left,rear-right
I: module-alsa-sink.c: Using 2 fragments of size 352800 bytes, buffer time is 2000.00ms
I: module-alsa-sink.c: Time scheduling watermark is 10.00ms
D: module-alsa-sink.c: hwbuf_unused_frames=0
D: module-alsa-sink.c: setting avail_min=702073
I: module-alsa-sink.c: Volume ranges from 0 to 255.
I: module-alsa-sink.c: Volume ranges from 0.00 dB to 0.00 dB.
E: module-alsa-sink.c: Assertion 'u->hw_dB_min < u->hw_dB_max' failed at modules/module-alsa-sink.c:1463, function module_alsa_sink_LTX_pa__init(). Aborting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20080915/44a048aa/attachment.pgp>


More information about the pulseaudio-discuss mailing list