Bug 25459

Summary: intelGM45 GPU hang lid suspend to ram
Product: xorg Reporter: Milan Oravec <moravec>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: axet, wl
Version: unspecifiedKeywords: NEEDINFO
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
syslog from 2.6.32.3 kernel
none
xorg.log none

Description Milan Oravec 2009-12-05 03:24:45 UTC
Hallo, if I initiate suspend to ram by lid close during resume I get gpu gang and xorg restart - gdm login.

[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
render error detected, EIR: 0x00000010
  IPEIR: 0x00000000
  IPEHR: 0x01800020
  INSTDONE: 0xffffffff
  INSTPS: 0x8001e020
  INSTDONE1: 0xbfffffff
  ACTHD: 0x0686b014
page table error
  PGTBL_ER: 0x00100000
render error detected, EIR: 0x00000010
  IPEIR: 0x00000000
  IPEHR: 0x01800020
  INSTDONE: 0xffffffff
  INSTPS: 0x8001e020
  INSTDONE1: 0xbfffffff
  ACTHD: 0x0686b014
page table error
  PGTBL_ER: 0x00100000
[drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
[drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
i915: Waking up sleeping processes
[drm:i915_wait_request] *ERROR* i915_wait_request returns -5 (awaiting 6792 at 6791)
[drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
[drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
[drm] LVDS-8: set mode 1600x900 d
input: PS/2 Mouse as /devices/platform/i8042/serio2/input/input9
input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio2/input/input10
[drm] LVDS-8: set mode 1600x900 d
[drm] LVDS-8: set mode 1600x900 d
input: PS/2 Mouse as /devices/platform/i8042/serio2/input/input11
[drm] LVDS-8: set mode 1600x900 11

Suspend to ram initiated form software e.g. button from menu works ok.

lspci:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
06:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
0b:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
0b:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
0b:04.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
0b:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

Distribution: ubuntu 9.10 64 bit.

xorg: 1.6.3 stock ubuntu + drm-2.4.15 + intel 2.9.1 driver

kernel: linux 2.6.32 + toi hibernate patches. In 2.6.31 kernel line is those bug not present.

Thank you very much!

Milan
Comment 1 Milan Oravec 2009-12-08 07:48:29 UTC
Hallo, this bug will by hardware related I suppose because on my second notebook with intel 945gm is not present. Computer resumes from suspend to ram without a problem with same kernel as on problematic GM45 machine.

Milan
Comment 2 Milan Oravec 2010-01-10 11:29:39 UTC
Created attachment 32561 [details]
syslog from 2.6.32.3 kernel
Comment 3 Milan Oravec 2010-01-10 11:33:22 UTC
Created attachment 32562 [details]
xorg.log
Comment 4 Werner Lemberg 2010-03-13 23:29:08 UTC
This is a Dell Inspiron 6400 laptop with an i945GM chip.

openSuSE packages:

  xorg-x11-server 7.4-162.1
  xorg-x11-driver-video 7.4-245.1

uname -a gives

  Linux linux-nvf0 2.6.33-27-pae #1 SMP 2010-03-02 17:27:17 +0100 i686 i686
i386 GNU/Linux


I have a similar problem.  Suspend to RAM works fine, but after awakening by opening the lid (and closing it immediately)[*] I get the problem below, causing a black screen.  It's not too serious since after really opening the lid I can use Ctrl-Alt-Shift-F1 to switch to text mode (which gets displayed fine), then doing a reboot.  However, it's annoying...


[*] In reality I have problems with my lid hinges; raising the closed lid by just a millimeter or less (for example, by transporting the laptop) the system awakens, but the lid stays closed...




[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
render error detected, EIR: 0x00000000       
[drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 850722 at 850719)

In another case I get the following:

[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
render error detected, EIR: 0x00000000
[drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 405109 at 405106)
Comment 5 Jesse Barnes 2010-04-06 11:20:32 UTC
We fixed a bug like this awhile back, can you try a more recent kernel and libdrm?
Comment 6 Werner Lemberg 2010-04-06 12:51:21 UTC
Not yet, unfortunately: 2.6.34-rc3 completely breaks by graphics card.  Will have to wait until this has been fixed.
Comment 7 Milan Oravec 2010-04-06 13:39:15 UTC
Thank you for your response and support. 

I've tried latest stable 2.6.33.2 kernel, intel 2.11, drm 2.4.19 - 5 minutes ago. Initiating suspend with lid close now works fine and after lid open and wake up laptop with power button there are no more gpu gangs present.

Best regards,

Milan
Comment 8 Jesse Barnes 2010-04-06 13:50:56 UTC
great, thanks for the update.

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.