Bug 23932

Summary: [GM45] graphics corruption and hang after suspend/resume
Product: xorg Reporter: Alberto Milone <albertomilone>
Component: Driver/intelAssignee: ykzhao <yakui.zhao>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: albertomilone, bryce, jithin1987
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/429241
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg
none
CurrentDmesg
none
XorgLog
none
XorgLogOld
none
1st Screenshot of the problem
none
2nd Screenshot of the problem none

Description Alberto Milone 2009-09-14 08:55:49 UTC
Created attachment 29528 [details]
BootDmesg

Forwarding this bug from Ubuntu reporter Andy Whitcroft:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/429241

[Problem]
[GM45E] i915 graphics corruption and hang

[Original Description]
While testing for bug LP: #429199 I triggered graphics corruption shortly followed by a GPU hang. Following a clean login I suspend/resume'd four times. On the fourth resume I had some graphics corruption, specifically window backgrounds were damaged with random speckles and lines. Also the window manager decorations (top, bottom, side bars) we invisible, they _were_ functional simply completly see through. After a short time (approx 1 min) the whole thing locked up apparently a GPU hang (which may well be the same issue as 429199).

GPU confirmed hung as below:

    apw@dm$ cat i915_gem_seqno
    Current sequence: 1807468
    Waiter sequence: 1807469
    IRQ sequence: 1807447
    apw@dm$ cat i915_gem_seqno
    Current sequence: 1807468
    Waiter sequence: 1807469
    IRQ sequence: 1807447
    apw@dm$ cat i915_gem_seqno
    Current sequence: 1807468
    Waiter sequence: 1807469
    IRQ sequence: 1807447
    apw@dm$

I have a GPU dump and some photos of the display corruption which I will attach.

ProblemType: Bug
Architecture: amd64
Date: Mon Sep 14 09:58:58 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Studio 1537
Package: xserver-xorg-video-intel 2:2.8.1-1ubuntu1
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=cf503727-25f2-4ecd-b0f3-2b894523bcba ro crashkernel=384M-2G:64M,2G-:128M quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.32-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu3
 libdrm2 2.4.13-1ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu1
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.31-10-generic x86_64
dmi.bios.date: 09/22/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A03
dmi.board.vendor: Dell Inc.
dmi.board.version: A03
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A03
dmi.modalias: dmi:bvnDellInc.:bvrA03:bd09/22/2008:svnDellInc.:pnStudio1537:pvrA03:rvnDellInc.:rn:rvrA03:cvnDellInc.:ct8:cvrA03:
dmi.product.name: Studio 1537
dmi.product.version: A03
dmi.sys.vendor: Dell Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-10-generic
Comment 1 Alberto Milone 2009-09-14 09:01:00 UTC
Created attachment 29529 [details]
CurrentDmesg
Comment 2 Alberto Milone 2009-09-14 09:02:51 UTC
Created attachment 29530 [details]
XorgLog
Comment 3 Alberto Milone 2009-09-14 09:03:16 UTC
Created attachment 29531 [details]
XorgLogOld
Comment 4 Alberto Milone 2009-09-14 09:07:10 UTC
This GPU dump was taken during the GPU hang:
http://launchpadlibrarian.net/31772365/GPU
Comment 5 Alberto Milone 2009-09-14 09:08:46 UTC
Created attachment 29532 [details]
1st Screenshot of the problem

An example of the corruption. Note the mangled window menu line on pidgin. The corruption was worse initially but was cleaned up somewhat by the natural update of pidgin as people were found and populated into the list. The menu title only appeared when clicked.
Comment 6 Alberto Milone 2009-09-14 09:09:22 UTC
Created attachment 29533 [details]
2nd Screenshot of the problem

An example of the missing window decorations from the window manager. In this shot I am actually holding the window by the 'top bar' and moving it.
Comment 7 Alberto Milone 2009-09-15 01:04:52 UTC
Have had a second occurance of this, corruption leading to a GPU hang:

  apw@dm$ cat i915_gem_interrupt
  Interrupt enable: 00028053
  Interrupt identity: 00000000
  Interrupt mask: fffc5fac
  Pipe A stat: 00000000
  Pipe B stat: 00400306
  Interrupts received: 94979
  Current sequence: 572828
  Waiter sequence: 572829
  IRQ sequence: 572765

Here's the GPU dump:
http://launchpadlibrarian.net/31824875/HANG2
Comment 8 Gordon Jin 2009-09-15 19:38:24 UTC
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/429241 says it's been fixed by Eric's mesa patch.
Comment 9 Gordon Jin 2009-10-04 00:17:33 UTC
*** Bug 23699 has been marked as a duplicate of this bug. ***
Comment 10 Jithin Emmanuel 2009-10-30 04:36:18 UTC
Is the fix part of mesa 7.6-2. I am using arch linux with this mesa and xorg-xserver 1.7.1.
My laptop with intel 965 gm is not waking from sleep.

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.