System Environment: -------------------------- Arch: x86-64 Platform: piketon Libdrm: (master)2.4.21-19-gb8abe6139e5c6779ee87d983346f0f65bf67462e Mesa: (master)5ecd9c70cecc05eaa1fef05f9bd4e8cf50f2c03a Xserver: (master)xorg-server-1.9.0 Xf86_video_intel: (master)2.12.0-84-g2b96c18165d713cd6781dbf217ec33e11cc961bc Kernel_unstable: (for-linus)76be97c1fc945db08aae1f1b746012662d643e97 Bug detailed description: ------------------------- This case is a new case. GPU hangs when run it with errors: intel_bufmgr_gem.c:1018: Error setting to CPU domain 15: Input/output error intel_bufmgr_gem.c:1018: Error setting to CPU domain 19: Input/output error intel_bufmgr_gem.c:1098: Error setting domain 3: Input/output error Dmesg appears: [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 8556562 at 8556560) [drm:init_ring_common] *ERROR* render ring head not reset to zero ctl 00000000 head 4e81adf4 tail 00000000 start 02002000 [drm:init_ring_common] *ERROR* render ring head forced to zero ctl 00000000 head 4e81adf4 tail 00000000 start 02002000 [drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001 head 4e81adf4 tail 00000000 start 02002000 Reproduce steps: ---------------- 1. start X 2. occlusion-query-disc -auto
Created attachment 38573 [details] xorg log file
I also see this; it's 100% reproducible. I'll attach information forwarded from the Launchpad bug I've just filed: https://bugs.launchpad.net/bugs/634683
Boot dmesg: https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/634683/+attachment/1564371/+files/BootDmesg.txt Current dmesg: https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/634683/+attachment/1564372/+files/CurrentDmesg.txt intel_gpu_dump output: https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/634683/+attachment/1564374/+files/IntelGpuDump.txt Xorg.0.log: https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/634683/+attachment/1564383/+files/XorgLog.txt Note that grabbing i915_error_state failed: i915_error_state: Error: [Errno 12] Cannot allocate memory lspci: https://bugs.edge.launchpad.net/xserver-xorg-video-intel/+bug/634683/+attachment/1564375/+files/Lspci.txt This would appear to be not tremendously hardware-specific: I see this on a GM45 chip and the OP is using a Clarkdale.
Eric should have already known this issue.
Created attachment 38658 [details] i915_error_state On a 2.6.35-derived Ubuntu kernel I could grab the error state; here it is attached.
Not a regression, so it's not P1. I spent a while looking into it when working on the test and didn't come up with anything.
commit dd9a88f4ddf4e5fa384792f891a1cc3d8ff73946 Author: Eric Anholt <eric@anholt.net> Date: Tue Sep 21 12:05:37 2010 -0700 i965: Track the windowizer's dispatch for kill pixel, promoted, and OQ Looks like the problem was we weren't passing the depth to the render target as expected, so the chip would wedge. Fixes GPU hang in occlusion-query-discard. Bug #30097
Works well, verified.
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.