All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500
@ 2018-04-06 21:42 bugzilla-daemon
  2018-04-08 20:39 ` [Bug 105934] Gpu Hang with timestamp queries and " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-04-06 21:42 UTC (permalink / raw)
  To: dri-devel


[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500
  2018-04-06 21:42 [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 bugzilla-daemon
@ 2018-04-08 20:39 ` bugzilla-daemon
  2018-04-08 20:44 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-04-08 20:39 UTC (permalink / raw)
  To: dri-devel


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

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

mankeli@kolumbus.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Gpu Hang after two compute  |Gpu Hang with timestamp
                   |dispatches on Intel HD 5500 |queries and compute
                   |                            |dispatches on Intel HD 5500

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

[-- Attachment #1.2: Type: text/html, Size: 1163 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500
  2018-04-06 21:42 [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 bugzilla-daemon
  2018-04-08 20:39 ` [Bug 105934] Gpu Hang with timestamp queries and " bugzilla-daemon
@ 2018-04-08 20:44 ` bugzilla-daemon
  2018-04-08 20:46 ` bugzilla-daemon
  2019-09-18 19:40 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-04-08 20:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from mankeli@kolumbus.fi ---
Scratch previous comment: It seems that the GPU hang is actually caused by
GL_TIMESTAMP queries between two compute dispatches. I've attached test program
to exploit this behavior.

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

[-- Attachment #1.2: Type: text/html, Size: 1169 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500
  2018-04-06 21:42 [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 bugzilla-daemon
  2018-04-08 20:39 ` [Bug 105934] Gpu Hang with timestamp queries and " bugzilla-daemon
  2018-04-08 20:44 ` bugzilla-daemon
@ 2018-04-08 20:46 ` bugzilla-daemon
  2019-09-18 19:40 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-04-08 20:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from mankeli@kolumbus.fi ---
Created attachment 138687
  --> https://bugs.freedesktop.org/attachment.cgi?id=138687&action=edit
Small program with two compute dispatches and draw

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

[-- Attachment #1.2: Type: text/html, Size: 1329 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 105934] Gpu Hang with timestamp queries and compute dispatches on Intel HD 5500
  2018-04-06 21:42 [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-04-08 20:46 ` bugzilla-daemon
@ 2019-09-18 19:40 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:40 UTC (permalink / raw)
  To: dri-devel


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

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #3 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/783.

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

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

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-18 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 21:42 [Bug 105934] Gpu Hang after two compute dispatches on Intel HD 5500 bugzilla-daemon
2018-04-08 20:39 ` [Bug 105934] Gpu Hang with timestamp queries and " bugzilla-daemon
2018-04-08 20:44 ` bugzilla-daemon
2018-04-08 20:46 ` bugzilla-daemon
2019-09-18 19:40 ` bugzilla-daemon

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.