https://bugs.freedesktop.org/show_bug.cgi?id=97852
Bug ID: 97852 Summary: Unreal Engine corrupted preview viewport 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: mw@graph-ix.net QA Contact: dri-devel@lists.freedesktop.org
Created attachment 126603 --> https://bugs.freedesktop.org/attachment.cgi?id=126603&action=edit Viewport corruption
Unreal Engine 4.13.1 editor shows corrupted preview viewports when at least one of the following post-processing effects is active in a viewport: * Motion Blur * Tonemapper
A screenshot of a viewport segment is attached.
When both effects are turned off, viewports appear to render correctly.
Graphics card: AMD TONGA chipset (Radeo R9 380) Mesa version: 12.1~git1600917222200.073129c~x~padoka0 on Ubuntu 16.04 with Padoka PPA glxinfo: OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.1.0-devel - padoka PPA OpenGL version string: 3.0 Mesa 12.1.0-devel - padoka PPA OpenGL ES profile version string: OpenGL ES 3.1 Mesa 12.1.0-devel - padoka PPA
https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #1 from Nicolai Hähnle nhaehnle@gmail.com --- Hi Markus, can you provide an apitrace that can reproduce the corruption?
https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #2 from Markus mw@graph-ix.net --- (In reply to Nicolai Hähnle from comment #1)
Hi Markus, can you provide an apitrace that can reproduce the corruption?
Hi Nicolai, I'm not familiar with debugging Mesa. Could you please provide a link to documentation on how I can obtain the information you need?
https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #3 from Nicolai Hähnle nhaehnle@gmail.com --- Use this tool: https://github.com/apitrace/apitrace to record a session that shows the problem. Once installed, you basically just run `apitrace trace <program under trace>`. The documentation linked to in the readme is generally pretty good.
https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #4 from Markus mw@graph-ix.net --- Created attachment 127627 --> https://bugs.freedesktop.org/attachment.cgi?id=127627&action=edit API trace
https://bugs.freedesktop.org/show_bug.cgi?id=97852
--- Comment #5 from Markus mw@graph-ix.net --- (In reply to Nicolai Hähnle from comment #3)
Use this tool: https://github.com/apitrace/apitrace to record a session that shows the problem. Once installed, you basically just run `apitrace trace <program under trace>`. The documentation linked to in the readme is generally pretty good.
Hi Nicolai, an API trace is now attached. The trace was created with Mesa version 13.1~git161022230600.7b7eb71~x~padoka0 where the issue is still present.
The major part of the trace probably consists of the editor starting up, so the issue itself should only be captured in the seconds prior to the editor starting to shut down.
https://bugs.freedesktop.org/show_bug.cgi?id=97852
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- QA Contact|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes |.org |ktop.org Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/radeonsi |glsl-compiler
--- Comment #6 from Michel Dänzer michel@daenzer.net --- A shader program fails to link, see below. This may be an Unreal Engine (editor) bug, reassigning to the GLSL compiler for now.
839119 @4 glLinkProgram(program = 3018) 839119: warning: link failed 839119: warning: error: vertex shader output `out_TEXCOORD0' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier
Mesa: User error: GL_INVALID_OPERATION in glUseProgram(program 3018 not linked) [more errors]
dri-devel@lists.freedesktop.org