https://bugs.winehq.org/show_bug.cgi?id=43144
Bug ID: 43144 Summary: Distorted graphics in the game Starcraft 2. Product: Wine Version: 2.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: zefkerrigan@gmail.com Distribution: ---
Created attachment 58365 --> https://bugs.winehq.org/attachment.cgi?id=58365 So the game looks like graphics distortion after adding this registry key.
If I add this registry key so that Wine can detect the availability of OpenGL 4.5 in my system, the graphics in Starcraft 2 become distorted. I guess this is probably due to the fact that in this case Starcraft2 starts using d3dx11 instead of d3dx9, but, unfortunately, this leads to distortions in the graphics in the game. But, I can not say with absolute certainty that this assumption completely corresponds to reality. I've attached screenshots that show what the game looks like without distorting graphics, and how it looks with graphics distortions after adding this registry key.
glversion_fix.reg
REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\Direct3D] "DirectDrawRenderer"="opengl" "UseGLSL"="enabled" "MaxVersionGL"=dword:00040005
https://bugs.winehq.org/show_bug.cgi?id=43144
zefkerr zefkerrigan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zefkerrigan@gmail.com
--- Comment #1 from zefkerr zefkerrigan@gmail.com --- Created attachment 58366 --> https://bugs.winehq.org/attachment.cgi?id=58366 So the game looks without graphics distortion without adding this registry key.
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #2 from zefkerr zefkerrigan@gmail.com --- Created attachment 58367 --> https://bugs.winehq.org/attachment.cgi?id=58367 So the game looks with graphics distortion after adding this registry key.
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #3 from zefkerr zefkerrigan@gmail.com --- Created attachment 58368 --> https://bugs.winehq.org/attachment.cgi?id=58368 So the game looks without graphics distortion without adding this registry key.
https://bugs.winehq.org/show_bug.cgi?id=43144
zefkerr zefkerrigan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #58365|So the game looks like |So the game with like description|graphics distortion after |graphics distortion after |adding this registry key. |adding this registry key.
https://bugs.winehq.org/show_bug.cgi?id=43144
zefkerr zefkerrigan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux Priority|P2 |P1
https://bugs.winehq.org/show_bug.cgi?id=43144
Gijs Vermeulen acescopezz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |acescopezz@gmail.com
--- Comment #4 from Gijs Vermeulen acescopezz@gmail.com --- Any console output? That would be the only way to find out what is causing this.
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #5 from zefkerr zefkerrigan@gmail.com --- (In reply to Gijs Vermeulen from comment #4)
Any console output? That would be the only way to find out what is causing this.
During the running game, only such console output continues continuously. I copied here only part of it, because there is no reason to copy it completely, because it is very long and monotonous:
err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 82 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 78 not linked)". err:d3d:wined3d_debug_callback 0xc3e0030: "GL_INVALID_OPERATION in glUseProgram(program 131 not linked)".
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #6 from zefkerr zefkerrigan@gmail.com --- Created attachment 58369 --> https://bugs.winehq.org/attachment.cgi?id=58369 During the running game, only such console output continues continuously.
https://bugs.winehq.org/show_bug.cgi?id=43144
zefkerr zefkerrigan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #7 from Gijs Vermeulen acescopezz@gmail.com --- Please don't raise the importance, read the guidelines please. https://wiki.winehq.org/Bugs#How_to_report
https://bugs.winehq.org/show_bug.cgi?id=43144
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #8 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 58372 --> https://bugs.winehq.org/attachment.cgi?id=58372 Patch
Does this patch help?
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #9 from zefkerr zefkerrigan@gmail.com --- (In reply to Józef Kucia from comment #8)
Created attachment 58372 [details] Patch
Does this patch help?
Sorry, but I do not know how to apply patches :(
https://bugs.winehq.org/show_bug.cgi?id=43144
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #10 from Józef Kucia joseph.kucia@gmail.com --- I'm quite sure that it's a known Mesa bug. Please attach WINEDEBUG=+d3d_shader log or the complete terminal output in order to confirm.
We may consider adding a workaround for this bug.
*** This bug has been marked as a duplicate of bug 43057 ***
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #11 from zefkerr zefkerrigan@gmail.com --- Created attachment 58377 --> https://bugs.winehq.org/attachment.cgi?id=58377 You asked me to attach the complete terminal output. I did it.
This is the complete terminal output from the moment the game is launched to the moment when it exit the game. By the way, the game on exit still freezes every time. I have to kill the process every time.
"I'm quite sure that it's a known Mesa bug. Please attach WINEDEBUG=+d3d_shader log or the complete terminal output in order to confirm.
We may consider adding a workaround for this bug."
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #12 from zefkerr zefkerrigan@gmail.com --- (In reply to Józef Kucia from comment #10)
I'm quite sure that it's a known Mesa bug. Please attach WINEDEBUG=+d3d_shader log or the complete terminal output in order to confirm.
We may consider adding a workaround for this bug.
*** This bug has been marked as a duplicate of bug 43057 ***
You asked me to attach the complete terminal output. I did it.
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #13 from Józef Kucia joseph.kucia@gmail.com --- (In reply to zefkerr from comment #12)
(In reply to Józef Kucia from comment #10)
*** This bug has been marked as a duplicate of bug 43057 ***
You asked me to attach the complete terminal output. I did it.
Thanks. The terminal output confirms that this is the same issue as bug 43057.
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #14 from zefkerr zefkerrigan@gmail.com --- (In reply to Józef Kucia from comment #13)
(In reply to zefkerr from comment #12)
(In reply to Józef Kucia from comment #10)
*** This bug has been marked as a duplicate of bug 43057 ***
You asked me to attach the complete terminal output. I did it.
Thanks. The terminal output confirms that this is the same issue as bug 43057.
Thank you for your reply. And now what should I do? Now I have to write a bug report to Mesa developers?
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #15 from Józef Kucia joseph.kucia@gmail.com --- The bug is already reported in the Mesa bug tracker: https://bugs.freedesktop.org/show_bug.cgi?id=101247
https://bugs.winehq.org/show_bug.cgi?id=43144
--- Comment #16 from zefkerr zefkerrigan@gmail.com --- (In reply to Józef Kucia from comment #15)
The bug is already reported in the Mesa bug tracker: https://bugs.freedesktop.org/show_bug.cgi?id=101247
Really thank you!
https://bugs.winehq.org/show_bug.cgi?id=43144
zefkerr zefkerrigan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |FIXED
--- Comment #17 from zefkerr zefkerrigan@gmail.com --- Fixed in Mesa 17.1.4. Not a bug of Wine.
https://bugs.winehq.org/show_bug.cgi?id=43144
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.14.
https://bugs.winehq.org/show_bug.cgi?id=43144
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE Status|CLOSED |RESOLVED
--- Comment #19 from Matteo Bruni matteo.mystral@gmail.com ---
*** This bug has been marked as a duplicate of bug 43057 ***
https://bugs.winehq.org/show_bug.cgi?id=43144
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Austin English austinenglish@gmail.com --- Closing.