Bug 27188 - [i945gm] GPU lockup (PGTBL_ER: 0x00000102)
Summary: [i945gm] GPU lockup (PGTBL_ER: 0x00000102)
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 16:51 UTC by Geir Ove Myhr
Modified: 2017-07-24 23:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (28.66 KB, text/x-log)
2010-03-18 16:54 UTC, Geir Ove Myhr
no flags Details
dmesg output (44.97 KB, text/plain)
2010-03-18 16:55 UTC, Geir Ove Myhr
no flags Details
i915_error_state (172 bytes, text/plain)
2010-03-18 16:57 UTC, Geir Ove Myhr
no flags Details
Another i915_error_state, this time with empty instead of missing ringbuffer (672.23 KB, text/plain)
2010-03-18 16:59 UTC, Geir Ove Myhr
no flags Details

Description Geir Ove Myhr 2010-03-18 16:51:00 UTC
Originally reported by Yura Tolstik at:
  https://bugs.edge.launchpad.net/bugs/532100

[Problem]
GPU page table error PGTBL_ER: 0x00000102 (but 0x00000112 was also observed once). 

[Original report]

Binary package hint: xserver-xorg-video-intel

when display freeze i can't do anything
ctrl+alt+f1 doesn't work
and i can't see cursor

ProblemType: Crash
Architecture: i386
Chipset: i945gm
Date: Thu Mar  4 20:43:57 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
DumpSignature: 585b0b66f331dfb836dfc05f1eb2e8a8
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
InterpreterPath: /usr/bin/python2.6
MachineType: Apple Inc. MacBook2,1
Package: xserver-xorg-video-intel 2:2.9.1-1ubuntu10
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-15-generic root=UUID=0955063e-ecb8-4baa-926a-cad14d3ef918 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
ProcEnviron:
 
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: nvidia-graphics-drivers
Title: [i945gm] GPU lockup 585b0b66f331dfb836dfc05f1eb2e8a8
Uname: Linux 2.6.32-15-generic i686
UserGroups:
 
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.00A5.B07.0706270922
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CAA
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4208CAA
dmi.modalias: dmi:bvnAppleInc.:bvrMB21.88Z.00A5.B07.0706270922:bd06/27/07:svnAppleInc.:pnMacBook2,1:pvr1.0:rvnAppleInc.:rnMac-F4208CAA:rvrPVT:cvnAppleInc.:ct10:cvrMac-F4208CAA:
dmi.product.name: MacBook2,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
system:
 distro:             Ubuntu
 codename:           lucidarchitecture:       i686kernel:             2.6.32-15-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
    	Subsystem: Intel Corporation Device [8086:7270]
Comment 1 Geir Ove Myhr 2010-03-18 16:54:35 UTC
Created attachment 34224 [details]
Xorg.0.log
Comment 2 Geir Ove Myhr 2010-03-18 16:55:29 UTC
Created attachment 34225 [details]
dmesg output
Comment 3 Geir Ove Myhr 2010-03-18 16:57:13 UTC
Created attachment 34226 [details]
i915_error_state

Yes, it's really that short - from drm-intel-next kernel as of 2009-02-27.
Comment 4 Geir Ove Myhr 2010-03-18 16:59:48 UTC
Created attachment 34227 [details]
Another i915_error_state, this time with empty instead of missing ringbuffer
Comment 5 Geir Ove Myhr 2010-03-18 17:05:51 UTC
Just remembered that Chris Wilson already commented on the downstream bug report:

This is odd as I can't see the up-to-date output of i915_error_state in
this bug report. Anyway that bug in particular is likely to the fb
misalignment issue.

Assigning to him.
Comment 6 Geir Ove Myhr 2010-04-03 08:21:33 UTC
From downstream:

appending i915.powersave=0 to the kernel command line stops these freezes.

Yura, please keep an eye on this bug report and add any additional information (like this) that may be useful here.
Comment 7 Geir Ove Myhr 2010-04-13 03:06:39 UTC
The downstream bug has been marked as fixed, due the inclusion of this patch, which I haven't seen applied upstream yet:

  [ Jesse Barnes ]
  * SAUCE: drm/i915: don't change DRM configuration when releasing load
    detect pipe

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=commit;h=0d2907f4bead56cff60f91068b3a3efa7149e702

However, there is a very similar bug at bug #27614, which isn't fixed by that patch or i915.powersave=0.
Comment 8 Chris Wilson 2010-06-06 06:21:26 UTC
I believe this should be fixed with 

commit ac0c6b5ad3b3b513e1057806d4b7627fcc0ecc27
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 27 13:18:18 2010 +0100

    drm/i915: Rebind bo if currently bound with incorrect alignment.
    
    Whilst pinning the buffer, check that that its current alignment
    matches the requested alignment. If it does not, rebind.
    
    This should clear up any final render errors whilst resuming,
    for reference:
    
      Bug 27070 - [i915] Page table errors with empty ringbuffer
      https://bugs.freedesktop.org/show_bug.cgi?id=27070
    
      Bug 15502 -  render error detected, EIR: 0x00000010
      https://bugzilla.kernel.org/show_bug.cgi?id=15502
    
      Bug 13844 -  i915 error: "render error detected"
      https://bugzilla.kernel.org/show_bug.cgi?id=13844
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: stable@kernel.org
    Signed-off-by: Eric Anholt <eric@anholt.net>

in 2.6.35-rc2.


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.