Bug 48525

Summary: [sandybridge-m-gt2+] GPU lockup render.IPEHR: 0x78170003
Product: DRI Reporter: Bryce Harrington <bryce>
Component: DRM/IntelAssignee: Daniel Vetter <daniel>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: high CC: ben, chris, daniel, jbarnes
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
CurrentDmesg.txt
none
i915_error_state.txt
none
XorgLog.txt none

Description Bryce Harrington 2012-04-10 13:20:04 UTC
Forwarding this bug from Ubuntu reporter Andy Choens:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/974830

[Problem]
GPU lockup using Java apps or hotplugging a monitor

[Original Description]
When I try to use a Java app (example - Oracle sqldeveloper) or attach an external monitor, my GPU hangs and crashes.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Chipset: sandybridge-m-gt2+
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Fri Apr  6 00:14:15 2012
DistUpgraded: 2012-03-25 01:29:05,765 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
DuplicateSignature: [sandybridge-m-gt2+] GPU lockup  render.IPEHR: 0x78170003 Ubuntu 12.04
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GpuHangFrequency: Several times a day
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Immediately after installing this version of Ubuntu
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
MachineType: LENOVO 4286CTO
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
ProcEnviron:
 
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-22-generic root=UUID=16349118-6988-480b-a70b-4bb30b3a2d91 ro quiet splash pcie_aspm=force i915.i915_enable_rc6=1 vt.handoff=7
SourcePackage: xserver-xorg-video-intel
Title: [sandybridge-m-gt2+] GPU lockup  render.IPEHR: 0x78170003
UpgradeStatus: Upgraded to precise on 2012-03-25 (11 days ago)
UserGroups:
 
dmi.bios.date: 05/13/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET45WW (1.15 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4286CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr8DET45WW(1.15):bd05/13/2011:svnLENOVO:pn4286CTO:pvrThinkPadX220:rvnLENOVO:rn4286CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4286CTO
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.7.4-0ubuntu2
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2
Comment 1 Bryce Harrington 2012-04-10 13:22:09 UTC
Created attachment 59771 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2012-04-10 13:22:20 UTC
Created attachment 59772 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2012-04-10 13:22:33 UTC
Created attachment 59773 [details]
i915_error_state.txt
Comment 4 Bryce Harrington 2012-04-10 13:22:45 UTC
Created attachment 59774 [details]
XorgLog.txt
Comment 5 Bryce Harrington 2012-04-10 13:24:12 UTC
Further comments from reporter:

"""
The error reported here happened when running sqldeveloper. I can reproduce this bug under Unity, Gnome-Shell and Gnome Classic (Fallback) mode. I can't get a solid dump from the hang when I plug in an external monitor because the system completely locks up. I can't even ssh in.

Thus far, I have found the performance of the intel driver to be problematic under Precise. For my purposes, this is the biggest bug affecting my use of Precise but is, at the moment, making it difficult for me to switch to precise full-time so I can test it further.

It seems that this bug is getting worse. I can not use Gnome-Commander or many other apps because they cause a hang in the GPU. This isn't killing the computer completely. I don't have to reset the system but it does cause a momentary system freeze and sometimes compixz/Unity are unable to recover and I'm left without a window manager. My Lenovo X220 with i5 / Intel graphics is having real prolems with Precise.
"""
Comment 6 Chris Wilson 2012-04-10 13:26:19 UTC
Disable FBC as done for 3.3 or try the Color BLT w/a http://cgit.freedesktop.org/~danvet/drm/commit/?h=for-chainsaw&id=b9cc0560cc47eb52d2e4f9d820f3ebdcb8d0a83e

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.