http://bugs.winehq.org/show_bug.cgi?id=14686
Summary: Max Payne 2: FB effect issues with backbuffer ORM Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net CC: onety-three@gmx.net
Hi there,
opening a separate bug for the issues described in bug #14038.
The problem currently only seems to appear with GeforceFX 5xxx cards (series 5). Multiple driver versions were tested, without success.
The issue: When the OffscreenRenderingMode is backbuffer and postprocessing effects are enabled in the ingame config menu of MP2 there are visual errors/slowdown effects.
There are two options (three when you also count OFF) for PP effect: (i) medium -> leads to visual errors (ii) high -> leads to really BAD performance
What is BAD performance for me: Rendering a frame every 5 seconds, making the game essentially unplayable.
PP effects are used in multiple ways in MP2, two examples: (i) bullettime mode, which is essential for the gameplay (ii) ingame cutscenes
Describing now how bullettime mode should look like correctly: It's a sepia tone filter that applies to the entire screen.
Describing now the visual errors with PPE (postprocessing effects) set to medium: The sepia filter is applied, but the screen is cropped. For a screenshot illustrating this problem see http://bugs.winehq.org/attachment.cgi?id=14361 (attached in bug #14038).
Cropping is either done by a black bar on the right of the screen, or from the bottom. It never happens from the left or from the top.
The cropping issue is related to the ingame resolution that's selected from the MP2 options: (1) 640x480: screen is cropped, black bar at the bottom (2) 800x600: screen is cropped, black bar at the right (3) 1024x768: screen is NOT cropped (4) 1152x864: screen is cropped, black bar at the bottom (5) 1280x1024: screen is NOT cropped
Notice that the cropping issue does NOT appear when one of the height/width parameters of the resolution has POT (power-of-two) dimensions. All resolutions that are cropped have both dimensions NPOT.
I still have to take a look if enabling/disabling GLSL changes anything here. I think I currently have it turned OFF globally.
Greets, Tobias
PS: Adding Frank Roscher since he did verify the issue on his NVFX card.