agosto 03, 2009

Problemas con el snd_intel8x0 y el 2.6.29.6-213.fc11.i686.PAE

Desde la última actualización del sistema (Fedora 11 sobre un Thinkpad T43) comencé a tener problemas con el audio. Cualquier cosa que se conectara a pulseaudio a los 10 - 15 segundos dejaba de reproducir (casi colgaba la máquina con un 100% de uso CPU)

En la aplicación aparecía algo del estilo
$ totem Videos/big_buck_bunny_720p_stereo.ogg
0:01:28.925240226 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:326:bvw_error_msg: message = pa_stream_writable_size() failed: Connection terminated
0:01:28.925323897 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:328:bvw_error_msg: domain = 2851 (gst-resource-error-quark)
0:01:28.925341986 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:329:bvw_error_msg: code = 1
0:01:28.925357421 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:330:bvw_error_msg: debug = pulsesink.c(1160): gst_pulseringbuffer_commit (): /GstPlayBin:play/GstBin:abin/GstBin:audiosinkbin/GstPulseSink:audio-sink
0:01:28.925375090 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:331:bvw_error_msg: source =
0:01:28.925405401 2882 0x83305e8 ERROR totem bacon-video-widget-gst-0.10.c:332:bvw_error_msg: uri = file:///home/casep/Videos/big_buck_bunny_720p_stereo.ogg
** Message: Error: pa_stream_writable_size() failed: Connection terminated
pulsesink.c(1160): gst_pulseringbuffer_commit (): /GstPlayBin:play/GstBin:abin/GstBin:audiosinkbin/GstPulseSink:audio-sink

Y en /var/log/messages
Aug  3 19:37:09 localhost pulseaudio[2279]: alsa-sink.c: Increasing wakeup watermark to 30.00 ms
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 4294951828 bytes (24347799 ms).
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_dump():
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Hardware PCM card 0 'Intel ICH6' device 0 subdevice 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Its setup is:
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stream : PLAYBACK
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: access : MMAP_INTERLEAVED
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: format : S16_LE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: subformat : STD
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: channels : 2
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: rate : 44100
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: exact rate : 44100 (44100/1)
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: msbits : 16
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: buffer_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_time : 371519
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: tstamp_mode : ENABLE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_step : 1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: avail_min : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_event : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: start_threshold : -1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stop_threshold : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_threshold: 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_size : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: boundary : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: appl_ptr : 1445748
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: hw_ptr : 1425497
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_delay() returned a value that is exceptionally large: 363048 bytes (2058 ms).
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: snd_pcm_dump():
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Hardware PCM card 0 'Intel ICH6' device 0 subdevice 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Its setup is:
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stream : PLAYBACK
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: access : MMAP_INTERLEAVED
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: format : S16_LE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: subformat : STD
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: channels : 2
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: rate : 44100
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: exact rate : 44100 (44100/1)
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: msbits : 16
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: buffer_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_size : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_time : 371519
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: tstamp_mode : ENABLE
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_step : 1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: avail_min : 16384
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: period_event : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: start_threshold : -1
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: stop_threshold : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_threshold: 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: silence_size : 0
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: boundary : 1073741824
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: appl_ptr : 1521159
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: hw_ptr : 1430397
Aug 3 19:37:12 localhost pulseaudio[2279]: asyncq.c: q overrun, queuing locally


Nos quedamos con la parte de
"
Aug 3 19:37:09 localhost pulseaudio[2279]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers."

Según lspci (es un Thinkpad T43)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)


De momento a quedarse con el kernel-PAE-2.6.29.5-191.fc11.i686, con el que no tengo este tipo de problemas. En el Compaq 6510b (
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 
) no tengo el problema.

Alguien más por ahí con el mismo problema (no lo he pillado aún en bugzilla)

5 comentarios:

  1. I don't know where did you get the idea that some random blog is the best place to report bugs. Here's the bug entry, with a fix:

    https://bugzilla.redhat.com/show_bug.cgi?id=506075

    ResponderEliminar
  2. Hi:
    I'm not reporting a bug, I'm sharing an experience, and as you can see/read in the last parragraph I was asking if someone else has the same problem in order to get better information to report the bug. Also I was not being able to find the bug in bugzilla (same parragraph) thanks for the link.

    Regards

    ResponderEliminar
  3. I'm having the same problem, anyone have the kernel-2.6.30.4 x86_64?
    Please post a link to the rpm.

    thanks

    ResponderEliminar
  4. I had just posted a confirmation about the same problem. I think this happens only with the latest 2 kernels. I will investigate more and write in bugzilla.

    ResponderEliminar
  5. Hola
    A mi me pasaba lo mismo y lo solucione con este link:
    http://pulseaudio.org/wiki/PerfectSetup#PulseAudioDeviceChooser

    Saludos

    ResponderEliminar