All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500
Date: Fri, 06 Apr 2018 21:42:09 +0000	[thread overview]
Message-ID: <bug-105934-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1557 bytes --]

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

            Bug ID: 105934
           Summary: Gpu Hang after two compute dispatches on Intel HD 5500
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/DRI/i915
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: mankeli@kolumbus.fi
        QA Contact: dri-devel@lists.freedesktop.org

Running OpenGL program with two glDispatch() calls, causes gpu hang on HD
Graphics 5500.

Program basically does:
if (1)
{
        glUseProgram(computeprogram);
        glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, ssbo_test);
        glDispatchCompute(256/4, 256/4, 256/2);
        glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
}
if (1)
{
        glUseProgram(computeprogram);
        glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, ssbo_test);
        glDispatchCompute(256/4, 256/4, 256/2);
        glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
}
.. and then simple one-triangle fullscreen pass to main framebuffer (0) using
that SSBO.

When both of those are enabled, my computer nearly hangs and dmesg reports:
[127049.481163] drm/i915: Resetting chip after gpu hang.

But if only one of those is enabled, everything is ok, compute dispatch takes
13ms and debug output renders on the screen.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2936 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-04-06 21:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06 21:42 bugzilla-daemon [this message]
2018-04-08 20:39 ` [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500 bugzilla-daemon
2018-04-08 20:44 ` bugzilla-daemon
2018-04-08 20:46 ` bugzilla-daemon
2019-09-18 19:40 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105934-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.