30 seconds sound lag after upgrade to Ubuntu 10.04

Bug #575371 reported by Jens Askengren
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Low
Unassigned

Bug Description

After upgrading to Ubuntu 10.04 I get a sound lag of about 30 seconds in the game Enemy Territory Quake Wars.

At first, the sound works as expected. But after some time (about 30-60 seconds) the game gets totally quiet.
Another 30 seconds later, the sound returns, but now playing with a delay of 30 seconds.

There are no relevant messages to the games log or the syslog.

This could be an alsa or pulse audio bug.

Running the game with pasuspender causes excessive processor usage and logs messages like:

idAudioHardwareALSA::Write: 4096 frames overflowed and dropped
snd_pcm_readi failed: Resource temporarily unavailable
snd_pcm_readi failed: Resource temporarily unavailable
snd_pcm_readi failed: Resource temporarily unavailable
...

Are there any changes in 10.04 that could have affected sound latency?

alsa-source:
  Installerad: (ingen)
  Kandidat: 1.0.22.1+dfsg-0ubuntu3
  Versionstabell:
     1.0.22.1+dfsg-0ubuntu3 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/universe Packages

pulseaudio:
  Installerad: 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14
  Kandidat: 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14
  Versionstabell:
 *** 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

linux:
  Installerad: (ingen)
  Kandidat: 2.6.32.21.22
  Versionstabell:
     2.6.32.21.22 0
        500 http://se.archive.ubuntu.com/ubuntu/ lucid/main Packages

00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
 Subsystem: ASUSTeK Computer Inc. Device 817f
 Flags: bus master, fast devsel, latency 0, IRQ 19
 Memory at bdcf8000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
 Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
 Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
 Capabilities: [100] Virtual Channel <?>
 Capabilities: [130] Root Complex Link <?>
 Kernel driver in use: HDA Intel
 Kernel modules: snd-hda-intel
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jens 2152 F.... pulseaudio
CRDA: Error: [Errno 2] Filen eller katalogen finns inte
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xbdcf8000 irq 19'
   Mixer name : 'Analog Devices AD1986A'
   Components : 'HDA:11d41986,1043818f,00100500'
   Controls : 38
   Simple ctrls : 22
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=d3545550-043b-4ca2-9b8f-ca814d66b113
MachineType: stem manufacturer System Product Name
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=637d8b8e-9cf4-4ad8-b482-c5175b466220 ro quiet splash
ProcEnviron:
 LANG=sv_SE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: lucid ubuntu-une audio regression-release needs-upstream-testing
Uname: Linux 2.6.32-21-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/23/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0802
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5LD2-SE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev x.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0802:bd01/23/2007:svnstemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5LD2-SE:rvrRevx.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: stem manufacturer

Revision history for this message
Victor Vargas (kamus) wrote :

Please could you run in a terminal this command: "apport-collect -p linux 575371", this output will attach some usefull information to your report. Thanks.

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jens Askengren (jens-askengren) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jens Askengren (jens-askengren) wrote : AplayDevices.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : BootDmesg.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : IwConfig.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : Lspci.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : Lsusb.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : PciMultimedia.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : ProcModules.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : UdevDb.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : UdevLog.txt

apport information

Revision history for this message
Jens Askengren (jens-askengren) wrote : WifiSyslog.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bengt 1814 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a002,00100101'
   Controls : 40
   Simple ctrls : 22
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfdffc000 irq 19'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [off]
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100317.1)
MachineType: Gigabyte Technology Co., Ltd. GA-MA78G-DS3H
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=d07e05d7-1502-43be-8109-79c1883ddae4 ro quiet splash
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: lucid audio regression-release needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/19/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FA
dmi.board.name: GA-MA78G-DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFA:bd09/19/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA78G-DS3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA78G-DS3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA78G-DS3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Bengt Lüers (bengtlueers) wrote : AlsaDevices.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : AplayDevices.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : ArecordDevices.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : BootDmesg.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : IwConfig.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : Lspci.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : Lsusb.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : PciMultimedia.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : ProcModules.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : UdevDb.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : UdevLog.txt

apport information

Revision history for this message
Bengt Lüers (bengtlueers) wrote : WifiSyslog.txt

apport information

Revision history for this message
Rajeev Nair (rajeev) wrote :

I have this problem with a similar game , quake 4 .Exactly same issue .Using alsa.

Revision history for this message
Rajeev Nair (rajeev) wrote :

Only solution for many years has been the OSS driver, though alsa worked decently since 8.04 till now .

Revision history for this message
Rajeev Nair (rajeev) wrote :

AMD 64 system , 64 bit ubuntu.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Adam Reeve (adreeve) wrote :

This is still a problem in 10.10 and it seems that all the requested information was provided so this shouldn't have been marked as incomplete. I've changed it to new.

Changed in linux (Ubuntu):
status: Expired → New
To post a comment you must log in.