Audio skips (buffer underruns) intermittently but particularly when screen blanks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Audio playback via ALSA (snd_intel_hda) & pulseaudio inevitably 'skips' (repeats buffer content) intermittently a few times each hour, and severely whenever the screen is blanked for inactivity.
CPU load is low (mostly idle).
I didn't have this problem with my previous fresh installation of Ubuntu (14.04.3 LTS) on this hardware.
From dmesg, kernel appears to be using the TSC clocksource:
[ 3.180127] clocksource: Switched to clocksource tsc
Upon startup, Pulseaudio sees high resolution timers:
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
When audio skips, alsa-sink.c logs a massive scheduling delay (e.g. 1070.00 ms > 15.99 ms) and also that "snd_pcm_avail() returned a value that is exceptionally large: 623124 bytes (1177 ms)"
Currently running Ubuntu 15.10 Wily (fresh install).
linux-sound-base:
Installed: 1.0.25+
pulseaudio:
Installed: 1:6.0-0ubuntu13
Audio output used is Built-in Audio Analogue Surround 5.1 (motherboard audio, Realtek ALC889A)
Attaching log from pulseaudio -vvvv
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: alsa-base 1.0.25+
ProcVersionSign
Uname: Linux 4.2.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0p: chinf 7928 F...m pulseaudio
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
Date: Sat Jan 30 18:17:01 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-12-11 (50 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitec
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Built-in Audio - HDA ATI SB
Symptom_Jack: Green Line Out, Rear
Symptom_Type: Sound works for a while, then breaks
Title: [GA-MA790GP-DS4H, Realtek ALC889A, Green Line Out, Rear] fails after a while
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/16/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F6
dmi.board.name: GA-MA790GP-DS4H
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:bvnAwardSof
dmi.product.name: GA-MA790GP-DS4H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
mtime.conffile.
Changed in alsa-driver (Ubuntu): | |
importance: | Undecided → Medium |
59001.166788] pavucontrol[3288]: segfault at 0 ip 00007f1b8bfd5084 sp 00007ffc7559e310 error 4 in libpixman- 1.so.0. 32.6[7f1b8bf870 00+a5000] 561f8980b000+ 5a2d000] DS4H/GA- MA790GP- DS4H, BIOS F6 09/16/2009 4c9>] dump_stack+ 0x45/0x57 [415104.464660] [<ffffffff81187 be2>] warn_alloc_ failed+ 0xf2/0x140 [415104.464663] [<ffffffff8118b 4de>] ? __alloc_ pages_direct_ compact+ 0xee/0xf0 [415104.464665] [<ffffffff8118b 7c4>] __alloc_ pages_nodemask+ 0x2e4/0xa10 [415104.464668] [<ffffffff811d3 1a1>] alloc_pages_ current+ 0x91/0x100 [415104.464670] [<ffffffff81187 dab>] alloc_kmem_ pages+0x3b/ 0xe0 [415104.464673] [<ffffffff811a7 27e>] kmalloc_ order_trace+ 0x2e/0xc0 [415104.464676] [<ffffffff811de cdd>] __kmalloc+ 0x21d/0x250 [415104.464765] [<ffffffffc019d 193>] ? KCL_MEM_ SmallBufferAllo c+0x13/ 0x20 [fglrx] [415104.464804] [<ffffffffc019d 193>] KCL_MEM_ SmallBufferAllo c+0x13/ 0x20 [fglrx] [415104.464844] [<ffffffffc01a4 493>] drm_alloc+ 0xc3/0x1a0 [fglrx] [415104.464888] [<ffffffffc01c4 355>] ? __alloc_ memory_ uswc+0x65/ 0x260 [fglrx] [415104.464931] [<ffffffffc01c2 43e>] ? gal_alloc_ gart_memory+ 0x3e/0xa0 [fglrx] [415104.464974] [<ffffffffc01cc a91>] ? __mc_heap_ alloc_memory+ 0xf1/0x1f0 [fglrx] [415104.465017] [<ffffffffc01c7 ba4>] ? mc_heap_ allocate_ memory+ 0x74/0x130 [fglrx] [415104.465060] [<ffffffffc01ba dd4>] ? MCIL_AllocateMe moryInDescripto r+0x74/ 0xe0 [fglrx] [415104.465125] [<ffffffffc026e 38f>] ? _ZN2OS10gart_ AllocEP7CMMPool mmRm9_CMM_ HEAP+0xef/ 0x1f0 [fglrx] 8a6>] ? _ZN12CMMHeap_ GART10expandHea pEmRmPv+ 0x76/0x100 [fglrx] [415104.465239] [<ff
[75134.180956] traps: Compositor[24362] general protection ip:561f8a9cba52 sp:7f57917511a0 error:0 in chrome[
[283749.002864] CE: hpet increased min_delta_ns to 30172 nsec
[413910.079197] CE: hpet increased min_delta_ns to 45258 nsec
[415104.464631] chrome: page allocation failure: order:4, mode:0x40d0
[415104.464638] CPU: 1 PID: 3181 Comm: chrome Tainted: P OE 4.2.0-25-generic #30-Ubuntu [415104.464640] Hardware name: Gigabyte Technology Co., Ltd. GA-MA790GP-
[415104.464643] 0000000000000000 0000000036cc3fa3 ffff88038b573438 ffffffff817e94c9 [415104.464645] 0000000000000000 00000000000040d0 ffff88038b5734c8 ffffffff81187be2
[415104.464648] 0000000000000000 0000000000000004 0000000000000040 ffff8800c98d4b00
[415104.464650] Call Trace: [415104.464657] [<ffffffff817e9
[415104.465183] [<ffffffffc0248