Bugzilla – Bug 1080492
GL errors from wine after latest update to Mesa 18 with radeon driver
Last modified: 2018-06-21 21:36:20 UTC
After the latest tumbleweed update with kernel 4.15.1 and the radeon driver, i get a few GL_INVALID_OPERATIONS errors in wine which results in black screen wine window.
The errors are:
0085:err:d3d:wined3d_debug_callback 0x1915b8: "GL_INVALID_OPERATION in glUseProgram(program 7 not linked)".
0085:err:d3d:wined3d_debug_callback 0x1915b8: "GL_INVALID_OPERATION in glUniform(program not linked)".
I am not sure which component is responsible. I have reverted the system, freezed wine and the radeon drivers to a working version and updated again, the error comes up again. So it seem not to be wine, but driver or libGL related.
I will again revert back to working state before update and try again to identify the broken component...
You can esaily downgrade the kernel, e.g. from:
I identified the broken component.
It is the update from Mesa 17.3.2-181.1 to 18.0.0-186.1.
Xserver and other OpenGL stuff doesn't seem to be affected, but wine is not running 3D stuff anymore.
Changed component and title of bug.
So the program is trying to use a shader which was not linked. Since it staretd happening with 18.0.0, first suspect is shader cache. Please try if setting this environmental variable makes any difference:
Also can you recommend any free Windows program that can be used to reproduce this in wine?
Nevermind, it seems to be this:
It was fixed by 4195eed961ccfe404ae81b9112189fc93a254ded ("glsl/linker: check same name is not used in block and outside"), which we have now backported in X11:XOrg project. It will be released in the next Mesa update.
This is an autogenerated message for OBS integration:
This bug (1080492) was mentioned in
https://build.opensuse.org/request/show/576589 Factory / Mesa