Running Portal, HL2, HL2_LC, L4D2 using wined3d results in black screen. Other than that the games seem to run fine - I can hear the menu sounds. The Steam Overlay also works and displays fps counter and notifications. In the terminal the following message could be seen: "00c1:err:d3d:wined3d_debug_callback 0xf399120: "GL_INVALID_OPERATION in glUseProgram(program 7 not linked)" The problem happens only with the Mesa3D-18.0 branch. I've tried rc4 and rc1. Everything works properly with Mesa-17.3 and git master from Feb 23 ( 8df11f3fad52507266ca1e97149fd4175ad05471 ) Gallium Nine and native Linux OpenGL versions of the same titles works fine. I'm with AMD HD5670 - Evergreen Redwood card (R600 driver).
The problem appears with Wine-3.0rc1 or newer (including Wine-3.3). It does not appear with Wine-2.22.
Please attach the full terminal output.
Created attachment 137961 [details] terminal log of "MESA_GLSL=dump R600_DEBUG=nosb,vs,ps wine steam.exe" I'm attaching full log created with "MESA_GLSL=dump R600_DEBUG=nosb,vs,ps wine steam.exe &> glsl_error.log" The most relevant line in the output seems to be this one: "error: declarations for shader output `gl_BackSecondaryColor` are in gl_PerVertex and gl_PerVertex" It looks like the bug is not related to the R600 driver, but to the glsl-compiler.
Bisecting the issue to the offending commit would be a good move. A small shader test [1] for piglit will also be a nice move. Thus one can easily reproduce and + ensure it doesn't happen in the future ;-) [1] Simple example test https://cgit.freedesktop.org/piglit/tree/tests/shaders/glsl-algebraic-rcp-sqrt-2.shader_test
error: declarations for shader output `gl_BackSecondaryColor` are in gl_PerVertex and gl_PerVertex It looks like the same problem as bug 104668 and bug 104777. 4195eed961ccfe404ae81b9112189fc93a254ded fixes the problem.
> It looks like the same problem as bug 104668 and bug 104777. > 4195eed961ccfe404ae81b9112189fc93a254ded fixes the problem. Well, this is kind of expected, because the current git master does not have that bug. However, the real bug I am reporting here is that the above fix is not ported to the Mesa3D-18.0 branch. You definitely do not want to make a release containing that bug.
(In reply to iive from comment #6) > > It looks like the same problem as bug 104668 and bug 104777. > > 4195eed961ccfe404ae81b9112189fc93a254ded fixes the problem. > > Well, this is kind of expected, because the current git master does not have > that bug. > > However, the real bug I am reporting here is that > the above fix is not ported to the Mesa3D-18.0 branch. > > You definitely do not want to make a release containing that bug. Mentioned commit is in 18.0.0-rc5, please test.
(In reply to Tapani Pälli from comment #7) > Mentioned commit is in 18.0.0-rc5, please test. I cannot reproduce the bug anymore. Looks like it is fixed.
*** Bug 105568 has been marked as a duplicate of this bug. ***
Can confirm TrackMania Nations Forever is fixed in 18.0-rc5.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.