http://bugs.winehq.org/show_bug.cgi?id=9458
Summary: regression: Max Payne 2 demo: areas redrawn as light blue or transparent Product: Wine Version: CVS/GIT Platform: PC URL: http://www.rockstargames.com/maxpayne2/downloads/MaxPayn e2DemoSetup.exe OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: neftune@gmail.com CC: stefandoesinger@gmx.at
Created an attachment (id=7792) --> (http://bugs.winehq.org/attachment.cgi?id=7792) Screenshot before the commit
Areas are redrawn as either light blue or transparent in the Max Payne 2 demo. git bisect says:
078523f73e7b708dab06e888c24a1595bb5a63d8 is first bad commit commit 078523f73e7b708dab06e888c24a1595bb5a63d8 Author: Stefan Dösinger stefandoesinger@gmx.at Date: Thu Jun 14 11:18:03 2007 +0200
wined3d: Present does not clear the depth stencil.
:040000 040000 81558b3157da6386c88704dc87c4ff492779eeff 7ef9b91372f0382feeaac98f8a17b2f4df59ce6a M dlls
link: http://source.winehq.org/git/wine.git/?a=commitdiff;h=078523f73e7b708dab06e8...
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #1 from Alexander Winston neftune@gmail.com 2007-08-25 16:02:30 --- Created an attachment (id=7793) --> (http://bugs.winehq.org/attachment.cgi?id=7793) Screenshot after the commit
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #2 from Alexander Winston neftune@gmail.com 2007-08-25 16:03:35 --- Created an attachment (id=7794) --> (http://bugs.winehq.org/attachment.cgi?id=7794) Screenshot showing bug still present in 0.9.44
http://bugs.winehq.org/show_bug.cgi?id=9458
Alexander Winston neftune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
http://bugs.winehq.org/show_bug.cgi?id=9458
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|regression: Max Payne 2 |Max Payne 2 demo: areas |demo: areas redrawn as light|redrawn as light blue or |blue or transparent |transparent
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2007-08-26 13:15:18 --- For what it's worth, this patch causes similar problems in the demo part of 3DMark03. What I'm not sure about is if the patch itself is flawed, or if it exposes a bug somewhere else.
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #4 from Austin English austinenglish@gmail.com 2007-08-26 13:49:56 --- What video card/drivers. It works fine here on an nvidia 5200 with nvidia 1:1.0.9631+2.6.22.2-9.7 drivers, wine 0.9.43, kubuntu gusty.
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #5 from Alexander Winston neftune@gmail.com 2007-08-26 18:05:46 --- I see this on Ubuntu 6.06 LTS with a GeForce4 Ti 4200. My nvidia-glx package version is 1.0.8762+2.6.15.11-1
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #6 from Alexander Winston neftune@gmail.com 2007-08-27 13:34:14 --- Created an attachment (id=7837) --> (http://bugs.winehq.org/attachment.cgi?id=7837) Screenshot from 0.9.44 showing full extent of the bug (game is unplayable)
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #7 from Stefan Dösinger stefandoesinger@gmx.at 2007-08-27 14:18:16 --- What offscreen rendering method do you use?
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #8 from Alexander Winston neftune@gmail.com 2007-08-27 14:29:39 --- I haven't touched the registry, so I'm using whatever is the default.
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #9 from Stefan Dösinger stefandoesinger@gmx.at 2007-08-27 14:37:50 --- Max Payne 1 depends heavilly on correct function of the depth stencil buffer for offscreen rendering. Only the fbo offscreen rendering method can do that(but it is not complete yet). I am tempted to say that this bug is caused by the incorrect sharing of the depth stencil buffer between render targets that is inherent to the aux buffer offscreen rendering method.
Propably the game uses a separate depth stencil buffer with the offscreen target. When it activates it the offscreen depth stencil is cleared, but the onscreen is not. The default offscreen rendering method uses the default depth stencil upside down and without size handling. Before my patch the main depth stencil was cleared, so the game was happy, but now it contains things the game doesn't expect.
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #10 from Alexander Winston neftune@gmail.com 2007-08-29 17:44:17 --- I booted into an Ubuntu 7.04 CD and tried the demo with wine-0.9.44 and nvidia-glx package version 1:1.0.9631+2.6.20.5-15.20 and I couldn't reproduce the problem.
http://bugs.winehq.org/show_bug.cgi?id=9458
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2007-09-13 17:59:32 --- (In reply to comment #9)
Max Payne 1 depends heavilly on correct function of the depth stencil buffer for offscreen rendering.
I'm sorry, I mixed up two games here: Splinter cell is the game that depends on correct depth stencil behavior with offscreen surfaces, not Max Payne. So please ignore my comment, it is propably not relevant here.
http://bugs.winehq.org/show_bug.cgi?id=9458
Jeff Zaroyko jeffzaroyko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffzaroyko@gmail.com
--- Comment #12 from Jeff Zaroyko jeffzaroyko@gmail.com 2008-01-09 06:35:51 --- Tested wine-0.9.52, Ubuntu 7.10, nVidia FX 5200
Can't see any evidence of this bug in the retail version, I downloaded the demo to double check as that's what the bug report is on, seems to work fine, very playable.
http://bugs.winehq.org/show_bug.cgi?id=9458
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #13 from Austin English austinenglish@gmail.com 2008-01-09 10:32:16 --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=9458
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Dan Kegel dank@kegel.com 2008-01-28 06:13:55 --- Closing all RESOLVED FIXED bugs older than 0.9.54.
http://bugs.winehq.org/show_bug.cgi?id=9458
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified