Bug 26200

Summary: Seemingly random 845G GPU hangs
Product: DRI Reporter: Lubomir Rintel <lkundrak>
Component: DRM/IntelAssignee: Jesse Barnes <jbarnes>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: medium CC: brian, moikkis
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Lubomir Rintel 2010-01-25 00:01:00 UTC
Kernel: Linux 2.6.31.12-174.2.3.fc12.i686 #1 SMP Mon Jan 18 20:22:46 UTC 2010 i686 i686 i386 GNU/Linux

Versions:
mesa-dri-drivers-7.7-2.fc12.i686
libdrm-2.4.17-1.fc12.i686
xorg-x11-drv-intel-2.9.1-1.fc12.i686
xorg-x11-server-Xorg-1.7.4-1.fc12.i686

Reproducible: Seemingly random (~4 times a day)
No 3d being used, desktop effects not enabled.

Xorg stuck in i915_gem_object_wait_rendering():

crash> bt -l 1492
PID: 1492   TASK: f512d940  CPU: 0   COMMAND: "Xorg"
 #0 [f4c17d7c] schedule at c07672c1
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/kernel/sched.c: 2927
 #1 [f4c17de4] i915_wait_request at f7d78c5c
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/drivers/gpu/drm/i915/i915_gem.c: 1762
 #2 [f4c17e14] i915_gem_object_wait_rendering at f7d78d6f
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/drivers/gpu/drm/i915/i915_gem.c: 1882
 #3 [f4c17e1c] i915_gem_object_set_to_gtt_domain at f7d79634
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/drivers/gpu/drm/i915/i915_gem.c: 2574
 #4 [f4c17e34] i915_gem_set_domain_ioctl at f7d7988c
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/drivers/gpu/drm/i915/i915_gem.c: 1021
 #5 [f4c17e5c] drm_ioctl at f7d0593b
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/drivers/gpu/drm/drm_drv.c: 474
 #6 [f4c17f04] vfs_ioctl at c04cb003
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/fs/ioctl.c: 52
 #7 [f4c17f24] do_vfs_ioctl at c04cb561
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/fs/ioctl.c: 603
 #8 [f4c17f90] sys_ioctl at c04cb5e5
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/fs/ioctl.c: 623
 #9 [f4c17fb0] system_call at c0403655
    /usr/src/debug/kernel-2.6.31/linux-2.6.31.i686/arch/x86/include/asm/string_32.h: 35
    EAX: 00000036  EBX: 0000000b  ECX: 400c645f  EDX: bf95f8b4 
    DS:  007b      ESI: ffffffff  ES:  007b      EDI: 087791e8
    SS:  007b      ESP: bf95f864  EBP: bf95f8d8  GS:  0033
    CS:  0073      EIP: 00af2416  ERR: 00000036  EFLAGS: 00003246 
crash> 

Intel GPU dump:

ACTHD: 0x0550e000
EIR: 0x00000000
EMR: 0xffffff69
ESR: 0x00000001
PGTBL_ER: 0x00000000
IPEHR: 0x18000001
IPEIR: 0x00000000
INSTDONE: 0x01ffffc1
  busy: GMBUS
  busy: FBC
  busy: Secondary ring 3
  busy: Secondary ring 2
  busy: Secondary ring 1
  busy: Secondary ring 0
  busy: Primary ring 1
batchbuffer at 0x0550e000:
0x0550e000: HEAD 0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e004:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e008:      0x00000000:    (0,0)
0x0550e00c:      0x001300c4:    (196,19)
0x0550e010:      0x05d07000:    offset 0x05d07000
0x0550e014:      0x00000000:    color
0x0550e018:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e01c:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e020:      0x00000000:    (0,0)
0x0550e024:      0x001300c4:    (196,19)
0x0550e028:      0x05d07000:    offset 0x05d07000
0x0550e02c:      0x004b6983:    color
0x0550e030:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e034:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e038:      0x00110001:    (1,17)
0x0550e03c:      0x001200c3:    (195,18)
0x0550e040:      0x05d07000:    offset 0x05d07000
0x0550e044:      0x003a4956:    color
0x0550e048:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e04c:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e050:      0x00120000:    (0,18)
0x0550e054:      0x001300c4:    (196,19)
0x0550e058:      0x05d07000:    offset 0x05d07000
0x0550e05c:      0x00000000:    color
0x0550e060:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e064:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e068:      0x000100c2:    (194,1)
0x0550e06c:      0x001200c3:    (195,18)
0x0550e070:      0x05d07000:    offset 0x05d07000
0x0550e074:      0x003a4956:    color
0x0550e078:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e07c:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e080:      0x000000c3:    (195,0)
0x0550e084:      0x001300c4:    (196,19)
0x0550e088:      0x05d07000:    offset 0x05d07000
0x0550e08c:      0x00000000:    color
0x0550e090:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e094:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e098:      0x00000000:    (0,0)
0x0550e09c:      0x000100c3:    (195,1)
0x0550e0a0:      0x05d07000:    offset 0x05d07000
0x0550e0a4:      0x005b89b1:    color
0x0550e0a8:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e0ac:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e0b0:      0x00010000:    (0,1)
0x0550e0b4:      0x00120001:    (1,18)
0x0550e0b8:      0x05d07000:    offset 0x05d07000
0x0550e0bc:      0x005b89b1:    color
0x0550e0c0:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e0c4:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e0c8:      0x00010001:    (1,1)
0x0550e0cc:      0x000200c2:    (194,2)
0x0550e0d0:      0x05d07000:    offset 0x05d07000
0x0550e0d4:      0x004b6983:    color
0x0550e0d8:      0x54300004: XY_COLOR_BLT (rgb enabled, alpha enabled, dst tile 0)
0x0550e0dc:      0x03f00340:    format 8888, pitch 832, clipping disabled
0x0550e0e0:      0x00020001:    (1,2)
0x0550e0e4:      0x00110002:    (2,17)
0x0550e0e8:      0x05d07000:    offset 0x05d07000
0x0550e0ec:      0x004b6983:    color
0x0550e0f0:      0x00000000: MI_NOOP
0x0550e0f4:      0x05000000: MI_BATCH_BUFFER_END
0x0550e0f8:      0x00000000:    
0x0550e0fc:      0x00000000:    
0x0550e100:      0x00000000:    
0x0550e104:      0x00000000:    
0x0550e108:      0x00000000:    
0x0550e10c:      0x00000000:    
...

(I have dumped kernel core and saved complete intel_gpu_dump output, so please ask if they can be of any help).
Comment 1 Chris Wilson 2010-03-02 08:21:23 UTC
It's not conclusive, but it looks like it hung upon parsing the initial command in the batchbuffer. This would seem to make it a candidate for CPU/GPU incoherency.

*** This bug has been marked as a duplicate of bug 26345 ***

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.