[alsa-devel] snd_hda_intel error
I found this message in my system logs:
Dec 04 07:25:52 [pulseaudio] alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8. Dec 04 07:25:52 [pulseaudio] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Dec 04 07:25:52 [pulseaudio] alsa-util.c: snd_pcm_dump(): Dec 04 07:25:52 [pulseaudio] alsa-util.c: Soft volume PCM Dec 04 07:25:52 [pulseaudio] alsa-util.c: Control: PCM Playback Volume Dec 04 07:25:52 [pulseaudio] alsa-util.c: min_dB: -51 Dec 04 07:25:52 [pulseaudio] alsa-util.c: max_dB: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: resolution: 256 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Its setup is: Dec 04 07:25:52 [pulseaudio] alsa-util.c: stream : CAPTURE Dec 04 07:25:52 [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED Dec 04 07:25:52 [pulseaudio] alsa-util.c: format : S16_LE Dec 04 07:25:52 [pulseaudio] alsa-util.c: subformat : STD Dec 04 07:25:52 [pulseaudio] alsa-util.c: channels : 2 Dec 04 07:25:52 [pulseaudio] alsa-util.c: rate : 44100 Dec 04 07:25:52 [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1) Dec 04 07:25:52 [pulseaudio] alsa-util.c: msbits : 16 Dec 04 07:25:52 [pulseaudio] alsa-util.c: buffer_size : 16384 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_size : 8192 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_time : 185759 Dec 04 07:25:52 [pulseaudio] alsa-util.c: tstamp_mode : ENABLE Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_step : 1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: avail_min : 15502 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_event : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: start_threshold : -1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: stop_threshold : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_threshold: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_size : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: boundary : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Its setup is: Dec 04 07:25:52 [pulseaudio] alsa-util.c: stream : CAPTURE Dec 04 07:25:52 [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED Dec 04 07:25:52 [pulseaudio] alsa-util.c: format : S16_LE Dec 04 07:25:52 [pulseaudio] alsa-util.c: subformat : STD Dec 04 07:25:52 [pulseaudio] alsa-util.c: channels : 2 Dec 04 07:25:52 [pulseaudio] alsa-util.c: rate : 44100 Dec 04 07:25:52 [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1) Dec 04 07:25:52 [pulseaudio] alsa-util.c: msbits : 16 Dec 04 07:25:52 [pulseaudio] alsa-util.c: buffer_size : 16384 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_size : 8192 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_time : 185759 Dec 04 07:25:52 [pulseaudio] alsa-util.c: tstamp_mode : ENABLE Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_step : 1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: avail_min : 15502 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_event : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: start_threshold : -1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: stop_threshold : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_threshold: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_size : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: boundary : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: appl_ptr : 135040 Dec 04 07:25:52 [pulseaudio] alsa-util.c: hw_ptr : 135040
I am using the driver from the 2.6.31.1 kernel
I neglected to include this line from dmesg
hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
I don''t know if that is related or not.
On Sat, Dec 4, 2010 at 7:38 AM, Jack Byer ftn768@gmail.com wrote:
I neglected to include this line from dmesg
hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
I don''t know if that is related or not.
No it's not. I provided a fix for this bug in alsa-lib. http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=aba87e509898ec9ddb3e3... You can implement a work-around by using hardware devices in your mixer profile instead of front: -Pierre
On Sat, Dec 4, 2010 at 8:34 AM, Jack Byer ftn768@gmail.com wrote:
I am using the driver from the 2.6.31.1 kernel
You'll at least want to try a daily snapshot, ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.bz2, and use http://www.alsa-project.org/alsa-info.sh.
Best, -Dan
Sorry, that was a typo. It should be 2.6.36.1
On Tue, Dec 7, 2010 at 1:26 AM, Daniel Chen seven.steps@gmail.com wrote:
On Sat, Dec 4, 2010 at 8:34 AM, Jack Byer ftn768@gmail.com wrote:
I am using the driver from the 2.6.31.1 kernel
You'll at least want to try a daily snapshot, ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.bz2, and use http://www.alsa-project.org/alsa-info.sh.
Best, -Dan
2010/12/4 Jack Byer ftn768@gmail.com
I found this message in my system logs:
Dec 04 07:25:52 [pulseaudio] alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8. Dec 04 07:25:52 [pulseaudio] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Dec 04 07:25:52 [pulseaudio] alsa-util.c: snd_pcm_dump(): Dec 04 07:25:52 [pulseaudio] alsa-util.c: Soft volume PCM Dec 04 07:25:52 [pulseaudio] alsa-util.c: Control: PCM Playback Volume Dec 04 07:25:52 [pulseaudio] alsa-util.c: min_dB: -51 Dec 04 07:25:52 [pulseaudio] alsa-util.c: max_dB: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: resolution: 256 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Its setup is: Dec 04 07:25:52 [pulseaudio] alsa-util.c: stream : CAPTURE Dec 04 07:25:52 [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED Dec 04 07:25:52 [pulseaudio] alsa-util.c: format : S16_LE Dec 04 07:25:52 [pulseaudio] alsa-util.c: subformat : STD Dec 04 07:25:52 [pulseaudio] alsa-util.c: channels : 2 Dec 04 07:25:52 [pulseaudio] alsa-util.c: rate : 44100 Dec 04 07:25:52 [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1) Dec 04 07:25:52 [pulseaudio] alsa-util.c: msbits : 16 Dec 04 07:25:52 [pulseaudio] alsa-util.c: buffer_size : 16384 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_size : 8192 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_time : 185759 Dec 04 07:25:52 [pulseaudio] alsa-util.c: tstamp_mode : ENABLE Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_step : 1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: avail_min : 15502 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_event : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: start_threshold : -1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: stop_threshold : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_threshold: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_size : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: boundary : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: Its setup is: Dec 04 07:25:52 [pulseaudio] alsa-util.c: stream : CAPTURE Dec 04 07:25:52 [pulseaudio] alsa-util.c: access : MMAP_INTERLEAVED Dec 04 07:25:52 [pulseaudio] alsa-util.c: format : S16_LE Dec 04 07:25:52 [pulseaudio] alsa-util.c: subformat : STD Dec 04 07:25:52 [pulseaudio] alsa-util.c: channels : 2 Dec 04 07:25:52 [pulseaudio] alsa-util.c: rate : 44100 Dec 04 07:25:52 [pulseaudio] alsa-util.c: exact rate : 44100 (44100/1) Dec 04 07:25:52 [pulseaudio] alsa-util.c: msbits : 16 Dec 04 07:25:52 [pulseaudio] alsa-util.c: buffer_size : 16384 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_size : 8192 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_time : 185759 Dec 04 07:25:52 [pulseaudio] alsa-util.c: tstamp_mode : ENABLE Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_step : 1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: avail_min : 15502 Dec 04 07:25:52 [pulseaudio] alsa-util.c: period_event : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: start_threshold : -1 Dec 04 07:25:52 [pulseaudio] alsa-util.c: stop_threshold : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_threshold: 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: silence_size : 0 Dec 04 07:25:52 [pulseaudio] alsa-util.c: boundary : 4611686018427387904 Dec 04 07:25:52 [pulseaudio] alsa-util.c: appl_ptr : 135040 Dec 04 07:25:52 [pulseaudio] alsa-util.c: hw_ptr : 135040
I am using the driver from the 2.6.31.1 kernel
http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=aba87e509898ec9ddb3e3...
Which application is recording ?
Please provide a test case which can reproduce the problem ? (with a full pulseaudio log )
participants (4)
-
Daniel Chen
-
Jack Byer
-
pl bossart
-
Raymond Yau