[Bug 659564] [NEW] kernel drm latency on intel video playback
Mika Kuoppala
659564 at bugs.launchpad.net
Tue Oct 12 22:43:05 UTC 2010
Public bug reported:
Linux olkka 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:24:00 UTC
2010 i686 GNU/Linux
Playing video (dvd or avi) results a stalls in video output. Approximately in once in ten seconds the video freezes for
a very short while, less than a second.
Using 'top' this stall occurs in parallel with 'slowd' taking 8% of cpu:
759 root 15 -5 0 0 0 S 8 0.0 0:14.68 kslowd000
With the following hack patch, video playback is smooth again:
--- drm_crtc_helper.c~ 2010-09-29 04:09:08.000000000 +0300
+++ drm_crtc_helper.c 2010-10-09 20:07:36.111996829 +0300
@@ -810,7 +810,7 @@
static struct slow_work_ops output_poll_ops;
-#define DRM_OUTPUT_POLL_PERIOD (10*HZ)
+#define DRM_OUTPUT_POLL_PERIOD ( (3600 * 3)*HZ)
static void output_poll_execute(struct slow_work *work)
{
struct delayed_slow_work *delayed_work = container_of(work, struct delayed_slow_work, work);
I suppose the following commit fixes this same issue in upstream:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e58f637bb96d5a0ae0919b9998b891d1ba7e47c9
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.34
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] Tiedostoa tai hakemistoa ei ole
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0x50440000 irq 43'
Mixer name : 'SigmaTel STAC9221 A1'
Components : 'HDA:83847680,106b0800,00103401'
Controls : 18
Simple ctrls : 10
Date: Wed Oct 13 01:23:47 2010
HibernationDevice: RESUME=UUID=c6d3558a-6fc6-4db6-bf20-13a15bd432ce
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate i386 (20100928)
MachineType: Apple Inc. Macmini2,1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=ca50b103-e703-4cff-b5a9-641c8da5ebe8 ro quiet splash
ProcEnviron:
LANG=fi_FI.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
SourcePackage: linux
dmi.bios.date: 06/28/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MM21.88Z.009A.B00.0706281359
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208EAA
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 4
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4208EAA
dmi.modalias: dmi:bvnAppleInc.:bvrMM21.88Z.009A.B00.0706281359:bd06/28/07:svnAppleInc.:pnMacmini2,1:pvr1.0:rvnAppleInc.:rnMac-F4208EAA:rvrPVT:cvnAppleInc.:ct4:cvrMac-F4208EAA:
dmi.product.name: Macmini2,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 kernel-graphics maverick needs-upstream-testing regression-potential
--
kernel drm latency on intel video playback
https://bugs.launchpad.net/bugs/659564
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list