[Bug 96602] [radeonsi] Dreamfall Chapters: one shader fails to compile, minor visual corruption

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 20 19:29:02 UTC 2016


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 at lists.freedesktop.org
          Reporter: kai at dev.carbon-project.org
        QA Contact: dri-devel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/4e11efc1/attachment-0001.html>


More information about the dri-devel mailing list