http://bugs.winehq.org/show_bug.cgi?id=14034
Summary: Max Payne 2: mirror reflections not working correctly Product: Wine Version: 1.0.0 Platform: PC-x86-64 URL: http://www.rockstargames.com/maxpayne2/mp2_downloads.htm l OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net CC: alexd4@inbox.lv
Created an attachment (id=14244) --> (http://bugs.winehq.org/attachment.cgi?id=14244) max payne 2: mirror reflection bug (total black)
Hi there,
another Max Payne 2 problem, again also present in the demo (see URL).
When playing the first level of the demo (or the game) you have a lot of mirrors. For me reflections on the mirrors don't work correctly.
It wouldn't say they don't work at all, because there is something displayed in the mirror, but it's mostly black. My changing the viewing position and angle you actually can get something non-black on the mirror. See the screenshots for more details.
Also see this bug: http://bugs.winehq.org/show_bug.cgi?id=14031
I'm not sure how much these are connected, maybe they've no connection at all.
Hardware is nvidia Geforce FX 5900.
For a logfile you can see the linked bug from above. I can generate more logging material if necessary :-)
Again adding Alexander ;-)
Greets, Tobias
(...attaching screenshots...)
http://bugs.winehq.org/show_bug.cgi?id=14034
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jb.faq@gmx.de Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #1 from Tobias Jakobi liquid.acid@gmx.net 2008-06-21 07:47:19 --- Created an attachment (id=14245) --> (http://bugs.winehq.org/attachment.cgi?id=14245) max payne 2: mirror reflection bug (something visible)
notice that now something else than black is visible in the mirror, it could be the reflection but it's kinda static and doesn't change when the player moves.
with static I mean that the image which is displayed inside the mirror isn't changed, it just moves around as the viewing position changes
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-06-21 07:49:09 --- Created an attachment (id=14246) --> (http://bugs.winehq.org/attachment.cgi?id=14246) max payne 2: mirror reflection bug (two images)
after changing the viewing angle even more you can see that there are TWO images displayed inside the mirror, both are overlapping somehow
The bottom one also "extends" further to the bottom, I still have to create a screenshot to illustrate this
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #3 from Jan Buecken jb.faq@gmx.de 2008-06-22 08:09:34 --- Don't have the problem with ati mobility radeon hd 2600 and ati-drivers 8.501
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #4 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 09:59:53 --- However Jan has the same performance issues with mirrors like me.
Disabling mirrors completly in the options menu gives us both a huge performance boost, especially in front of the warehouse (it's raining and the entire floor is reflecting the environment).
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #5 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 16:17:46 --- Summary (for my Geforce FX 5900 system):
abbrev.: PPE (post processing effects) ORM (offscreen rendering mode)
Mirrors=ON, PPE=OFF, ORM=backbuffer: "kinda" works, performance bad
Mirrors=ON, PPE=MEDIUM, ORM=backbuffer: "kinda" works, performance bad
Mirrors=ON, PPE=HIGH, ORM=backbuffer: As described in the original bugreport -> this doesn't work at all
Mirrors=ON, PPE=OFF; ORM=fbo: Works from all angles, performance again bad
Mirrors=ON, PPE=MEDIUM, ORM=fbo: Works from all angles, perf bad
Mirrors=ON, PPE=HIGH, ORM=fbo: Not working at all, when mirror object is in screen repeated fixme messages appear: fixme:d3d:transform_texture Non-power2 texture being used with generated texture coords
What means: "kinda" works: mirror not working correctly from ALL angles When then viewing angle is very steep not all the scene is mirrored, some parts are simply black (attaching a screenshot to demonstrate that).
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #6 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 16:30:45 --- Created an attachment (id=14362) --> (http://bugs.winehq.org/attachment.cgi?id=14362) mirror effect is partially working (black area)
this is Mirrors=ON, PPE=OFF, ORM=backbuffer
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #7 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 16:34:39 --- Additional info:
fixme:d3d:transform_texture Non-power2 texture being used with generated texture coords
This also appears in high-mode when ORM is set to backbuffer, not only if ORM is set to fbo.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #8 from Tobias Jakobi liquid.acid@gmx.net 2008-06-25 16:36:36 --- Forgot: Note that the fixme message only appears when a mirror object comes into view. Message emission stops when mirror is out of the viewport.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #9 from Tobias Jakobi liquid.acid@gmx.net 2008-07-17 15:17:42 --- fixme:d3d:transform_texture Non-power2 texture being used with generated texture coords
This message doesn't appear anymore with the "critical" settings and wine-0.9.56, so also a regression (or maybe the fixme message was inserted somewhere between wine-0.9.56 and wine-1.0.0 ?)
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #10 from Tobias Jakobi liquid.acid@gmx.net 2008-07-31 12:46:58 --- Update:
The mirror issues with ORM=backbuffer (mirror not working from all angles, black bars are visible inside the mirror) is directly tied to bug #14686.
As soon as an ingame resolution with a POT component is selected the black bars disappears and the mirrors work/look like they should.
Seems like that the scene image displayed in the mirror is suffering from the same cropping issue.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #11 from Tobias Jakobi liquid.acid@gmx.net 2008-10-07 15:46:39 --- Status with wine git master:
ORM=fbo, PPE=medium: Mirrors work, performance bad ORM=fbo, PPE=high: Mirrors NOT working (either black image, or not updated correctly)
res=800x800, ORM=backbuffer, PPE=medium: Mirrors work but have black bars "inside", performance bad res=800x800, ORM=backbuffer, PPE=high: not working (see fbo, and previous reports)
res=1024x768, ORM=backbuffer, PPE=medium: Mirrors work, performance bad res=1024x768, ORM=backbuffer, PPE=high: not working (see fbo, and previous reports)
So this issue still is there, nothing really changed.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #12 from Tobias Jakobi liquid.acid@gmx.net 2009-01-24 18:34:52 --- Reconfirming with wine-1.1.13
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #13 from Tobias Jakobi liquid.acid@gmx.net 2009-04-26 09:09:53 --- Reconfirming with wine-1.1.20
Still getting these FIXMEs fixme:d3d:transform_texture Non-power2 texture being used with generated texture coords
with ORM=fbo, ingame mirrors enabled and PPE=high.
http://bugs.winehq.org/show_bug.cgi?id=14034
James Huk Huk@wine.x.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Huk@wine.x.pl
--- Comment #14 from James Huk Huk@wine.x.pl 2010-06-27 07:36:12 --- For me graphics works perfect - mirrors are OK, other glitches related to pixel shader skins are gone also. Maybe this bug is card/driver related?
Tested with wine-1.2-rc5, GeForce 9100M with beta drivers 256.25
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #15 from Tobias Jakobi liquid.acid@gmx.net 2010-09-05 09:51:31 CDT --- Still having issues with mirrors: The level geometry is displayed fine, but the character is missing - hmm...
Tested with wine-1.3.1
http://bugs.winehq.org/show_bug.cgi?id=14034
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #16 from Wylda wylda@volny.cz 2010-09-06 17:37:33 CDT ---
I don't have such problem - mirrors work perfectly here. Tested under: * nVidia GT240 v195.36.31 * wine-1.3.2-39-g7f30ae6 * Max Payne 2 v1.01 and Max Payne 2 Demo * resolution 1920x1200x32
http://bugs.winehq.org/show_bug.cgi?id=14034
GreekRockNRolla tony67@windowslive.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tony67@windowslive.com
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #17 from GreekRockNRolla tony67@windowslive.com 2010-12-31 14:32:42 CST --- I don't have such problem either- mirrors work perfectly wine 1.3.10 ,ati catalyst 10.12
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #18 from Tobias Jakobi liquid.acid@gmx.net 2011-01-01 13:04:58 CST --- Still experiencing this issue: wine-1.3.10 Intel Corporation Arrandale Integrated Graphics Controller mesa git master + libdrm git master + xf86-video-intel master xorg-server-1.9.2.902
Engine config preset is 'High'.
I noticed that disabling the usage of 'Pixel Shader Skins' solves the issue. When this option is enabled the mirrors don't work properly (only a 'stripe' portion of Max is rendered in the mirror and some blueish artifacts appear on the Max's 'skin').
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #19 from Tobias Jakobi liquid.acid@gmx.net 2011-01-09 07:57:10 CST --- I noticed that the 'blueish artifacts on skin' issue also appears in FEAR. There the player model is affected.
Anyway, disabling GLSL support in wine also fixes the problem, so I guess it's a problem with the GLSL shader code that wine generates.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #20 from Tobias Jakobi liquid.acid@gmx.net 2011-01-09 08:21:25 CST --- Created an attachment (id=32783) --> (http://bugs.winehq.org/attachment.cgi?id=32783) FEAR sprite errors
I know this bug is about MP2, but this seems to be related: I get these sprite rendering errors in FEAR (muzzle flash and other effects are also affected), which also go away when disabling GLSL. Not so visible in this screenshot is the blueish halo-like effect which happens on the player model. This is more apparent when you see the game in motion.
http://bugs.winehq.org/show_bug.cgi?id=14034
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #21 from joaopa jeremielapuree@yahoo.fr 2011-07-18 04:06:36 CDT --- ATI and Nvidia users report that the bug does not appear. It is only for MESA driver users. So-> driver bug.
This bug could be closed as INVALID
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #22 from Henri Verbeet hverbeet@gmail.com 2011-07-18 05:34:13 CDT --- (In reply to comment #21)
ATI and Nvidia users report that the bug does not appear. It is only for MESA driver users. So-> driver bug.
It doesn't work like that.
http://bugs.winehq.org/show_bug.cgi?id=14034
Vanack Sabbadium cyclops@fastwebnet.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cyclops@fastwebnet.it
--- Comment #23 from Vanack Sabbadium cyclops@fastwebnet.it 2012-06-03 04:25:17 CDT --- I cannot reproduce the bug. Mirrors reflect perfectly for me.
Wine 1.5.5, NVIDIA 295.53 official drivers, Ubuntu 12.04.
http://bugs.winehq.org/show_bug.cgi?id=14034
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com 2013-06-22 15:48:24 CDT --- The game crashes for me using an intel board, can anyone with nvidia/ati retest in wine 1.6-rc3? Otherwise I'll close this as fixed according to comment 23.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #25 from Vanack Sabbadium ubuntugamingproject@gmail.com 2013-07-16 16:07:34 CDT --- (In reply to comment #24)
The game crashes for me using an intel board, can anyone with nvidia/ati retest in wine 1.6-rc3? Otherwise I'll close this as fixed according to comment 23.
The game and the mirrors work absolutely perfect. You can close this bug!
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #26 from Bruno Jesus 00cpxxx@gmail.com 2013-07-16 20:18:49 CDT --- I can confirm the issue in wine 1.6-rc5 with intel drivers and mesa 9.1.4. The mirror looks like comment 2 attachment.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #27 from Vanack Sabbadium ubuntugamingproject@gmail.com 2013-07-17 03:16:15 CDT --- (In reply to comment #26)
I can confirm the issue in wine 1.6-rc5 with intel drivers and mesa 9.1.4. The mirror looks like comment 2 attachment.
Oh well, i forgot to mention that i use the latest nvidia proprietary drivers and wine 1.6-rc5.
http://bugs.winehq.org/show_bug.cgi?id=14034
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #28 from Andrey Gusev andrey.goosev@gmail.com 2013-09-04 09:01:53 CDT --- Played a demo with max settings, any issues with mirrors are absent. (for me perhaps) Wine 1.7.1 and Nvidia 325.15
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #29 from Bruno Jesus 00cpxxx@gmail.com 2013-09-14 11:37:13 CDT --- Still for me in wine 1.7.2.
http://bugs.winehq.org/show_bug.cgi?id=14034
zippy gohabsgo60@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gohabsgo60@yahoo.ca
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #30 from zippy gohabsgo60@yahoo.ca 2013-11-30 08:34:18 CST --- works for me in 1.7.6
tested with nouveau (mesa 9.2.1) and nvidia 319.32
http://bugs.winehq.org/show_bug.cgi?id=14034
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #31 from Bruno Jesus 00cpxxx@gmail.com 2013-11-30 09:14:51 CST --- (In reply to comment #30)
works for me in 1.7.6
tested with nouveau (mesa 9.2.1) and nvidia 319.32
Yes, works for me too in wine 1.7.7. Resolving fixed as tested by 2 different people.
http://bugs.winehq.org/show_bug.cgi?id=14034
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2013-12-06 13:44:24 CST --- Closing bugs fixed in 1.7.8.
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #33 from Alexander Dorofeyev alexd4@inbox.lv --- AFAIK This bug would normally only be reproducible on hardware that lacks good NPOW texture support. IIRC the graphics driver must either be lacking GL_ARB_texture_non_power_of_two and GL_ARB_texture_rectangle features, or Wine must be hacked to pretend both these features are not present.
Because some of the recent reports come from people with new hardware, and the new cards probably all support these extensions, I suspect most simply didn't hit the codepath that doesn't work.
Bruno Jesus, what's the output of glxinfo | egrep -oi 'GL_ARB_texture_rectangle|GL_ARB_texture_non_power_of_two' ?
http://bugs.winehq.org/show_bug.cgi?id=14034
--- Comment #34 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 47077 --> http://bugs.winehq.org/attachment.cgi?id=47077 full glxinfo output
(In reply to comment #33)
Bruno Jesus, what's the output of glxinfo | egrep -oi 'GL_ARB_texture_rectangle|GL_ARB_texture_non_power_of_two' ?
$ glxinfo | egrep -oi 'GL_ARB_texture_rectangle|GL_ARB_texture_non_power_of_two' GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle