https://bugs.winehq.org/show_bug.cgi?id=43314
Bug ID: 43314 Summary: Missing characters/models in d3d11 Unity 5 games Product: Wine Version: 2.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: eldrad@autistici.org Distribution: ---
Most Unity 5 games are missing the character models in directx11 mode.
In some games this can be worked around by using d3d9 mode (ie, like Homeworld: Deserts of Kharak), but not all games support it (like Shadow Tactics: Blades of the Shogun).
The best way to reproduce this is using the GOG Demo for Shadow Tactics: Blades of the Shogun.
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #1 from Toni eldrad@autistici.org --- To clarify, everything seems to work and render fine (terrain, scenarios, menus, game gui), but moving characters/models do not show up. Sometimes some props from characters can be seen.
https://bugs.winehq.org/show_bug.cgi?id=43314
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d CC| |michael@fds-team.de URL| |https://www.gog.com/game/sh | |adow_tactics_demo
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #2 from Toni eldrad@autistici.org --- Created attachment 58654 --> https://bugs.winehq.org/attachment.cgi?id=58654 Log from shadow tactics gog demo on 2.11-staging
Log removing all duplicate lines with no special options.
Full run from starting the game, launching a mission, returning to main menu and exit.
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #3 from Toni eldrad@autistici.org --- Created attachment 58655 --> https://bugs.winehq.org/attachment.cgi?id=58655 Log from shadow tactics gog demo on 2.11-staging (with duplicate lines)
Same as the previous log but with full output instead of removing duplicated lines.
https://bugs.winehq.org/show_bug.cgi?id=43314
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
--- Comment #4 from Ker noa blue-t@web.de --- Could that be a duplicatae of https://bugs.winehq.org/show_bug.cgi?id=40873 ?
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #5 from Toni eldrad@autistici.org --- (In reply to Ker noa from comment #4)
Could that be a duplicatae of https://bugs.winehq.org/show_bug.cgi?id=40873 ?
Maybe but that bug doesn't specify any symptoms of the problem other than the error log, so it's difficult to know if that's the cause for this problem.
https://bugs.winehq.org/show_bug.cgi?id=43314
Carlos Silva r3pek@r3pek.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r3pek@r3pek.org
--- Comment #6 from Carlos Silva r3pek@r3pek.org --- Created attachment 58671 --> https://bugs.winehq.org/attachment.cgi?id=58671 Subnautica log
Subnautica has the same issue.
Lots of objects are there but they are simply not shown until we're very close to the fish for example.
One other thing that is missing is the textures for the "Landing Pod" (I can add a screenshot if required), but that ones don't show up if we're near.
One other thing I can add, and that I offered on IRC and can do it here. If any dev wants to debug this further, I don't mind offering a Subnautica license for him to use for debug since the game has no demo available.
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #7 from Toni eldrad@autistici.org --- Created attachment 58920 --> https://bugs.winehq.org/attachment.cgi?id=58920 Wine 2.14 +d3d_shader log
Log with +d3d_shader since this might be a shader issue.
I have no idea but the following lines look like might be relevant:
warn:d3d_shader:shader_set_function Wrong shader type 1. warn:d3d_shader:shader_init Failed to set function, hr 0x8876086c. warn:d3d_shader:wined3d_shader_create_gs Failed to initialize geometry shader, hr 0x8876086c.
trace:d3d_shader:shader_glsl_compile void setup_vs_output(in vec4 outputs[16]) trace:d3d_shader:shader_glsl_compile { trace:d3d_shader:shader_glsl_compile } (...) fixme:d3d_shader:print_glsl_info_log 0(96) : warning C7050: "gl_Position" might be used before being initialized
(gl_Position might be uninitialized on shaders with empty setup_vs_output, may be related to the former uninitialized geometry shader)
fixme:d3d_shader:print_glsl_info_log 0(53) : warning C7050: "R0.y" might be used before being initialized
https://bugs.winehq.org/show_bug.cgi?id=43314
winehq@codingcatgirl.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq@codingcatgirl.de
--- Comment #8 from winehq@codingcatgirl.de ---
To clarify, everything seems to work and render fine (terrain, scenarios, menus, game gui), but moving characters/models do not show up. Sometimes some props from characters can be seen.
This also happens with the game “Life is Strange: Before The Storm” that was released today. With the default wine branch, the game only shows a pink screen with sound, so i could only observe this behaviour with wine-staging.
The following lines are repeated all the time in the log output… presumably on each frame:
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS (0x8da8) fixme:d3d:context_dump_fbo_attachment GL_DEPTH_ATTACHMENT: 2d texture 1138, 256x256, format 0x81a6. fixme:d3d:context_dump_fbo_attachment GL_STENCIL_ATTACHMENT: NONE. err:d3d:wined3d_debug_callback 0x62bb70: "GL_INVALID_OPERATION in glBindTexture(target mismatch)". fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT0: 2d-array texture 1125, 256x256, format 0x822e. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT1: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT2: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT3: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT4: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT5: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT6: NONE. fixme:d3d:context_dump_fbo_attachment GL_COLOR_ATTACHMENT7: NONE. err:d3d:wined3d_debug_callback 0x62bb70: "GL_INVALID_FRAMEBUFFER_OPERATION in glDrawElements(incomplete framebuffer)".
https://bugs.winehq.org/show_bug.cgi?id=43314
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43314
Nicky nheart@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nheart@gmail.com
--- Comment #9 from Nicky nheart@gmail.com --- Confirming the bug for wine-staging 2.17 and Life is Strange: Before the storm
https://bugs.winehq.org/show_bug.cgi?id=43314
Filippe LeMarchand gasinvein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gasinvein@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43314
willcoster@gmail.com willcoster@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |willcoster@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43314
Marco surakin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |surakin@gmail.com
--- Comment #10 from Marco surakin@gmail.com --- Confirming this problem is still present in 2.18
https://bugs.winehq.org/show_bug.cgi?id=43314
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sa@whiz.se
https://bugs.winehq.org/show_bug.cgi?id=43314
Philipp Lorenz descent1@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |descent1@gmx.net
--- Comment #11 from Philipp Lorenz descent1@gmx.net --- Confirming this bug for Life is Strange: Before the Storm with wine-staging 2.19
https://bugs.winehq.org/show_bug.cgi?id=43314
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #12 from Alexandr Oleynikov sashok.olen@gmail.com --- Confirming the bug for LIS: Before the Storm in Wine 2.20
https://bugs.winehq.org/show_bug.cgi?id=43314
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=41295 CC| |joseph.kucia@gmail.com
--- Comment #13 from Józef Kucia joseph.kucia@gmail.com --- Probably a duplicate of bug 41295.
https://bugs.winehq.org/show_bug.cgi?id=43314
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=43314
Dmitry Eremin-Solenikov dbaryshkov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dbaryshkov@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43314
xenodaphron@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xenodaphron@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43314
--- Comment #14 from xenodaphron@gmail.com --- Confirming the bug for Life is Strange: Before The Storm in wine 3.0
https://bugs.winehq.org/show_bug.cgi?id=43314
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #15 from Józef Kucia joseph.kucia@gmail.com --- Duplicate of bug 41295.
*** This bug has been marked as a duplicate of bug 41295 ***
https://bugs.winehq.org/show_bug.cgi?id=43314
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #16 from André H. nerv@dawncrow.de --- closing dup