[Bug 43560] New: Textures are inverted in Star Trek Online

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 43560] New: Textures are inverted in Star Trek Online

Wine - Bugs mailing list
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: [hidden email]
          Reporter: [hidden email]
      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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
(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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #2 from [hidden email] ---
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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #3 from [hidden email] ---
The issue is persistent and always present wherever textures of this kind
exists, which is almost everywhere. Log attached as requested.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #4 from Morgan Wesström <[hidden email]> ---
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. :)

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

Matteo Bruni <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|directx-d3dx11              |directx-d3d

--- Comment #5 from Matteo Bruni <[hidden email]> ---
Could you attach the screenshot to the bug?

This might be a duplicate of bug 42819.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #6 from Morgan Wesström <[hidden email]> ---
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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

BieHDC <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from BieHDC <[hidden email]> ---
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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #8 from Morgan Wesström <[hidden email]> ---
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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #9 from Morgan Wesström <[hidden email]> ---
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

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

Józef Kucia <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |[hidden email]

--- Comment #10 from Józef Kucia <[hidden email]> ---
Please try if the patch attached to bug 43131 fixes the problem for Star Trek
Online.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

--- Comment #11 from Morgan Wesström <[hidden email]> ---
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.

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.

Reply | Threaded
Open this post in threaded view
|

[Bug 43560] Textures are inverted in Star Trek Online

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=43560

Józef Kucia <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #12 from Józef Kucia <[hidden email]> ---
Thanks for testing.

*** This bug has been marked as a duplicate of bug 43131 ***

--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.