https://bugs.winehq.org/show_bug.cgi?id=43560
Bug ID: 43560 Summary: Textures are inverted in Star Trek Online Product: Wine Version: 2.13 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: winehq@pp.dyndns.biz Distribution: ---
Textures like vegetation are inverted, i.e. the actual texture is transparent and surrounded by a square canvas that has the colour of the texture (see linked screenshot - Windows version on top half, Wine version on bottom half). Also the hair is missing on the avatar in that screenshot.
http://i.imgur.com/fHcgnUG.jpg
I'm running Gentoo Linux and I have tried this on both x86 and x86_64, wine-staging 2.1-2.12 as well as wine-vanilla 2.13. My memory fails me but I'm pretty sure this was working correctly earlier around version 2.3 or so and that an update to Star Trek Online broke it. Star Trek Online doesn't support Linux so I can't report it there and my only hope is that any Wine dev can figure out what causes this. Please let me know if I can supply more information or try a patch.
https://bugs.winehq.org/show_bug.cgi?id=43560
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to winehq from comment #0)
Textures like vegetation are inverted, i.e. the actual texture is transparent and surrounded by a square canvas that has the colour of the texture (see linked screenshot - Windows version on top half, Wine version on bottom half). Also the hair is missing on the avatar in that screenshot.
http://i.imgur.com/fHcgnUG.jpg
I'm running Gentoo Linux and I have tried this on both x86 and x86_64, wine-staging 2.1-2.12 as well as wine-vanilla 2.13. My memory fails me but I'm pretty sure this was working correctly earlier around version 2.3 or so and that an update to Star Trek Online broke it. Star Trek Online doesn't support Linux so I can't report it there and my only hope is that any Wine dev can figure out what causes this. Please let me know if I can supply more information or try a patch.
Please add the terminal output you receive while the issue occurs as an attachment.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #2 from winehq@pp.dyndns.biz --- Created attachment 58965 --> https://bugs.winehq.org/attachment.cgi?id=58965 Console log from starting the game and loading affected map
It's gzipped because it was larger than the allowed 5000KB.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #3 from winehq@pp.dyndns.biz --- The issue is persistent and always present wherever textures of this kind exists, which is almost everywhere. Log attached as requested.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #4 from Morgan Wesström winehq@pp.dyndns.biz --- Going through the log myself (with limited knowledge) I see a lot of this:
fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps. fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps_sgv.
I see similar bug reports here which seems to point to not yet implemented functions so I guess I just have to be patient. :)
https://bugs.winehq.org/show_bug.cgi?id=43560
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |directx-d3d
--- Comment #5 from Matteo Bruni matteo.mystral@gmail.com --- Could you attach the screenshot to the bug?
This might be a duplicate of bug 42819.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #6 from Morgan Wesström winehq@pp.dyndns.biz --- Created attachment 59125 --> https://bugs.winehq.org/attachment.cgi?id=59125 Screenshot of inverted textures in Star Trek Online
Screenshot attached as per request. As stated earlier, top half is from Windows and bottom half is same scene from Wine.
https://bugs.winehq.org/show_bug.cgi?id=43560
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |byi5000@gmail.com
--- Comment #7 from BieHDC byi5000@gmail.com --- Created attachment 59133 --> https://bugs.winehq.org/attachment.cgi?id=59133 Just Cause 2 suffers from the same bug
fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps_siv. fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #8 from Morgan Wesström winehq@pp.dyndns.biz --- I was happy to see that bug 40873 implemented the opcode dcl_input_ps. I tested wine 2.20 and wine-staging 2.20 right now but the visual problems in Star Trek Online remains. I assume the other opcodes listed in this bug are necessary.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #9 from Morgan Wesström winehq@pp.dyndns.biz --- Patches for the missing opcodes seem to have been submitted back in 2016. Any reason they can't be incorporated?
[PATCH 3/8] wined3d: Recognize SM4 dcl_input_ps_sgv opcode. https://www.winehq.org/pipermail/wine-patches/2016-February/146667.html
[PATCH 4/8] wined3d: Recognize SM4 dcl_input_ps_siv opcode. https://www.winehq.org/pipermail/wine-patches/2016-February/146668.html
https://bugs.winehq.org/show_bug.cgi?id=43560
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |joseph.kucia@gmail.com
--- Comment #10 from Józef Kucia joseph.kucia@gmail.com --- Please try if the patch attached to bug 43131 fixes the problem for Star Trek Online.
https://bugs.winehq.org/show_bug.cgi?id=43560
--- Comment #11 from Morgan Wesström winehq@pp.dyndns.biz --- Created attachment 59764 --> https://bugs.winehq.org/attachment.cgi?id=59764 Screenshot before/after applying patch from bug 43131 to Star Trek Online
Thank you Józef you're my hero! :) With that patch applied to wine-vanilla 2.21, textures are now looking normal again. I still need some time to play the game to check for regressions. Attaching before/after screenshot.
https://bugs.winehq.org/show_bug.cgi?id=43560
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #12 from Józef Kucia joseph.kucia@gmail.com --- Thanks for testing.
*** This bug has been marked as a duplicate of bug 43131 ***
https://bugs.winehq.org/show_bug.cgi?id=43560
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate