http://bugs.winehq.org/show_bug.cgi?id=22855
Summary: Prince of Persia: The Sands of Time screen transitions to black Product: Wine Version: 1.2-rc1 Platform: x86 URL: http://www.gamershell.com/download_4925.shtml OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com
Created an attachment (id=28241) --> (http://bugs.winehq.org/attachment.cgi?id=28241) bzipped console output (uncompressed size 1.3 Mbyte)
In the game PoP: SoT, in-game water effects cause the following glitches: the screen turns to black intermittently, as you rotate the camera with the mouse.
How to reproduce the issue in the demo: 1. Start the demo, create a new profile. If you suffer from the 'fog effect' bug, go to options and turn off 'Fog effect', but make sure 'Water effects' are enabled. 2. Start a new game, move your character into the light (skip the video), when your character re-appears switch to first-person view (by pressing 'F') and turn the camera with the mouse >> see the intermittent black-outs.
During gameplay the console is flooded with the following two lines of messages:
err:d3d_shader:shader_glsl_select >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUseProgramObjectARB @ glsl_shader.c / 4718 err:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 757
Workaround: disable in-game water effects or disable pixel shader support in winecfg's Graphics tab.
Fedora 12 x86 Wine-1.2-rc1 Nvidia 7600 GT card with driver 195.36.24
http://bugs.winehq.org/show_bug.cgi?id=22855
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #1 from Alex Balut alexandru.balut@gmail.com 2010-06-06 14:52:33 --- Created an attachment (id=28620) --> (http://bugs.winehq.org/attachment.cgi?id=28620) Prince of Persia The Sands of Time, black screen (appears white when I use a virtual desktop)
For me it happens (with the full version) when I start a new game and I first enter a building, if I look around, sometimes I see black. It doesn't have to be first-person view, it also happens in normal view.
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #2 from Alex Balut alexandru.balut@gmail.com 2010-06-06 14:53:10 --- Created an attachment (id=28621) --> (http://bugs.winehq.org/attachment.cgi?id=28621) Prince of Persia The Sands of Time, partially black screen (bottom half)
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #3 from Alex Balut alexandru.balut@gmail.com 2010-06-06 14:53:59 --- Created an attachment (id=28622) --> (http://bugs.winehq.org/attachment.cgi?id=28622) Prince of Persia The Sands of Time, black screen (top left quarter)
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #4 from GyB gyebro69@gmail.com 2011-05-21 22:55:40 CDT --- Still a problem with wine-1.3.20-230-g456e48e.
Workaround(s): either disable in-game water effects or disable GLSL.
Nvidia GeForce 250 / driver 270.41.06
http://bugs.winehq.org/show_bug.cgi?id=22855
Jonas Maebe jonas.bugzilla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jonas.bugzilla@gmail.com
--- Comment #5 from Jonas Maebe jonas.bugzilla@gmail.com 2011-10-22 16:05:44 CDT --- I can confirm the problem with wine 1.3.17 on Mac OS X 10.6.8 with an NVidia 320m chipset (GOG version of Prince of Persia: The Sands of Time).
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #6 from GyB gyebro69@gmail.com 2011-12-14 13:47:10 CST --- The problem (blackouts in PoP:SoT when water is nearby) has been fixed by http://source.winehq.org/git/wine.git/commit/68e0cd430f2e57e55278acd24221273...
On the other hand, this commit causes incorrect water rendering in several games, including PoP:SoT (reported in bug #29350).
Is this safe to close as fixed or we should wait for the resolution of bug #29350?
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com 2012-01-19 15:12:10 CST --- Created attachment 38452 --> http://bugs.winehq.org/attachment.cgi?id=38452 Hopeful fix
(In reply to comment #6)
The problem (blackouts in PoP:SoT when water is nearby) has been fixed by http://source.winehq.org/git/wine.git/commit/68e0cd430f2e57e55278acd24221273...
On the other hand, this commit causes incorrect water rendering in several games, including PoP:SoT (reported in bug #29350).
Commit 472fed41dd6238f9aead069da1d46f609daf425c (which fixed bug 29350) didn't help here. However something like the attached patch seems to do the trick, hopefully without breaking anything else in the process... Can you give it a try and see if it causes regressions? In particular, please check whether bug 29297 is still okay with this patch.
Thanks :)
http://bugs.winehq.org/show_bug.cgi?id=22855
--- Comment #8 from GyB gyebro69@gmail.com 2012-01-20 08:55:06 CST --- (In reply to comment #7)
Created attachment 38452 [details] Hopeful fix
(In reply to comment #6)
The problem (blackouts in PoP:SoT when water is nearby) has been fixed by http://source.winehq.org/git/wine.git/commit/68e0cd430f2e57e55278acd24221273...
On the other hand, this commit causes incorrect water rendering in several games, including PoP:SoT (reported in bug #29350).
Commit 472fed41dd6238f9aead069da1d46f609daf425c (which fixed bug 29350) didn't help here. However something like the attached patch seems to do the trick, hopefully without breaking anything else in the process... Can you give it a try and see if it causes regressions? In particular, please check whether bug 29297 is still okay with this patch.
Thanks :)
The patch indeed fixes the remaining problem with water rendering in Prince of Persia:Sands of Time. Cold Fear (bug #29297) is still okay with the patch. I keep testing the patch with other games as well.
http://bugs.winehq.org/show_bug.cgi?id=22855
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f69f2aa3478b860096b846d7a57 | |794d2a7cabe78 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from GyB gyebro69@gmail.com 2012-01-24 14:56:40 CST --- Fixed by http://source.winehq.org/git/wine.git/commit/f69f2aa3478b860096b846d7a57794d...
http://bugs.winehq.org/show_bug.cgi?id=22855
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-01-27 14:17:32 CST --- Closing bugs fixed in 1.4-rc1.