pulseaudio stutters while playing music

Bug #571464 reported by supercompman
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: pulseaudio

On my Asus Eee PC 900HA using Ubuntu 10.04 RC, listening to music is nearly impossible with stuttering occurring regularly even when no other applications are running. I'm attaching a pulseaudio log to show you what's going on.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nick 3764 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf3db8000 irq 22'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,10438330,00100004'
   Controls : 12
   Simple ctrls : 7
Date: Wed Apr 28 16:40:25 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100406.1)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: pulseaudio
dmi.bios.date: 03/02/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0803
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 900HA
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0803:bd03/02/2009:svnASUSTeKComputerINC.:pn900HA:pvrx.x:rvnASUSTeKComputerINC.:rn900HA:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x:
dmi.product.name: 900HA
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
supercompman (supercompman) wrote :
description: updated
Revision history for this message
Daniel T Chen (crimsun) wrote :

This looks like a sound driver bug. Can you reproduce this symptom using linux-alsa-driver-modules-$(uname -r) from ppa:ubuntu-audio-dev?

affects: pulseaudio (Ubuntu) → alsa-driver (Ubuntu)
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
supercompman (supercompman) wrote :

I just installed that package, and while it seems like the stuttering is less frequent, it's still occurring, but I've only listened to music for a few minutes with the new alsa drivers installed... a long period of listening may prove that the problem is still just as bad as before.

Revision history for this message
supercompman (supercompman) wrote :

Yes, I can say for certain now that the stuttering is still just as bad as before.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Can you try adding the following line to /etc/modprobe.d/alsa-base.conf and rebooting?

options snd-hda-intel position_fix=1

Revision history for this message
supercompman (supercompman) wrote :

I made the changes and rebooted but I'm still having the same issue.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 571464] Re: pulseaudio stutters while playing music

Please a verbose pulse log and dmesg with position_fix=1 active.

On Apr 28, 2010 8:05 PM, "supercompman" <email address hidden> wrote:

I made the changes and rebooted but I'm still having the same issue.

--
pulseaudio stutters while playing music
https://bugs.launchpad.net/bugs/571464
You received thi...

Audio Team, which is subscribed to alsa-driver in ubuntu.

Status in “alsa-driver” package in Ubuntu...

Bug description:
Binary package hint: pulseaudio

On my Asus Eee PC 900HA using Ubuntu 10.04 RC, lis...

Revision history for this message
supercompman (supercompman) wrote :

Well yesterday seemed to be a bit of a fluke... today, the most I can seem to reproduce is occasional popping... nothing nearly as severe as yesterday.

Revision history for this message
supercompman (supercompman) wrote :
Revision history for this message
aslam karachiwala (akwala) wrote :

Me too...

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.
Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).

Here's my dmesg w/ position_fix=1...

Revision history for this message
aslam karachiwala (akwala) wrote :

...pulseverbose log, attempt #1...

$ LANG=C pulseaudio -vvvv > ~/logs/pulseverbose4.log 2>&1
Killed

...died a few seconds after I started playing audio via Quod Libet...

Revision history for this message
aslam karachiwala (akwala) wrote :

...pulseverbose log, attempt #2...

$ LANG=C pulseaudio -vvvv > ~/logs/pulseverbose4-`date +%y%m%d-%H%M%S%Z`.log 2>&1

...this time it didn't die while playing audio.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
aslam karachiwala (akwala) wrote :

Most likely related/duplicates: Bug #464442 & Bug #476652

Revision history for this message
aslam karachiwala (akwala) wrote :

The following workaround seems to have done the trick for me:

System: Ubuntu 10.04 amd64

File: /etc/pulse/default.pa
    Add " tsched=0" to the following line:
      load-module module-detect

See post #39 in this thread:
http://ubuntuforums.org/showthread.php?t=1471262

Revision history for this message
supercompman (supercompman) wrote :

Even after adding " tsched=0" I still have stutters.

Revision history for this message
supercompman (supercompman) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote :

A couple of things to try:

1. Try installing linux-alsa-driver-modules-2.6.32-22-generic from the ubuntu-audio-dev PPA, http://launchpad.net/~ubuntu-audio-dev/+archive
If installing this package and rebooting doesn't help, then try adding the following line to /etc/modprobe.d/alsa-base.conf
options snd-hda-intel position_fix=1
Reboot after you make this change.

Please report back with the results.

Revision history for this message
aslam karachiwala (akwala) wrote :

Luke Yelavich,

I've already tried your suggestions, they don't fix the problem for me -- see my comment (#29) on Bug #551949:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/551949/comments/29

(Re the workaround in my comment #14 above: The stuttering/skipping returned a couple of days later.)

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok, instead of position_fix=1, try changing that to enable_msi=1 and report back with results.

Revision history for this message
aslam karachiwala (akwala) wrote :

>Luke Yelavich:
>Ok, instead of position_fix=1, try changing that to enable_msi=1 and report
>back with results.

Did this and rebooted. No change in behaviour, the problem persists.

Revision history for this message
dino99 (9d9) wrote :

Closing that outdated report as EOL has been reached long time ago

Changed in alsa-driver (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.