[pulseaudio-discuss] sound stopped working

Joerg Beyer j.beyer at web.de
Wed Mar 26 14:06:19 PDT 2008


Lennart Poettering schrieb:
> On Wed, 26.03.08 20:56, Joerg Beyer (j.beyer at web.de) wrote:
> 
>> Hello,
>>
>> I installed pulseaudio with ubuntu-8.4 (beta). Sound worked, but only 
>> for a few hours and stopped working - I have no idea what action might 
>> have caused it, since it happend while I switched watching a video from
>> my camcorder from one player to another.
>>
>> Since it happend with the ubuntu beta, I filed a bug there:
>> https://bugs.launchpad.net/ubuntu/+bug/206087
>> Feel free to ask for further details.
> 
> I am not subscribing to yet another (closed source!) BTS.
> 
> Please file a bug upstream if you want feedback on it.

it's there:
http://pulseaudio.org/ticket/266

> 
> 
>> I am looking for a way to determin, what eats my audio:
>> I use paplay test.wav - and I can not hear anything.
>> pavumeter shows a moving/changing signal -> seems OK
> 
> Please provide a dump of "pulseaudio -vv" when this happens (this
> starts a new pa daemon, make sure to kill the old one with pulsaudio
> -k before.)

joerg at phb:~$ pulseaudio -k
joerg at phb:~$ ps uax |grep pulseaudio

I then played test.wav with paplay, here is the pulseaudio -vv output:


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: High-priority scheduling enabled in configuration but now 
allowed by policy. Disabling forcibly.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: Page size is 4096 bytes
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/computer_alsa_timer
D: module-hal-detect.c: Not loaded device 
/org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device 
/org/freedesktop/Hal/devices/pci_10de_59_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device 
/org/freedesktop/Hal/devices/pci_10de_59_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 
'device_id=0 sink_name=alsa_output.pci_10de_59_sound_card_0_alsa_playback_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 
48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 
"alsa_output.pci_10de_59_sound_card_0_alsa_playback_0" with sample spec 
"s16le 2ch 48000Hz"
I: source.c: Created source 0 
"alsa_output.pci_10de_59_sound_card_0_alsa_playback_0.monitor" with 
sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 4 fragments of size 4408 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using 
hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: 
"device_id=0 
sink_name=alsa_output.pci_10de_59_sound_card_0_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 
'device_id=0 source_name=alsa_input.pci_10de_59_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 
48000 Hz.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 
"alsa_input.pci_10de_59_sound_card_0_alsa_capture_0" with sample spec 
"s16le 2ch 48000Hz"
I: module-alsa-source.c: Using 4 fragments of size 4408 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using 
hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: 
"device_id=0 
source_name=alsa_input.pci_10de_59_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device 
/org/freedesktop/Hal/devices/pci_10de_59_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 
'device_id=2 
source_name=alsa_input.usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:2...
I: alsa-util.c: PCM device front:2 refused our hw parameters: Invalid 
argument
D: alsa-util.c: Trying surround40:2...
I: alsa-util.c: PCM device surround40:2 refused our hw parameters: 
Invalid argument
D: alsa-util.c: Trying surround41:2...
I: alsa-util.c: PCM device surround41:2 refused our hw parameters: 
Invalid argument
D: alsa-util.c: Trying surround50:2...
I: alsa-util.c: PCM device surround50:2 refused our hw parameters: 
Invalid argument
D: alsa-util.c: Trying surround51:2...
I: alsa-util.c: PCM device surround51:2 refused our hw parameters: 
Invalid argument
D: alsa-util.c: Trying surround71:2...
I: alsa-util.c: PCM device surround71:2 refused our hw parameters: 
Invalid argument
D: alsa-util.c: Trying hw:2 as last resort...
W: alsa-util.c: Device hw:2 doesn't support 44100 Hz, changed to 16000 Hz.
W: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 1.
I: module-alsa-source.c: Successfully opened device hw:2.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:2'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 2 
"alsa_input.usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_capture_0" 
with sample spec "s16le 1ch 16000Hz"
I: module-alsa-source.c: Using 4 fragments of size 2204 bytes.
I: alsa-util.c: All 1 channels can be mapped to mixer channels. Using 
hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: 
"device_id=2 
source_name=alsa_input.usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device 
/org/freedesktop/Hal/devices/usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 3 modules.
I: module.c: Loaded "module-hal-detect" (index: #3; argument: "").
I: module.c: Loaded "module-esound-protocol-unix" (index: #4; argument: 
"socket=/tmp/.esd/socket").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 
'alsa_output.pci_10de_59_sound_card_0_alsa_playback_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 
'alsa_input.pci_10de_59_sound_card_0_alsa_capture_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; 
argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Source 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source 
alsa_input.pci_10de_59_sound_card_0_alsa_capture_0 becomes idle.
D: module-suspend-on-idle.c: Source 
alsa_input.usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_capture_0 
becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9/modules//module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9/modules//module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #11; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, 
path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0 idle for too long, 
suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Source 
alsa_input.usb_device_46d_8ad_noserial_if1_sound_card_0_alsa_capture_0 
idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source 
alsa_input.pci_10de_59_sound_card_0_alsa_capture_0 idle for too long, 
suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0.monitor idle for 
too long, suspending ...
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket 
client)" to "paplay"
I: module-volume-restore.c: Restoring sink for 
<pulsecore/protocol-native.c$paplay>
I: module-volume-restore.c: Restoring volume for 
<pulsecore/protocol-native.c$paplay>
I: module-alsa-sink.c: Trying resume...
I: module-alsa-sink.c: Resumed successfully...
I: module-alsa-sink.c: Starting playback.
D: module-suspend-on-idle.c: Sink 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Sink 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0 becomes busy.
D: resampler.c: Channel matrix:
D: resampler.c:        I00
D: resampler.c:     +------
D: resampler.c: O00 | 1,000
D: resampler.c: O01 | 1,000
I: resampler.c: Using resampler 'speex-float-3'
I: resampler.c: Using float32le as working format.
I: resampler.c: Choosing speex quality setting 3.
I: sink-input.c: Created input 0 "test.wav" on 
alsa_output.pci_10de_59_sound_card_0_alsa_playback_0 with sample spec 
s16le 1ch 22050Hz and channel map mono
D: memblockq.c: memblockq requested: maxlength=33075, tlength=22050, 
base=2, prebuf=21609, minreq=441
D: memblockq.c: memblockq sanitized: maxlength=33076, tlength=22050, 
base=2, prebuf=21610, minreq=440
D: memblock.c: Memory block too large for pool: 18368 > 16376


	Joerg



More information about the pulseaudio-discuss mailing list