Beignet ratGPU benchmark bug
Submitted by gnn
Assigned to Zhigang Gong @gongzg
Description
Created attachment 112835 full dmesg, unit test results and clinfo output
There is a bug with Beignet and ratGPU OpenCL renderer with benchmark (http://www.ratgpu.com) on Intel IvyBridge i5 3470 (GT1) GPU. After starting benchmarking, I get few seconds hang and app shows empty result image (but it shows, that it's making progress).
In dmesg I get output like: [47797.300442] [drm] stuck on render ring [47797.300446] [drm] GPU crash dump saved to /sys/class/drm/card0/error [47797.300447] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [47797.300447] [drm] Please file a new bug report on bugs.freedesktop.org against DRI -> DRM/Intel [47797.300448] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [47797.300449] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [47797.304207] [drm:i915_set_reset_status] ERROR render ring hung inside bo (0x622ee000 ctx 1) at 0x622ee0ec [47804.311172] [drm] stuck on render ring [47804.311211] [drm:i915_set_reset_status] ERROR render ring hung inside bo (0x622ee000 ctx 1) at 0x622ee0ec [47804.311213] [drm:i915_context_is_banned] ERROR context hanging too fast, declaring banned!
Software: Ubuntu 14.04 x64 + stock kernel (3.13.0-44) and mesa (10.1.3) Beignet: 1.0.1 built from sources with llvm 3.4.
Unit tests:
compiler_fill_image_1d_array() [FAILED] Error: dst[j*w + i] == 0
summary:
total: 699 run: 698 pass: 697 fail: 1 pass rate: 0.998567
compiler_fill_image_1d_array - this test fails sometimes, but not always. Usually fails, when I work with other applications, like Firefox, during the test.
LuxMark 2.0 x64 with default "sala" scene works, and show 149 points (CPU - 370points).
I'm also getting graphics glitches and image corruptions (but usually not severe), if OpenCL applications are working.
I also tried to build Beignet with llvm-3.5 from Ubuntu repos (got some build problems in a process too), but it doesn't seem to make any difference.
In attachment I put full dmesg, unit test results and clinfo output.
I also tried ratCPU & LuxMark with the same software on HSW (GT2) i7 laptop, but both apps showed dmesg with "stuck on render ring" and blank results.
Attachment 112835, "full dmesg, unit test results and clinfo output":
bug-logs.tar.gz