http://bugs.winehq.org/show_bug.cgi?id=27079
Summary: Painkiller Black: black screen and crash at start Product: Wine Version: 1.3.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: pp@siedziba.pl CC: hverbeet@gmail.com
Created an attachment (id=34513) --> (http://bugs.winehq.org/attachment.cgi?id=34513) terminal output with d3d trace (from git at commit f555c2d8572b8359)
When I try to start the game the screen goes black and it does not proceed any further. The screen is black due to gamma set to 0, when I restore gamma I find the game crashed. Bisecting points to this patch:
fadfdf21c055caf833a137ffc269c2073dc87fd6 is the first bad commit commit fadfdf21c055caf833a137ffc269c2073dc87fd6 Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Apr 15 18:33:37 2011 +0200
wined3d: Forward surface refcounts to the container.
This will prevent textures from being released if one of its surfaces is still in use by the stateblock. We have similar constructions in d3d8 and d3d9, but those won't prevent the wined3d texture from being released.
:040000 040000 9524a301f942c04b1bd19f6ee763a8662a5afccd a0888eab4fd4a02d6d488071e7b4e84d62f671e0 M dlls