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
http://bugs.winehq.org/show_bug.cgi?id=27079
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=27079
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2011-05-14 10:41:58 CDT --- should be fixed in current git. please give it a try
http://bugs.winehq.org/show_bug.cgi?id=27079
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #2 from GyB gyebro69@gmail.com 2011-05-15 06:07:18 CDT --- Aura 2: The Sacred Rings has a long-standing problem with accessing the inventory by pressing the right mouse button (see bug #24613).
Since Wine-1.3.19, my whole screen turns to black when I press the right mouse button in the game. Even if the game is running in virtual desktop, sized smaller than my native resolution, all I get is the black screen. The only way to recover from the problem is to terminate the running game and type in the terminal (blindly): nvidia-settings and press <Enter>. This restores the original gamma value of the desktop.
Regression testing resulted the same commit: fadfdf21c055caf833a137ffc269c2073dc87fd6 wined3d: Forward surface refcounts to the container.
Aura 2 has a demo (~540 MB): http://www.fileplanet.com/175732/170000/fileinfo/Aura-2:-The-Sacred-Rings-De...
To reproduce the issue in the demo: 1) Install the demo as usual. 2) Launch the demo by TSR.exe. <New Game>, skip the intro video. When the game environment appears, press the right mouse button (this should bring up the inventory in the game) >> the screen turns to black on my system.
Fedora 14 32-bit Nvidia GeForce 250 GTS / driver 270.41.06 Xorg 1.9.5 Gnome + Metacity
http://bugs.winehq.org/show_bug.cgi?id=27079
--- Comment #3 from GyB gyebro69@gmail.com 2011-05-15 06:08:35 CDT --- (In reply to comment #1)
should be fixed in current git. please give it a try
Forgot to mention: the same problem occurs in Wine-1.3.20.
http://bugs.winehq.org/show_bug.cgi?id=27079
--- Comment #4 from Piotr Pawlow pp@siedziba.pl 2011-05-31 19:09:09 CDT --- Created an attachment (id=34975) --> (http://bugs.winehq.org/attachment.cgi?id=34975) proposed patch
Set container of swapchain surfaces to WINED3D_CONTAINER_NONE in swapchain_init() error path to stop refcount forwarding. Otherwise the swapchain refcount drops to zero, and swapchain_cleanup() gets called on an invalid, partly initialized swapchain.
http://bugs.winehq.org/show_bug.cgi?id=27079
Piotr Pawlow pp@siedziba.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=27079
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #5 from Dan Kegel dank@kegel.com 2011-06-01 15:51:58 CDT --- Piotr submitted his patch, http://www.winehq.org/pipermail/wine-patches/2011-May/102594.html
http://bugs.winehq.org/show_bug.cgi?id=27079
Per Johansson per@morth.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |per@morth.org
--- Comment #6 from Per Johansson per@morth.org 2011-06-01 16:05:06 CDT --- *** Bug 27360 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=27079
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spoon0042@hotmail.com
--- Comment #7 from Austin English austinenglish@gmail.com 2011-06-01 18:09:14 CDT --- *** Bug 27062 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=27079
--- Comment #8 from Piotr Pawlow pp@siedziba.pl 2011-06-02 13:39:49 CDT --- I didn't expected my patch to reach wine-patches mailing list as I'm not subscribed, yet somehow it did and it is already commited to the repository (commit bc9407a4524c043f654842b3890df4ee51c014c1). This bug can be closed now. Thank you.
http://bugs.winehq.org/show_bug.cgi?id=27079
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2011-06-02 13:43:38 CDT --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=27079
--- Comment #10 from Austin English austinenglish@gmail.com 2011-06-02 13:57:04 CDT --- (In reply to comment #8)
I didn't expected my patch to reach wine-patches mailing list as I'm not subscribed, yet somehow it did and it is already commited to the repository (commit bc9407a4524c043f654842b3890df4ee51c014c1). This bug can be closed now. Thank you.
Thanks for the patch :).
http://bugs.winehq.org/show_bug.cgi?id=27079
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2011-06-10 13:18:10 CDT --- Closing bugs fixed in 1.3.22.