** Description changed:

+ SRU Justification:
+  Fixes a constant stream of hangcheck errors flooding dmesg, and
+ removes the visible stuttering that was caused by it when using 3D
+ applications.
+ Impact:
+  Fixes missed interrupts on sandybridge GPU's. It doesn't affect any
+ other GPU generation.
+ Fix:
+  Upstream commit 498e720b96379d8ee9c294950a01534a73defcf3.
+ Testcase:
+  1) Install mesa-utils on a system using sandybridge graphics on 11.04
+  2) run vblank_mode=0 glxgears and let it run for 30 seconds or so
+  3) kill it then check dmesg
+  4) Without fix: hangcheck messages every ~5 seconds, massive
+ stuttering of the whole desktop observed. With fix: no hangcheck
+ messages, able to continue using the desktop.
+ 
+ This was sent to stable, but 2.6.38.y stable is dead so it will need
+ to be manually cherry-picked. It has been tested extensively locally
+ as well as by users on the bug whom I provided test kernels for. It
+ applies cleanly to ubuntu-natty.git.
+ 
+ 
+ Original bug:
+ -------------
  Binary package hint: xserver-xorg-video-intel
  
  When using unity or a Ubuntu classic session with compiz, there are
  spurious [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer
  elapsed... blt ring idle [waiting on 9004, at 9004], missed IRQ? visible
  in dmesg. The display stops updating for a fraction of a second when it
  happens. This can be forcibly reproduced by doing vblank_mode=0 glxgears
  with compiz active and it is specific to sandybridge systems. Disabling
  sync to vblank in compiz doesn't have any effect, and the problem does
  not happen when using metacity.
  
  The hangcheck messages are gone in 2.6.39-rc3 kernel, but the root
  problem still remains in that the display updates erratically when it
  happens.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: compiz
  CurrentDmesg:
-  [   20.310859] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... blt ring idle [waiting on 9004, at 9004], missed IRQ?
-  [   32.279371] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... blt ring idle [waiting on 13936, at 13936], missed IRQ?
-  [  141.319196] exe (1718): /proc/1718/oom_adj is deprecated, please use 
/proc/1718/oom_score_adj instead.
+  [   20.310859] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... blt ring idle [waiting on 9004, at 9004], missed IRQ?
+  [   32.279371] [drm:i915_hangcheck_ring_idle] *ERROR* Hangcheck timer 
elapsed... blt ring idle [waiting on 13936, at 13936], missed IRQ?
+  [  141.319196] exe (1718): /proc/1718/oom_adj is deprecated, please use 
/proc/1718/oom_score_adj instead.
  DRM.card0.DP.1:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.DP.2:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.DP.3:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.HDMI.A.1:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.HDMI.A.2:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.HDMI.A.3:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  DRM.card0.LVDS.1:
-  status: connected
-  enabled: enabled
-  dpms: On
-  modes: 1366x768 1366x768
-  edid-base64: 
AP///////wAw5OsCAAAAAAAUAQSQHxF4Cp7lnV9XnCYaUFQAAAABAQEBAQEBAQEBAQEBAQEBWBtWflAADjAkMDUANa4QAAAZPhJWflAADjAkMDUANa4QAAAZAAAA/gBLSjI2MhQxNDBXSDQKAAAAAAAAQTGUAAAAAAEBCiAgAI4=
+  status: connected
+  enabled: enabled
+  dpms: On
+  modes: 1366x768 1366x768
+  edid-base64: 
AP///////wAw5OsCAAAAAAAUAQSQHxF4Cp7lnV9XnCYaUFQAAAABAQEBAQEBAQEBAQEBAQEBWBtWflAADjAkMDUANa4QAAAZPhJWflAADjAkMDUANa4QAAAZAAAA/gBLSjI2MhQxNDBXSDQKAAAAAAAAQTGUAAAAAAEBCiAgAI4=
  DRM.card0.VGA.1:
-  status: disconnected
-  enabled: disabled
-  dpms: Off
-  modes: 
-  edid-base64:
+  status: disconnected
+  enabled: disabled
+  dpms: Off
+  modes:
+  edid-base64:
  Date: Thu Apr 14 15:45:03 2011
  DistUpgraded: Fresh install
  DistroCodename: natty
  DistroVariant: ubuntu
  DkmsStatus:
-  bcmwl, 5.100.82.38+bdcom, 2.6.39-020639rc3-generic, i686: installed 
-  bcmwl, 5.100.82.38+bdcom, 2.6.38-7-generic, i686: installed 
-  bcmwl, 5.100.82.38+bdcom, 2.6.38-8-generic, i686: installed
+  bcmwl, 5.100.82.38+bdcom, 2.6.39-020639rc3-generic, i686: installed
+  bcmwl, 5.100.82.38+bdcom, 2.6.38-7-generic, i686: installed
+  bcmwl, 5.100.82.38+bdcom, 2.6.38-8-generic, i686: installed
  GraphicsCard:
-  Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
-    Subsystem: Dell Device [1028:0493]
+  Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
+    Subsystem: Dell Device [1028:0493]
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MachineType: Dell Inc. Latitude E6420
  ProcEnviron:
-  LANGUAGE=en_US:en
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic 
root=UUID=4eac9a69-2bfe-4b4b-b469-5e6f7a89e0f1 ro quiet splash vt.handoff=7
  Renderer: Unknown
  SourcePackage: xserver-xorg-video-intel
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/25/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X66
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrX66:bd02/25/2011:svnDellInc.:pnLatitudeE6420:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6420
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.4+bzr20110411-0ubuntu1
  version.libdrm2: libdrm2 2.4.23-1ubuntu6
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu1
  version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20110107+b795ca6e-0ubuntu7

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/761065

Title:
  [Sandybridge] Spurious "*ERROR* Hangcheck timer elapsed... blt ring
  idle" messages in dmesg when using compiz

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/761065/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to