[i945gme] GPU lockup 846fb991 (IPEHR: 0x01800002) on multimonitor resize

Bug #656243 reported by Matt Zimmerman
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

When using this computer, I commonly connect and disconnect an external keyboard and monitor. When I connect them, I run:

xrandr --output VGA1 --primary
xrandr --output LVDS1 --off

to get everything displayed ONLY on the external monitor, and when I disconnect them, I run:

xrandr --auto

to get everything displayed ONLY on the built-in LCD.

Sometimes (or after trying this a few times in sequence), bad things start to happen. I've noticed:

- a GPU hang (this bug)
- [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
- xrandr failing with:

X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 150 (RANDR)
  Minor opcode of failed request: 7 (RRSetScreenSize)
  Serial number of failed request: 28
  Current serial number in output stream: 30
- a 320x200 screen size displayed on the netbook's LCD, and xrandr showing:
Screen 0: minimum 320 x 200, current 320 x 200, maximum 4096 x 4096

I suspect these are somehow related, but I'm starting with reporting this one.

---
PCI ID: 0x27ae
EIR: 0x00000000
  PGTBL_ER: 0x00000000
  INSTPM: 0x00000000
  IPEIR: 0x00000000
  IPEHR: 0x01800002
  INSTDONE: 0x7fffffc1
  ACTHD: 0x0a297014
seqno: 0x00029599
batchbuffer at 0x0a297000:
0x0a297000: 0x09000000: MI_LOAD_SCAN_LINES_INCL
0x0a297004: 0x049d04af: dword 1
0x0a297008: 0x09000000: MI_LOAD_SCAN_LINES_INCL
0x0a29700c: 0x049d04af: dword 1
0x0a297010: 0x01800002: MI_WAIT_FOR_EVENT
0x0a297014: HEAD 0x54f00006: XY_SRC_COPY_BLT (rgb enabled, alpha enabled, src tile 0, dst tile 0)
0x0a297018: 0x03cc2000: format 8888, dst pitch 8192, clipping disabled
0x0a29701c: 0x049d003b: dst (59,1181)
0x0a297020: 0x04af063e: dst (1598,1199)
0x0a297024: 0x08000000: dst offset 0x08000000
0x0a297028: 0x049d003b: src (59,1181)
0x0a29702c: 0x00002000: src pitch 8192
0x0a297030: 0x09000000: src offset 0x09000000
0x0a297034: 0x02000011: MI_FLUSH
0x0a297038: 0x05000000: MI_BATCH_BUFFER_END
---

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: xserver-xorg-video-intel 2:2.12.0-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Chipset: i945gme
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: Off
 modes: 1024x600
 edid-base64: AP///////wAw5AYCAAAAAAATAQOAFg14CtOFlVlWjiggUFQAAAABAQEBAQEBAQEBAQEBAQEBdBgA0kFYZCAwIDYA4H4AAAAbAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gBGMDUwVIAxMDFXU0EKAAAAAAAAAAAAAAAAAAEBCiAgAI4=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1600x1200 1280x1024 1280x1024 1280x1024 1280x960 1152x864 1024x768 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wA4o3tmAQEBATQPAQMPKR947mDlo1dLnCURUFS/74AxWUVZYVlxT4FPgYCBmalASD9AMGKwMkBAwBMAmDIRAAAeAAAA/QA4VR9cEQAKICAgICAgAAAA/ABMQ0QyMDcwTlgKICAgAAAA/wA1WkIwMTgyN0dCCiAgAOo=
Date: Wed Oct 6 17:28:37 2010
DumpSignature: 846fb991
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Alpha i386 (20100315)
InterpreterPath: /usr/bin/python2.6
MachineType: Dell Inc. Inspiron 1011
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=b2afbb32-6fa2-4d91-8014-2e9005a7d650 ro quiet splash
ProcCmdline: /usr/bin/python /usr/share/apport/apport-gpu-error-intel.py
ProcEnviron:

SourcePackage: xserver-xorg-video-intel
Title: [i945gme] GPU lockup 846fb991
UserGroups:

dmi.bios.date: 03/20/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.name: CN0Y53
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A00
dmi.modalias: dmi:bvnDellInc.:bvrA00:bd03/20/2009:svnDellInc.:pnInspiron1011:pvrA00:rvnDellInc.:rnCN0Y53:rvrA00:cvnDellInc.:ct8:cvrA00:
dmi.product.name: Inspiron 1011
dmi.product.version: A00
dmi.sys.vendor: Dell Inc.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-22-generic

Revision history for this message
Matt Zimmerman (mdz) wrote :
Revision history for this message
Robert Hooker (sarvatt) wrote :

Matt, I believe this specific bug has the same root cause as bug #654619. Would you please try the libdrm published in this PPA and report back with your findings if you get a chance?

https://edge.launchpad.net/~sarvatt/+archive/yellow

description: updated
summary: - [i945gme] GPU lockup 846fb991
+ [i945gme] GPU lockup 846fb991 (IPEHR: 0x01800002) on multimonitor resize
Robert Hooker (sarvatt)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 656243] Re: [i945gme] GPU lockup 846fb991

On Thu, Oct 07, 2010 at 03:43:35PM -0000, Robert Hooker wrote:
> Matt, I believe this specific bug has the same root cause as bug
> #654619. Would you please try the libdrm published in this PPA and
> report back with your findings if you get a chance?
>
> https://edge.launchpad.net/~sarvatt/+archive/yellow

Thanks! I've installed these packages and will report back.

--
 - mdz

Revision history for this message
Matt Zimmerman (mdz) wrote :

I've been running with your "yellow" PPA since yesterday, and I'm afraid I'm still having problems.

I'm pretty sure at this point that there are multiple problems here. mutter still crashes on me regularly (e.g. bug 656414).

Today, I suspended my netbook (while using only the internal LCD) and opened it again to a black screen (I don't think the backlight even came on, though it was hard to tell in the lighting conditions). I had to hard power it off to get the system back (even magic sysrq didn't work).

I connected my external display, and when the system came back up, I logged in via gdm, and got only the purple desktop background on both screens (no Unity). I tried launching mutter --replace by hand, and among other mutter output (which unfortunately I didn't capture), I saw this error:

Mesa 7.9-devel implementation error: Bad renderbuffer format: 21

and these errors in dmesg:

[ 105.222343] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[ 105.440058] Skipping EDID probe due to cached edid
[ 113.210022] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[ 113.429582] Skipping EDID probe due to cached edid
[ 123.612765] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
[ 123.832726] Skipping EDID probe due to cached edid

Restarting the X server seemed to get it working again in this case.

Revision history for this message
Matt Zimmerman (mdz) wrote :

I see suspend/resume failures when this happens as well. After a clean boot, from a normal UNE session, I can suspend and resume fine. But if I've switched to/from the external display, it seems to fail afterward.

Robert Hooker (sarvatt)
description: updated
Revision history for this message
Robert Hooker (sarvatt) wrote :

Sorry about the delay, I have enough information here to be sure that the problem is a WAIT_FOR_EVENT hang on framebuffer resize and am duping it to the master bug accordingly. The fix is included in the latest natty packages already and will hopefully be available in maverick-proposed soon, but if you need a fix as soon as possible backported packages can be obtained in this PPA:

https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

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.