You are not logged in.

#1 2011-02-15 12:43:11

Apriori
Member
Registered: 2011-02-15
Posts: 2

Hiccups/hangs with pulseaudio and hd audio ALC883 (ClevoM570RU)

Hello guys,

well, as the topic already says, I'm having problems with pulseaudio combined with an ALC883 hd audio card
on a Clevo-M570RU. I got occassional hiccups and hangs and pulseaudio rewinds.
For some strange reason I can't kill pulseaudio without having it restart immediatley in the
current version of archlinux, but I can tell that prior versions showed that the wakeup timer of the pulseaudio
was increased steadily after buffer underruns occured.

Its quite rare that buffer underruns occur in which cases pulseaudio triggers a replay of the lost samples (resulting in a hiccup)
but I can trigger it about every 30-2mins secs with running flash in fullscreen (happens way less in normal window size mode).
Sometimes the general setup seems to be unstable, resulting in hiccups every like 10 secs, with increasing "severity".
So far I tried everything possible to fix this issue without any success so far. Maybe one of you guys has an insight into this.

So far I can only tell, that flash in fullscreen and also normal video playback in vlc (with VDPAU or without, fullscreen worse) trigger this issue way more often.
So chances are, this is triggered by the NVIDIA drivers, but the problem with that is, that I really need those for development work.
Also note that e.g. Ubuntu 9.04 did not trigger such an issue - maybe they had an workaround and didn't push it upstream (as usual).

More info:

Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8.
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: snd_pcm_dump():
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Soft volume PCM
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Control: PCM Playback Volume
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: min_dB: -51
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: max_dB: 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: resolution: 256
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Its setup is:
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   stream       : CAPTURE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   access       : MMAP_INTERLEAVED
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   format       : S16_LE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   subformat    : STD
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   channels     : 2
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   rate         : 48000
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   exact rate   : 48000 (48000/1)
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   msbits       : 16
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   buffer_size  : 16384
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_size  : 8192
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_time  : 170666
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   tstamp_mode  : ENABLE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_step  : 1
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   avail_min    : 15424
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_event : 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   start_threshold  : -1
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   stop_threshold   : 4611686018427387904
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   silence_threshold: 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   silence_size : 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   boundary     : 4611686018427387904
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c: Its setup is:
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   stream       : CAPTURE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   access       : MMAP_INTERLEAVED
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   format       : S16_LE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   subformat    : STD
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   channels     : 2
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   rate         : 48000
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   exact rate   : 48000 (48000/1)
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   msbits       : 16
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   buffer_size  : 16384
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_size  : 8192
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_time  : 170666
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   tstamp_mode  : ENABLE
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_step  : 1
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   avail_min    : 15424
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   period_event : 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   start_threshold  : -1
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   stop_threshold   : 4611686018427387904
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   silence_threshold: 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   silence_size : 0
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   boundary     : 4611686018427387904
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   appl_ptr     : 15432
Feb 15 13:11:00  pulseaudio[2840]: alsa-util.c:   hw_ptr       : 15432
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8.
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: snd_pcm_dump():
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Soft volume PCM
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Control: PCM Playback Volume
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: min_dB: -51
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: max_dB: 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: resolution: 256
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Its setup is:
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   stream       : CAPTURE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   access       : MMAP_INTERLEAVED
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   format       : S16_LE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   subformat    : STD
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   channels     : 2
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   rate         : 48000
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   exact rate   : 48000 (48000/1)
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   msbits       : 16
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   buffer_size  : 16384
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_size  : 8192
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_time  : 170666
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   tstamp_mode  : ENABLE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_step  : 1
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   avail_min    : 15424
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_event : 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   start_threshold  : -1
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   stop_threshold   : 4611686018427387904
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   silence_threshold: 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   silence_size : 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   boundary     : 4611686018427387904
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c: Its setup is:
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   stream       : CAPTURE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   access       : MMAP_INTERLEAVED
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   format       : S16_LE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   subformat    : STD
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   channels     : 2
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   rate         : 48000
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   exact rate   : 48000 (48000/1)
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   msbits       : 16
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   buffer_size  : 16384
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_size  : 8192
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_time  : 170666
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   tstamp_mode  : ENABLE
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_step  : 1
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   avail_min    : 15424
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   period_event : 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   start_threshold  : -1
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   stop_threshold   : 4611686018427387904
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   silence_threshold: 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   silence_size : 0
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   boundary     : 4611686018427387904
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   appl_ptr     : 138856
Feb 15 13:11:24  pulseaudio[2865]: alsa-util.c:   hw_ptr       : 138856
lspci 
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800M GTX] (rev a2)
06:00.0 Network controller: Intel Corporation WiFi Link 5100
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
0c:07.0 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller
0c:07.1 SD Host controller: ENE Technology Inc ENE PCI SmartMedia / xD Card Reader Controller
0c:07.3 FLASH memory: ENE Technology Inc ENE PCI Secure Digital / MMC Card Reader Controller
0c:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
cat /etc/modprobe.d/alsa-base.conf 
options snd-hda-intel model=clevo-m720
options snd-hda-intel power_save=0
options snd-hda-intel enable_msi=1

Note that these options were added for further tests, they make absolutely no difference to the problem when left out.

lsmod
Module                  Size  Used by
cryptd                  7709  0 
aes_x86_64              7428  3 
aes_generic            26314  1 aes_x86_64
ipv6                  280810  20 
btusb                  11689  0 
bluetooth              53970  1 btusb
fuse                   64912  3 
arc4                    1394  2 
cpufreq_ondemand        8716  0 
nvidia              10084294  40 
ecb                     2057  2 
snd_usb_audio          87191  2 
acpi_cpufreq            5977  1 
freq_table              2339  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1259  1 acpi_cpufreq
snd_usbmidi_lib        18484  1 snd_usb_audio
iwlagn                358041  0 
snd_rawmidi            19525  1 snd_usbmidi_lib
iwlcore                92743  1 iwlagn
snd_seq_dummy           1479  0 
snd_seq_oss            29368  0 
snd_seq_midi_event      5516  1 snd_seq_oss
snd_seq                50594  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5281  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            39669  0 
snd_mixer_oss          17858  1 snd_pcm_oss
usbhid                 36375  0 
hid                    77863  1 usbhid
joydev                 10183  0 
sg                     25972  0 
snd_hda_codec_si3054     3870  1 
mac80211              199564  2 iwlagn,iwlcore
snd_hda_codec_realtek   295557  1 
lirc_ite8709            5705  0 
snd_hda_intel          21837  4 
video                  11923  0 
output                  1988  1 video
usb_storage            43276  0 
uas                     8170  0 
sdhci_pci               7454  0 
lirc_dev                9759  1 lirc_ite8709
snd_hda_codec          74609  3 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
uhci_hcd               22230  0 
ac                      3217  0 
thermal                 7890  0 
processor              25265  3 acpi_cpufreq
container               2541  0 
button                  4882  0 
battery                10279  0 
firewire_ohci          26921  0 
intel_agp              10504  0 
cfg80211              139317  3 iwlagn,iwlcore,mac80211
intel_gtt              15215  1 intel_agp
psmouse                53237  0 
firewire_core          49974  1 firewire_ohci
snd_hwdep               6222  2 snd_usb_audio,snd_hda_codec
r8169                  36286  0 
snd_pcm                72481  6 snd_usb_audio,snd_pcm_oss,snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
snd_timer              19537  2 snd_seq,snd_pcm
snd                    58938  26 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
ehci_hcd               37571  0 
soundcore               6161  1 snd
mii                     3842  1 r8169
usbcore               139048  9 btusb,snd_usb_audio,snd_usbmidi_lib,usbhid,usb_storage,uas,uhci_hcd,ehci_hcd
serio_raw               4566  0 
pcspkr                  1835  0 
crc_itu_t               1313  1 firewire_core
sdhci                  17174  1 sdhci_pci
shpchp                 26725  0 
i2c_i801                8230  0 
wmi                     8061  0 
snd_page_alloc          7361  2 snd_hda_intel,snd_pcm
mmc_core               62378  1 sdhci
pci_hotplug            24655  1 shpchp
i2c_core               19078  2 nvidia,i2c_i801
evdev                   9361  19 
iTCO_wdt               10925  0 
iTCO_vendor_support     1817  1 iTCO_wdt
rfkill                 16122  2 bluetooth,cfg80211
ext3                  125159  2 
jbd                    46953  1 ext3
mbcache                 5802  1 ext3
sr_mod                 15402  0 
cdrom                  36363  1 sr_mod
sd_mod                 27120  4 
pata_acpi               3296  0 
ata_piix               21670  3 
libata                169364  2 pata_acpi,ata_piix
scsi_mod              125814  6 sg,usb_storage,uas,sr_mod,sd_mod,libata
cat /etc/rc.conf | grep DAEMONS=
DAEMONS=(syslog-ng !network netfs dbus hal networkmanager !wicd alsa crond @postgresql irqbalance kdm)

Leaving out irqbalance doesn't change anything either.

uname -a
Linux - 2.6.37-ARCH #1 SMP PREEMPT Sat Jan 29 20:00:33 CET 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux
yaourt -Q nvidia pulseaudio libvdpau 
extra/nvidia 260.19.36-2
extra/pulseaudio 0.9.22-2
extra/libvdpau 0.4.1-1
extra/alsa-lib 1.0.23-2
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

 

I'd be really thankful for any hint that could lead to the solution of the problem.

Regards

apriori

Offline

Board footer

Powered by FluxBB