https://bugs.winehq.org/show_bug.cgi?id=39341
Bug ID: 39341 Summary: Dino Crisis 1 Demo -- only black screen is shown Product: Wine Version: 1.7.41 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winebugs140@gmail.com
Looks like a REGRESSION because with Wine 1.7.40 everything works fine. Of course, still present in Wine 1.7.51.
I'm not good at compiling stuff on Macs, so if someone would like to run regression tests--you are welcome.
OS X 10.9.5, Radeon HD 2600 Pro
https://bugs.winehq.org/show_bug.cgi?id=39341
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression URL| |http://www.fileplanet.com/4 | |6430/download/Dino-Crisis-D | |emo CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39341
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=39341
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |marcus@jet.franken.de Ever confirmed|0 |1
--- Comment #1 from Marcus Meissner marcus@jet.franken.de --- can confirm
Lots of: err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous.
and also: fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1. err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. fixme:amstream:IAMMultiMediaStreamImpl_AddMediaStream Specifying a stream object in params is not yet supported err:quartz:GetClassMediaFile Media class not found fixme:amstream:IAMMultiMediaStreamImpl_GetEndOfStream (0x10370e0/0x10370e0)->(0x671d68) stub! fixme:amstream:IAMMultiMediaStreamImpl_GetState (0x10370e0/0x10370e0)->(0x157e728) stub! err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. err:ole:CoUninitialize Mismatched CoUninitialize err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. fixme:win:EnumDisplayDevicesW ((null),0,0x33bff8,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33b928,0x00000000), stub! err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous.
Needs Intel Indeo codecs, but even installing them does not help.
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- This is clearly a regression and can be reproduced in linux too, but my netbook takes around 2 hours to compile wine so I can't do the regression test too.
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #3 from Marcus Meissner marcus@jet.franken.de --- I will try to bisect.
https://bugs.winehq.org/show_bug.cgi?id=39341
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com Regression SHA1| |5d51c97d07b5730791226799658 | |6d05528f652a5
--- Comment #4 from Marcus Meissner marcus@jet.franken.de --- bisecting converged on:
commit 5d51c97d07b57307912267996586d05528f652a5 Author: Stefan Dösinger stefan@codeweavers.com Date: Fri Apr 10 12:05:54 2015 +0200
wined3d: Implement color keying in the glsl fragment pipeline.
:040000 040000 a44ec90789cd7da82554e8b9f8c3dd690b8f2fbe ac5defcddb0969a3f0d49dbfc693701e19528e18 M dlls
https://bugs.winehq.org/show_bug.cgi?id=39341
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |stefandoesinger@gmx.at
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #5 from Stefan Dösinger stefan@codeweavers.com --- I can't reproduce this. The game runs fine in hardware and software rendering mode. Tried ARB and GLSL, and windowed and fullscreen modes.
Wine commit ID 3966affe064c7b98a7b4c052b6a6696fe74c8830, Nvidia 355.11.
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52454 --> https://bugs.winehq.org/attachment.cgi?id=52454 minor partial revert
That is unfortunate, I can always reproduce with Intel graphics and "Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)".
After trying to revert parts of the commit I found that the attached minor revert fixes the issue for me, if someone can test on OSX it would be good. I double checked it in Linux.
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #7 from Stefan Dösinger stefan@codeweavers.com --- Just to clarify: Is this bug supposed to show up in the main menu? I did see the main menu, clicked through the intro scenes and played a bit by actually walking around with the character. No black screen in sight...
I'll test this with other GPUs, but color keying shouldn't really depend on that, unless you have something really ancient that doesn't support ARB or GLSL shaders (i.e., Radeon 9200 and older, Geforce 4 and older)
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Stefan Dösinger from comment #7)
Just to clarify: Is this bug supposed to show up in the main menu? I did see the main menu, clicked through the intro scenes and played a bit by actually walking around with the character. No black screen in sight...
In a clean wine prefix after pressing Play in the launcher app the screen gets dark and nothing renders (Indeo 5 not installed as this is not related). If the game is working properly the first rendered scene is the "This game contains gore..." something like that, if you see that you are not seeing the bug.
I'll test this with other GPUs, but color keying shouldn't really depend on that, unless you have something really ancient that doesn't support ARB or GLSL shaders (i.e., Radeon 9200 and older, Geforce 4 and older)
I'm using a 2011 netbook with integrated intel graphics card.
wine@Note:/tmp/ram/a/drive_c/dcrisisdemo$ lspci | grep -i vga 00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #9 from Stefan Dösinger stefan@codeweavers.com --- I can reproduce this with Intel + Mesa. It's not really a black screen, the problem is that the game never updates. But with the preceding mode change there's black inside when the game starts rendering...
Also interestingly, the output is *not* discarded by color keying. Something else is going wrong here...
https://bugs.winehq.org/show_bug.cgi?id=39341
--- Comment #10 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 52467 --> https://bugs.winehq.org/attachment.cgi?id=52467 wined3d: WINED3DFMT_B5G5R5X1_UNORM doesn't have an alpha channel.
This patch fixes the problem for me. We were accidentally giving the texture an alpha channel with uninitialized data, which made it transparent. The color keying conversion was nice enough to set alpha = 1.
I have no idea though why I couldn't see the problem on Nvidia...
I'll submit this after running the tests.
https://bugs.winehq.org/show_bug.cgi?id=39341
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a887a87a90cefcd3390e96b9f2d | |569cdd5def23a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Stefan Dösinger stefan@codeweavers.com --- Should be fixed by a887a87a90cefcd3390e96b9f2d569cdd5def23a.
https://bugs.winehq.org/show_bug.cgi?id=39341
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Stefan Dösinger from comment #11)
Should be fixed by a887a87a90cefcd3390e96b9f2d569cdd5def23a.
Thank you, indeed fixed.
https://bugs.winehq.org/show_bug.cgi?id=39341
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.53.