https://bugs.winehq.org/show_bug.cgi?id=42347
Bug ID: 42347 Summary: The Witcher 3 starting menu is distorted [radeonsi] Product: Wine Version: 2.0-rc6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: shtetldik@gmail.com Distribution: ---
Created attachment 57113 --> https://bugs.winehq.org/attachment.cgi?id=57113 Witcher 3 main menu distortion (no CSMT)
I'm testing The Witcher 3 (GOG/1.31) with recent Wine staging 2.0 (CSMT disabled), using AMD RX 480 and latest Mesa devel:
OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.8.0 / 4.9.0-1-amd64, LLVM 3.9.1) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.0-devel (git-2ab2be092d) OpenGL core profile shading language version string: 4.50
Users of Nvidia blob report that they don't have this issue in the starting menu which appears correct to them, so menu distortion looks radenosi specific.
I opened a Mesa bug here: https://bugs.freedesktop.org/show_bug.cgi?id=99444 However, Mesa developers closed it, noting, that it must be caused by Wine using NV_register_combiners without checking if it's supported by the driver. See details in the linked bug.
An relevant portion of the API trace log (filtered):
120612: message: major api error 2: GL_INVALID_ENUM in glActiveTexture(texture=GL_COMBINER0_NV) 120612 @1 glActiveTexture(texture = GL_COMBINER0_NV) 120619: message: major api error 2: GL_INVALID_ENUM in glActiveTexture(texture=GL_COMBINER1_NV) 120619 @1 glActiveTexture(texture = GL_COMBINER1_NV) 120626: message: major api error 2: GL_INVALID_ENUM in glActiveTexture(texture=GL_COMBINER2_NV) 120626 @1 glActiveTexture(texture = GL_COMBINER2_NV) ...