[Bug 93599] Strange green flashes with "Metro: Last Light Redux" + "Metro 2033 Redux" with Intel Mesa driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 6 09:24:51 PST 2016


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

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Ian Romanick <idr at freedesktop.org> ---
(In reply to Darius Spitznagel from comment #0)
> <<<
> 1500: message: major shader compiler error 4: 0:16(1): error: #extension
> directive is not allowed in the middle of a shader
> 1500 @0 glCompileShader(shader = 440)
> 1500: warning: compilation failed
> 1500: warning: 0:16(1): error: #extension directive is not allowed in the
> middle of a shader
> >>>

Oh bother. :(  This is an application bug, and it can be worked around by
setting the environment variable allow_glsl_extension_directive_midshader=true.
 You can also set it in your driconf.

> Later...
> 
> <<<
> 334307: message: shader compiler issue 17597: VS vec4 shader: 46 inst, 0
> loops, 204 cycles, compacted 736 to 624 bytes.
> 334348 @0 glLinkProgram(program = 6704)
> 334348: warning: link failed
> 334348: warning: error: linking with uncompiled shader
> >>>

And this is surely caused by the previous message.  The shader that generated
the '#extension directives..." message didn't compile, and this error is
triggered when the application tries to link the failed shader.  The
work-around for the previous problem should eliminate this message.

Once this is resolved, if the green flashes persist, can you see if you can
reproduce the problem on upstream kernels?  If you can, is there any chance you
could bisect?

> More later...
> 
> <<<
> 342445: message: api performance issue 17829: Exceeded state cache size
> limit.  Clearing the set of compiled programs, which will trigger recompiles
> >>>

This and the other messages are just performance hints for developers
(application and driver).  You can ignore these.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160106/e2994427/attachment.html>


More information about the intel-3d-bugs mailing list