dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
@ 2015-08-22 13:53 bugzilla-daemon
  2015-08-22 13:55 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-22 13:53 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91725
           Summary: R600 asserts in sb_shed.c:251 during Shader Backend
                    optimization pass.
           Product: Mesa
           Version: git
          Hardware: x86 (IA32)
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: ikalvachev@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 117861
  --> https://bugs.freedesktop.org/attachment.cgi?id=117861&action=edit
The shader causing the problem as TGSI and R600 bytecode. Created by Nine.

The exact error message is:
sb/sb_sched.cpp:251:unreserve: Assertion `rp[cycle][chan] == sel &&
uc[cycle][chan]' failed.

It doesn't trigger if I replay with "R600_DEBUG=nobs".
My hardware is Radeon HD5670 (Redwood).

I have attached part of the log created by "R600_DEBUG=vs,ps" containing the
TGSI code and the unoptimized R600 bytecode.

The bug is reproduced by replaying d3d9 trace of the game "The Forest". The
trace file has been uploaded to ixit ftp server. You need d3dretrace.exe (from
apitrace compiled for windows) and wine. It is preferable is wine have ixit
Nine patch and mesa-git with Nine enabled.

The bug is reproduced by both Nine state tracker and  by the OpenGL one (when
using vanilla wined3d opengl wrapper). Since the the OpenGL TGSI code is
different, I'm attaching it too.

If you need more info, feel free to ask me.

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

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

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

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

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

* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
  2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
@ 2015-08-22 13:55 ` bugzilla-daemon
  2015-08-23  1:13 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-22 13:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from iive <ikalvachev@gmail.com> ---
Created attachment 117862
  --> https://bugs.freedesktop.org/attachment.cgi?id=117862&action=edit
The shader causing the problem as TGSI and R600 bytecode. Created by OpenGL

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

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

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

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

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

* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
  2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
  2015-08-22 13:55 ` bugzilla-daemon
@ 2015-08-23  1:13 ` bugzilla-daemon
  2015-08-23 12:55 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-23  1:13 UTC (permalink / raw)
  To: dri-devel


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

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

Vadim Girlin <vadimgirlin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glenn.kennard@gmail.com

--- Comment #2 from Vadim Girlin <vadimgirlin@gmail.com> ---
Adding Glenn, hopefully he can solve this... Looks like he already knows more
about that stuff than I remember about it.

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

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

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

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

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

* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
  2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
  2015-08-22 13:55 ` bugzilla-daemon
  2015-08-23  1:13 ` bugzilla-daemon
@ 2015-08-23 12:55 ` bugzilla-daemon
  2015-08-28 23:44 ` bugzilla-daemon
  2015-08-29  8:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-23 12:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from iive <ikalvachev@gmail.com> ---
Created attachment 117875
  --> https://bugs.freedesktop.org/attachment.cgi?id=117875&action=edit
The shader causing the problem as original D3D code and TGSI created by Nine.

Since the shader is having some undefined values, there is a chance the
original D3D shader is not entirely correct. That's why I've extracted it
(NINE_DEBUG=shader NINE_TGSI_DUMP=1).

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

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

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

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

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

* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
  2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-08-23 12:55 ` bugzilla-daemon
@ 2015-08-28 23:44 ` bugzilla-daemon
  2015-08-29  8:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-28 23:44 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Glenn Kennard <glenn.kennard@gmail.com> ---
Commits 608c7b a83022 36f199 should fix the crashes in this trace

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

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

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

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

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

* [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass.
  2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-08-28 23:44 ` bugzilla-daemon
@ 2015-08-29  8:25 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2015-08-29  8:25 UTC (permalink / raw)
  To: dri-devel


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

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

iive <ikalvachev@gmail.com> changed:

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

--- Comment #5 from iive <ikalvachev@gmail.com> ---
Yes, these commits fix all r600 issues in the sample.
Don't forget to backport them to the stable branches.

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

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

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

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

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

end of thread, other threads:[~2015-08-29  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-22 13:53 [Bug 91725] R600 asserts in sb_shed.c:251 during Shader Backend optimization pass bugzilla-daemon
2015-08-22 13:55 ` bugzilla-daemon
2015-08-23  1:13 ` bugzilla-daemon
2015-08-23 12:55 ` bugzilla-daemon
2015-08-28 23:44 ` bugzilla-daemon
2015-08-29  8:25 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox