Audio stutters and glitches (Karmic, Intel HDA ICH8)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm having the problem of crackling and stuttering audio since Ubuntu Karmic (final). Sometimes gstreamer even kills the current playback stream with an error. I did a fresh install to make sure it is not caused by any update artefacts. I have not had any audio problems with this setup since Intrepid: ThinkPad R61, soundcard: 82801H (ICH8 Family) HD Audio Controller
I opened a new bug as even though the symptoms seem to be similar to https:/
- As opposed to some people with the above-mentioned bug, the problem is not fixed by changing the resampling method.
- Also when I kill pulseaudio and let a player use alsa straight, the problem persists.
Based on that I guess the problem should not be in pulseaudio, but either in the alsa driver or something else. I somehow have a hunch that there could be something broken in the process-
The drop-outs appear irregularly. Sometimes there is around half a minute between them, sometimes the appear several times a second. It seems to depend on what happens else in the system, even though I could not make out any pattern. System and CPU load figures are not proportional to the problems, neither are net or disk I/O. I could not make out any suspicious processes in top or system monitor.
Another observation is that there is similar stuttering behaviour in the mouse movement, that one hangs frequently for a little moment. Sometimes I can reproduce that by hitting enter in the firefox search box while circling the mouse pointer, but then sometimes this does not interrupt the mouse-movement at all.
In lack of an idea how to log on the alsa-level, I made a verbose-log (attached) of pulse playing back a file (using vlc), producing those glitches. I gonna attach a log with an output example of vlc and a corresponding top snapshot corresponding to this case.
I know the information is not very focussed, but this should get you started to help me to get to the right places for finding out what is actually wrong.
Regards, Alex
ProblemType: Bug
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0p: alex 3269 F...m vlc
/dev/snd/timer: alex 3269 F.... vlc
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe220000 irq 17'
Mixer name : 'Analog Devices AD1984'
Components : 'HDA:11d41984,
Controls : 29
Simple ctrls : 18
Date: Mon Nov 9 19:42:18 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: alsa-base 1.0.20+
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=en_DK.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: alsa-driver
Tags: ubuntu-unr
Uname: Linux 2.6.31-14-generic i686
tags: | added: karmic |
Changed in alsa-driver (Ubuntu): | |
status: | Incomplete → Fix Released |
To rule out some further things:
- It does not make a difference if the 3D effects are turned on or off
- I does not make a difference if the proprietary nvidia driver is used or not
I guess the most important thing right now would be to find out if this is actually a process scheduling problem or a problem in the hda-intel driver. But I have run out of ideas how to find out about that...
Thanks for any help, Alex