Bug 23727 - [G45] GPU hang with OpenGL game Hive Rise
Summary: [G45] GPU hang with OpenGL game Hive Rise
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-09-05 06:43 UTC by Daniel J Blueman
Modified: 2010-01-06 10:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GPU state (133.43 KB, application/x-bzip)
2009-09-05 06:46 UTC, Daniel J Blueman
Details
X-server log (79.50 KB, text/x-log)
2009-09-05 06:48 UTC, Daniel J Blueman
Details

Description Daniel J Blueman 2009-09-05 06:43:00 UTC
Running Ubuntu Karmic (updated as of 2009-09-05):
 - x86-64 2.6.31-9-generic (based on 2.6.31-rc8)
 - MESA 7.6.0~git20090817.7c422387-0ubuntu3 from stock Karmic repo
 - xserver-xorg 7.4+3ubuntu5
 - xserver-xorg-video-intel 2.8.1-1ubuntu1
 - system is Thinkpad T400 w/ current BIOS, Intel G45 chipset
  -> internal 1440x900 panel active, VGA inactive
 - reproducer: run (32-bit) for 5-10 mins: http://www.hiverise.com/webdownload/hiverisedownload.exe?v=linux
  -> though I've experienced GPU hanging with other openGL applications

# cat /sys/kernel/debug/dri/0/i915_error_state
Time: 1252150251 s 297059 us
EIR: 0x00000010
  PGTBL_ER: 0x01000000
  INSTPM: 0x00000000
  IPEIR: 0x00000000
  IPEHR: 0x79000002
  INSTDONE: 0x808fffff
  ACTHD: 0x0793a1cc
  INSTPS: 0x8001e022
  INSTDONE1: 0x9d9fffae

$ dmesg
render error detected, EIR: 0x00000010
  IPEIR: 0x00000000
  IPEHR: 0x79000002
  INSTDONE: 0x808fffff
  INSTPS: 0x8001e022
  INSTDONE1: 0x9d9fffae
  ACTHD: 0x0793a1cc
page table error
  PGTBL_ER: 0x01000000

secondary effects:

[drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking
INFO: task i915/1:856 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
i915/1        D 0000000000000000     0   856      2 0x00000000
 ffff88015456fd70 0000000000000046 ffff88015456fd70 0000000000015580
 ffff8801570247c0 0000000000015580 0000000000015580 0000000000015580
 0000000000015580 ffff8801570247c0 0000000000015580 0000000000015580
Call Trace:
 [<ffffffff8151f617>] __mutex_lock_slowpath+0xd7/0x160
 [<ffffffff8151f516>] mutex_lock+0x26/0x50
 [<ffffffffa0060768>] i915_gem_retire_work_handler+0x38/0x90 [i915]
 [<ffffffffa0060730>] ? i915_gem_retire_work_handler+0x0/0x90 [i915]
 [<ffffffff8106e805>] run_workqueue+0x95/0x170
 [<ffffffff8106e984>] worker_thread+0xa4/0x120
 [<ffffffff81073b90>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff8106e8e0>] ? worker_thread+0x0/0x120
 [<ffffffff810737a6>] kthread+0xa6/0xb0
 [<ffffffff8101308a>] child_rip+0xa/0x20
 [<ffffffff81073700>] ? kthread+0x0/0xb0
 [<ffffffff81013080>] ? child_rip+0x0/0x20
INFO: task Xorg:2772 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Xorg          D 0000000000000000     0  2772   2771 0x00400004
 ffff88014e02bc58 0000000000000082 ffff88014e02bbf8 0000000000015580
 ffff88014e06b110 0000000000015580 0000000000015580 0000000000015580
 0000000000015580 ffff88014e06b110 0000000000015580 0000000000015580
Call Trace:
 [<ffffffff8151f617>] __mutex_lock_slowpath+0xd7/0x160
 [<ffffffff8151f516>] mutex_lock+0x26/0x50
 [<ffffffffa00639fe>] i915_gem_gtt_pwrite_fast+0x5e/0x150 [i915]
 [<ffffffffa0065f19>] i915_gem_pwrite_ioctl+0x1a9/0x1d0 [i915]
 [<ffffffffa0026cae>] drm_ioctl+0x17e/0x3a0 [drm]
 [<ffffffffa0065d70>] ? i915_gem_pwrite_ioctl+0x0/0x1d0 [i915]
 [<ffffffff81077665>] ? __hrtimer_start_range_ns+0x185/0x350
 [<ffffffff81073b90>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81128e2c>] vfs_ioctl+0x7c/0xa0
 [<ffffffff811293f9>] do_vfs_ioctl+0x79/0x370
 [<ffffffff8111a27f>] ? vfs_read+0x12f/0x1a0
 [<ffffffff81129771>] sys_ioctl+0x81/0xa0
 [<ffffffff81011fc2>] system_call_fastpath+0x16/0x1b
Comment 1 Daniel J Blueman 2009-09-05 06:46:16 UTC
Created attachment 29249 [details]
GPU state
Comment 2 Daniel J Blueman 2009-09-05 06:48:29 UTC
Created attachment 29250 [details]
X-server log
Comment 3 Eric Anholt 2009-10-09 11:40:09 UTC
Could you retest with:

commit 5604b27b9326ac542069a49ed9650c4b0d3e939a
Author: Eric Anholt <eric@anholt.net>
Date:   Wed Sep 9 12:35:30 2009 -0700

    i965: Fix relocation delta for WM surfaces.
Comment 4 Eric Anholt 2010-01-06 10:36:53 UTC
Feedback timeout.  Please reopen the bug if the issue continues.


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.