kernel drm latency on intel video playback

Bug #659564 reported by Mika Kuoppala
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Mika Kuoppala (miku) wrote :
Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: regression-potential
Revision history for this message
penalvch (penalvch) wrote :

Mika Kuoppala, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 10, 2012.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue in a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.