[Bug 108820] [SKL] (recoverable) GPU hangs in benchmarks using compute shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 14 17:44:31 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=108820

--- Comment #47 from Jakub Okoński <jakub at okonski.org> ---
Finally made some progress here. I have created piglit test cases to
demonstrate the problem. I still haven't done any bisecting, so I don't know if
it's a regression.

Test #1: passes on my RADV desktop machine, fails on my Gen 9 6500U laptop and
freezes the graphics for a couple seconds:

[require]

[compute shader]
#version 450

layout(binding = 0) buffer block {
    uint value[];
};

layout (local_size_x = 33) in;

void main() {
    if (gl_GlobalInvocationID.x >= 20) {
        return;
    }

    barrier();

    value[gl_GlobalInvocationID.x] = gl_GlobalInvocationID.x;
}

[test]
# 60 elements
ssbo 0 240
compute 5 1 1
probe ssbo uint 0 0 == 0
probe ssbo uint 0 16 == 4
probe ssbo uint 0 76 == 19
probe ssbo uint 0 128 == 0
probe ssbo uint 0 132 == 0


I have more variations of this, I could send a patch to piglit if you think
it's valuable. Can you try to reproduce this exact case on your hardware?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190414/1163329e/attachment.html>


More information about the intel-3d-bugs mailing list