All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
@ 2016-06-20 19:29 bugzilla-daemon
  2016-06-21  8:16 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-06-20 19:29 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 96602
           Summary: [radeonsi] Dreamfall Chapters: one shader fails to
                    compile, minor visual corruption
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: kai@dev.carbon-project.org
        QA Contact: dri-devel@lists.freedesktop.org
            Blocks: 77449

Created attachment 124625
  --> https://bugs.freedesktop.org/attachment.cgi?id=124625&action=edit
DFC shader dump produced with R600_DEBUG=fs,vs,gs,ps,cs,tcs,tes

Since the release of book five of "Dreamfall Chapters: The longest Journey" and
their switch to a OpenGL 4.1+ context I'm getting the following error on load:
> LLVM triggered Diagnostic Handler: Illegal instruction detected: Illegal immediate value for operand.
> LLVM failed to compile shader
> radeonsi: can't create a shader
with the stack detailed below.

The game loads and book five is entirely playable. However almost all scenes
show minor visual corruption in the form of wrongly coloured pixels (not sure,
if the shader failing is responsible for that or if it's a different bug).
Usually in a very noticeable bright green (#0f0), but some other colours are
also observable (blue, yellow, red and few white and black ones as well). There
is only one scene during the epilogue where the character of Zoë Castillo is
shown sitting on a balcony where a large part of the background shows wrong
colours (I would assume it should be metallic roofs reflecting sunlight but
instead they are just plain yellow and red where the light hits).

Attached to this bug you'll find a shader dump produced with
R600_DEBUG=fs,vs,gs,ps,cs,tcs,tes passed to the game. The dump is intermixed
with what the game/Unity3D wrote to STDERR. In fact this is identical to
Unity's Player.log. In lines 119284-119286 you'll find the error message quoted
above. Since the full log was several MBytes in size I compressed it with xz.

The stack used was (Debian testing, fully updated, as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/5a64549f54
libdrm: 2.4.68-1
LLVM: SVN:trunk/r272995 (3.9 devel)
X.Org: 2:1.18.3-1
Linux: 4.6.2
Firmware: firmware-amd-graphics/20160110-1
libclc: Git:master/20d977a3e6
DDX: 1:7.7.0-1


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles
-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4847 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
@ 2016-06-21  8:16 ` bugzilla-daemon
  2016-06-21 10:43 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-06-21  8:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hello Kai, thank you for the thorough bug report. I can reproduce the problem
here.

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

[-- Attachment #1.2: Type: text/html, Size: 1131 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
  2016-06-21  8:16 ` bugzilla-daemon
@ 2016-06-21 10:43 ` bugzilla-daemon
  2016-06-21 18:58 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-06-21 10:43 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Nicolai Hähnle <nhaehnle@gmail.com> ---
With the patch at http://reviews.llvm.org/D21551 for LLVM, the shader in the
provided log file compiles without error. Let us know if there are any other
problems with the game.

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

[-- Attachment #1.2: Type: text/html, Size: 1271 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
  2016-06-21  8:16 ` bugzilla-daemon
  2016-06-21 10:43 ` bugzilla-daemon
@ 2016-06-21 18:58 ` bugzilla-daemon
  2016-06-29 20:10 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-06-21 18:58 UTC (permalink / raw)
  To: dri-devel


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

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

Kai <kai@dev.carbon-project.org> changed:

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

--- Comment #3 from Kai <kai@dev.carbon-project.org> ---
(In reply to Nicolai Hähnle from comment #2)
> With the patch at http://reviews.llvm.org/D21551 for LLVM, the shader in the
> provided log file compiles without error. Let us know if there are any other
> problems with the game.

Thanks for the fast reply and patch! I can confirm, that with the stack
detailed below I'm no longer seeing the shader compilation failure. The minor
visual corruption is still there, but I'll open a separate bug for that, since
it seems unconnected.

You can have my:
 Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
for <http://reviews.llvm.org/D21551?id=61349&download=true>

The stack used was (Debian testing, fully updated, as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/5a64549f54
libdrm: 2.4.68-1
LLVM: SVN:trunk/r273281 (3.9 devel) +
<http://reviews.llvm.org/D21551?id=61349&download=true>
X.Org: 2:1.18.3-1
Linux: 4.6.2
Firmware: firmware-amd-graphics/20160110-1
libclc: Git:master/20d977a3e6
DDX: 1:7.7.0-1

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

[-- Attachment #1.2: Type: text/html, Size: 3441 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-06-21 18:58 ` bugzilla-daemon
@ 2016-06-29 20:10 ` bugzilla-daemon
  2016-07-12 16:35 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-06-29 20:10 UTC (permalink / raw)
  To: dri-devel


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

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

Kai <kai@dev.carbon-project.org> changed:

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

--- Comment #4 from Kai <kai@dev.carbon-project.org> ---
<http://reviews.llvm.org/D21551> needs some more work and hasn't landed yet on
LLVM trunk, I closed this bug a bit prematurely, since the issue at hand was
fixed fore *me* after applying the patch.

I'm sure Nicolai will close it again, once he had time to address the
outstanding comments on his patch.

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

[-- Attachment #1.2: Type: text/html, Size: 2398 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-06-29 20:10 ` bugzilla-daemon
@ 2016-07-12 16:35 ` bugzilla-daemon
  2016-09-09  8:27 ` bugzilla-daemon
  2016-09-09  8:27 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-07-12 16:35 UTC (permalink / raw)
  To: dri-devel


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

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

Kai <kai@dev.carbon-project.org> changed:

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

--- Comment #5 from Kai <kai@dev.carbon-project.org> ---
The fix has now landed on upstream's SVN trunk:
<http://reviews.llvm.org/D21551#480953>

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

[-- Attachment #1.2: Type: text/html, Size: 2233 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-07-12 16:35 ` bugzilla-daemon
@ 2016-09-09  8:27 ` bugzilla-daemon
  2016-09-09  8:27 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-09  8:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 126363
  --> https://bugs.freedesktop.org/attachment.cgi?id=126363&action=edit
The problematic shader

Adding the extracted shader for future reference.

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

[-- Attachment #1.2: Type: text/html, Size: 1410 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] 8+ messages in thread

* [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption
  2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-09-09  8:27 ` bugzilla-daemon
@ 2016-09-09  8:27 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-09  8:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 126364
  --> https://bugs.freedesktop.org/attachment.cgi?id=126364&action=edit
Simplified version that also used to trigger the error

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

[-- Attachment #1.2: Type: text/html, Size: 1453 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] 8+ messages in thread

end of thread, other threads:[~2016-09-09  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-20 19:29 [Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption bugzilla-daemon
2016-06-21  8:16 ` bugzilla-daemon
2016-06-21 10:43 ` bugzilla-daemon
2016-06-21 18:58 ` bugzilla-daemon
2016-06-29 20:10 ` bugzilla-daemon
2016-07-12 16:35 ` bugzilla-daemon
2016-09-09  8:27 ` bugzilla-daemon
2016-09-09  8:27 ` 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.