http://bugs.winehq.org/show_bug.cgi?id=23287
Summary: Silent Hunter 4 1.5: rendering of crew members is broken Product: Wine Version: 1.2-rc4 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: raskarcapac@yahoo.fr
Created an attachment (id=29023) --> (http://bugs.winehq.org/attachment.cgi?id=29023) Error log (truncated.)
In campaign, career, mission, patrol and school the body parts of the characters are floating in the air and in some cases have weird textures and colors.
It seems this is caused by shader errors:
... 1074840 err:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Find glsl program uniform locations @ glsl_shader.c / 4537 1074841 err:d3d_shader:set_glsl_shader_program >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB(programId) @ glsl_shader.c / 4551 1074842 err:d3d_shader:hardcode_local_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Hardcoding local constants @ glsl_shader.c / 4055 1074843 err:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4724 ... (Last error repeats in the rest of the log.)
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #1 from raskarcapac@yahoo.fr 2010-06-20 11:23:48 --- Created an attachment (id=29024) --> (http://bugs.winehq.org/attachment.cgi?id=29024) Screen capture in campaign mode
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #2 from raskarcapac@yahoo.fr 2010-06-20 11:27:29 --- Created an attachment (id=29025) --> (http://bugs.winehq.org/attachment.cgi?id=29025) Screen capture in career mode
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #3 from raskarcapac@yahoo.fr 2010-06-20 11:30:28 --- Created an attachment (id=29028) --> (http://bugs.winehq.org/attachment.cgi?id=29028) Screen capture in school mode
http://bugs.winehq.org/show_bug.cgi?id=23287
raskarcapac@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |raskarcapac@yahoo.fr
http://bugs.winehq.org/show_bug.cgi?id=23287
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2010-12-30 12:56:25 CST --- In current git (1.3.10), a d3dx9_36 override is enough to make the game work and render everything correctly. My console exhibits the following stubs when I use the builtin implementation:
fixme:d3dx:D3DXGetImageInfoFromFileInMemory Invalid or unsupported image file fixme:d3dcompiler:D3DCompile data 0x1ec0000, data_size 277, filename "Data/Shaders/Impurities/ImpuritiesPS.fx", defines (nil), include 0x33e7e4, entrypoint "main", target "ps_3_0", sflags 0, eflags 0, shader 0x33e89c, error_messages 0x33e8a0 stub!
These stubs are mentioned in other bug reports (http://bugs.winehq.org/show_bug.cgi?id=24417 , http://bugs.winehq.org/show_bug.cgi?id=22393). Because the issue was originally reported for d3d and not d3dx9, I think that this could be marked as fixed.
http://bugs.winehq.org/show_bug.cgi?id=23287
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2011-01-10 16:18:34 CST --- Could you try running with builtin d3dx9 and WINEDEBUG=warn+wincodecs ?
http://bugs.winehq.org/show_bug.cgi?id=23287
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx9 |directx-d3d
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2011-01-10 16:20:18 CST --- Whoops, changing the component back.
The existing bug involving D3DXGetImageInfoFromFileInMemory isn't necessarily the same one. It depends on the type of image being loaded.
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #7 from Xavier Vachon xvachon@gmail.com 2011-01-11 01:04:36 CST --- Created an attachment (id=32812) --> (http://bugs.winehq.org/attachment.cgi?id=32812) +warn,+wincodecs log
(In reply to comment #5)
Could you try running with builtin d3dx9 and WINEDEBUG=warn+wincodecs ?
Have fun!
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #8 from Vincent Povirk madewokherd@gmail.com 2011-01-11 10:15:20 CST --- It's all DDS files failing to load.
I really did mean warn+wincodecs, with no comma. That would've made a much shorter log. But what you did was fine.
http://bugs.winehq.org/show_bug.cgi?id=23287
raskarcapac@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|raskarcapac@yahoo.fr |
http://bugs.winehq.org/show_bug.cgi?id=23287
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=23287
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr 2012-11-03 00:00:33 CDT --- Still a bug in current wine?
DDS format is now implement.
http://bugs.winehq.org/show_bug.cgi?id=23287
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2013-06-16 01:48:13 CDT --- Is this bug fixed now?
https://bugs.winehq.org/show_bug.cgi?id=23287
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- No reply in over 2 years, no download.
https://bugs.winehq.org/show_bug.cgi?id=23287
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Austin English austinenglish@gmail.com --- Closing.