http://bugs.winehq.org/show_bug.cgi?id=10477
Summary: Weird graphics with vertex shaders in Soul Reaver 2 Demo Product: Wine Version: 0.9.49. Platform: PC URL: http://www.gamespot.com/pc/action/soulreaver2/download_2 827202.html?om_act=convert&om_clk=files&tag=files;title; 2 OS/Version: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: killertux@suomi24.fi CC: jave27@gmail.com
Since the vertex shader fix patch Soul Reaver 2 Demo graphics looks crappy first two fullscreen splash screens are filled with solid surface also main menu is quite full of this stuff... same problem happens also in the gameplay... Retail version was not tested.
Vertex shader must be enabled to reproduce this(enabled by default)
regression patch: 6a97f2202e91fed286ff6ca254926e5f57ca17c1 wined3d: Fix for vertex shaders.
system: nVidia GeForce 6600 GT binary blob version 100.14.19
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #1 from killertux killertux@suomi24.fi 2007-11-17 06:18:52 --- Created an attachment (id=9211) --> (http://bugs.winehq.org/attachment.cgi?id=9211) Soul Reaver 2 Main menu without Vertex Shader
Screenshot was taken in Wine 0.9.49
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #2 from killertux killertux@suomi24.fi 2007-11-17 06:21:22 --- Created an attachment (id=9212) --> (http://bugs.winehq.org/attachment.cgi?id=9212) Soul Reaver 2 Main menu with Vertex Shader
screenhot taken with Wine 0.9.49 ... and this is the "best" screenhot since gameplay and splash screens it looks even more worse.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #3 from killertux killertux@suomi24.fi 2007-11-17 09:09:54 --- I tried latest Wine from git version 0.9.49-199-ga529ef4 and seems like bug still happens.
http://bugs.winehq.org/show_bug.cgi?id=10477
L. Rahyen mail@science.su changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@science.su
--- Comment #4 from L. Rahyen mail@science.su 2007-11-17 19:08:46 --- I have full version of this game and can confirm this bug. I want to say that this bug makes the game unplayable because in Spectral Realm (this is about 50% of gameplay) you can see only solid colored display and it is of course impossible to play farther because of this (you cannot play if you don't see what you are doing, what is your current health, etc.).
It seems that this is only bug that prevent this game from working properly - everything else works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #5 from Richard Hendrikse een_meel_of_geen_meel@hotmail.com 2007-12-27 07:36:50 --- I have tested the Soul Reaver 2 full version with wine 0.9.51 and can say that this issue does not affect me. I could downgrade and test if it still affected me in *.50 and below, but I'm just gonna assume they did and that it has now been fixed. the same thing goes for the problem I noticed in Civilization 4. http://bugs.winehq.org/show_bug.cgi?id=9845 is probably the same bug, which has also been fixed since *.51 can you confirm it no longer happens, killertux?
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #6 from L. Rahyen mail@science.su 2007-12-27 09:06:28 ---
I have tested the Soul Reaver 2 full version with wine 0.9.51 and can say that this issue does not affect me.
I still have this problem (with NVIDIA GeForce 8) with latest git. What video card and drivers you are using?
By the way, did you tested this problem properly? As I have said this bug only can be seen in Spectral Realm. This is also true for Main Menu: game starts and menu looks normally "at first glance" but after some time (maybe 20-40 seconds) scene behind menu switches to Spectral Realm and I see same problem as on this screenshot: http://bugs.winehq.org/attachment.cgi?id=9212 . To see this problem in-game you must switch to the Spectral Realm.
Normally you will spend about 50% of time in Spectral Realm but in the beginning of the game you start in physical realm so you need to switch to the Spectral Realm yourself (see your Controls on how to do that; alternatively simply find a enemy and wait until he/she kill you - in this case you will be "switched" to the Spectral Realm automatically).
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #7 from Richard Hendrikse een_meel_of_geen_meel@hotmail.com 2008-01-02 14:15:25 --- Ok then.
System: Gentoo-sources 2.6.23-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ GCC: 4.2.2 GFX card: xfx Geforce 7800 GT, x11-drivers/nvidia-drivers-100.14.19 How did I install wine? with emerge: [ebuild R ] app-emulation/wine-0.9.52 USE="X alsa cups esd gecko jpeg lcms ncurses opengl oss xml (-dbus) (-hal) -jack -ldap (-nas) -samba (-scanner)" 0
additional wine registry-settings(some doubtlessly outdated): in hkcu->->->wine->direct3d offscreenrendering: pbuffer - useglsl - pixelshadermode - videomemorysize 256 - vertexshadermode hardware
Seriously, I see no blank textures anywhere, although the textures on the globe in Civilization IV's titlescreen DO appear wrongly aligned. The menu appears as normal, across as many spectral shifts as happen. Ingame, too, no texture whatsoever is missing. I uploaded a screenshot of the room below the pillars of nosgoth, while in the spectral realm. I made doubly certain that both vertex shaders was set to hardware and the pixel shaders were enabled in winecfg. OS was set to winXP. win2000 is not showing any problems, either... did you run "wineprefixcreate" lately?
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #8 from L. Rahyen mail@science.su 2008-01-03 00:21:56 ---
additional wine registry-settings(some doubtlessly outdated)
I tried exactly same setting as yours in clean WINE prefix - no luck. I tried a lot of other combinations of Direct3D registry keys (including all 6 possible combinations of gdi/opengl renderer, fbo/backbuffer/pbuffer) - exactly same result, like in this screenshot: http://bugs.winehq.org/attachment.cgi?id=9212 .
did you run "wineprefixcreate" lately?
I always test in clean WINE prefix and with latest git.
I uploaded a screenshot of the room below the pillars of nosgoth, while in the spectral realm.
You probably forgot to upload it.
GFX card: xfx Geforce 7800 GT, x11-drivers/nvidia-drivers-100.14.19
I have tried this version of driver - same result. However, I have GeForce 8. And original reporter of this bug have GeForce 6 (with same driver version).
* * *
Unfortunately, I have no idea why you havn't this bug and I have. It would be great if other people will test this bug (for example, maybe only GeForce 6 and 8 are affected and GeForce 7 is not; or maybe something else is causing the problem).
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #9 from Richard Hendrikse een_meel_of_geen_meel@hotmail.com 2008-01-04 13:00:37 --- Created an attachment (id=10031) --> (http://bugs.winehq.org/attachment.cgi?id=10031) Same screenshot as uploaded to appdb. it has yet to appear.
Well, I uploaded the screenshot to appdb, so it needs to be approved first. oh well, iac, here it is, too.
I have just attempted playing Soul Reaver 2 on wine 0.9.49 using a _fresh_ .wine directory and here, too, no missing textures are apparent. Did you build wine yourself with which built-in support?
enabled support you can read in my previous post. CFLAGS/CXXFLAGS setting: CFLAGS="-march=athlon64 -O2 -pipe -msse3" Are you using the same GCC (major) version? (4.2(.2)) I cant find any specific things i did in my xorg.conf, either... Although i do see Option "RenderAccel" "true" in the device section of my card. Finally, did you check by using the release-versions of wine? I'm kinda puzzled, too, by why it doesn't work on your pc...
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #10 from L. Rahyen mail@science.su 2008-01-04 22:56:27 ---
Are you using the same GCC (major) version? (4.2(.2))
I have tried to build WINE from scratch with gcc 4.1.3 or 4.2.3 - no difference.
Did you build wine yourself with which built-in support?
Usually I build WINE myself.
Finally, did you check by using the release-versions of wine?
I tried to use precompiled WINE 0.9.52 - no luck.
It would be really great if this bug will be tested on GeForce 6, 7, 8 and ATI cards by other users. This will help to find out when it happens.
So far I tested on Debian Etch and Debian Lenny with GeForce 8 with NVIDIA driver 100.14.19 or 169.07 (with different WINE versions and different combinations of Direct3D settings in the registry) - and the bug was always reproducible.
On next week I will try to test this bug on PCs with GeForce 4 and GeForce 7.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #11 from Richard Hendrikse een_meel_of_geen_meel@hotmail.com 2008-01-16 09:33:40 --- I proceeded to test this on my pc downstairs and it 'just works' there, too. Although there are issues with the sound repeating (stutter) a bit, I had no issue with missing textures anywhere.
System configuration: Kernel: 2.6.22-gentoo-r8 ~x86 // AMD Athlon(TM) XP 2200+ AuthenticAMD GNU/Linux [ebuild R ] sys-devel/gcc-4.2.2 x11-drivers/nvidia-drivers-1.0.9639 (outdated)
From lspci:
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50) 01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1)
Also wine version 0.9.52, home-compiled.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #12 from L. Rahyen mail@science.su 2008-01-26 07:09:33 --- I have tested on my other computer with GeForce 7. I have tried a lot of combinations of some registry options related to DirectX (including, of course, default configuration) - no luck.
I didn't test with GeForce 4 yet (because computer with this videocard currently lacks hard drive). But both GeForce 7 and 8 give me exactly the same buggy behavior in Spectral Realm.
I proceeded to test this on my pc downstairs and it 'just works' there, too.
Can you try this:
mv ~/.wine{,.backup} wineprefixcreate #(install and launch the game)
In other words, does it work well for you in Spectral Realm with clean WINE, without any change in configuration?
BTW, what version of SR2 do you have? My version of the game is 1.00.
http://bugs.winehq.org/show_bug.cgi?id=10477
Benjamin Debski benjamin.debski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |benjamin.debski@gmail.com
--- Comment #13 from Benjamin Debski benjamin.debski@gmail.com 2008-05-18 05:29:11 --- I can partially replicate this bug. With the vertex shader set to hardware the screen goes black and their is no menu music. With the vertex shader set to none the games runs fine no problems.
System: Arch Linux 2.6.24 i686 CPU Intel e6400 GeForce 6800 Nvidia driver 100.14.19
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #14 from Austin English austinenglish@gmail.com 2008-12-06 18:48:53 --- Still present in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=10477
zato.two@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zato.two@gmail.com
--- Comment #15 from zato.two@gmail.com 2010-01-18 19:36:19 --- Still present in 1.1.32.
http://bugs.winehq.org/show_bug.cgi?id=10477
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #16 from GyB gyebro69@gmail.com 2010-07-13 02:38:48 --- The issue exists for me, too, but only with the original version of the game (v1.0) Neither the patched retail (v1.2) nor the downloadable demo (also v1.2) shows the reported corruption in the game.
Nvidia 7600 series card / driver 195.36.31 Wine-1.2-rc7 (clean install with default config)
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #17 from Henri Verbeet hverbeet@gmail.com 2010-09-03 08:49:27 CDT --- Created an attachment (id=30529) --> (http://bugs.winehq.org/attachment.cgi?id=30529) patch
This should help. Needs tests obviously, but makes sense to me.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #18 from GyB gyebro69@gmail.com 2010-09-04 05:05:10 CDT --- Your patch, applied on Wine-1.3.2 didn't fix the issue. The screen is still filled with that violet/brownish solid color for me. Additionally, when I switch to the map, the whole screen is black with the patch applied. The 1.02 version of the game is not affected.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #19 from Henri Verbeet hverbeet@gmail.com 2010-09-04 05:30:39 CDT --- Odd, I'm seeing the issue in the demo, and that patch fixes it there. Unfortunately I don't have the full game. Could you perhaps create a "+d3d8,+d3d,+d3d_shader" log, with the patch attached?
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #20 from GyB gyebro69@gmail.com 2010-09-04 06:08:27 CDT --- Created an attachment (id=30544) --> (http://bugs.winehq.org/attachment.cgi?id=30544) +d3d8,+d3d,+d3d_shader log (uncompressed 160 MB)
The log was created by starting the game and getting to the main menu (the issue can be observed in the menu, too). I didn't start a new game because there's quite a long and unskippable intro and the generated logfile would grow much larger.
Nvidia 7600 / driver 256.53
http://bugs.winehq.org/show_bug.cgi?id=10477
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #21 from joaopa jeremielapuree@yahoo.fr 2011-07-08 03:33:17 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #22 from joaopa jeremielapuree@yahoo.fr 2011-07-08 03:36:20 CDT --- With this link, you don't have to sign in to download the demo:
http://www.jeuxvideo.com/telecharger/jeux-et-demos/00003555-soul-reaver-2-pc...
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #23 from GyB gyebro69@gmail.com 2011-07-08 10:47:20 CDT --- (In reply to comment #22)
With this link, you don't have to sign in to download the demo:
http://www.jeuxvideo.com/telecharger/jeux-et-demos/00003555-soul-reaver-2-pc...
I can reproduce the problem with the linked demo, so it can be used for testing.
To reproduce the issue in the demo: 1) Install the demo as usual. 2) Launch it by sr2.exe. While still in the main menu wait for about 10-15 seconds: the screen turns to solid purple (hard to see anything).
Disabling vertex shaders works around the problem.
wine-1.3.23-318-g1a74194 Nvidia GeForce 250 / driver 275.09.07
http://bugs.winehq.org/show_bug.cgi?id=10477
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6a97f2202e91fed286ff6ca2549 | |26e5f57ca17c1
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #24 from joaopa jeremielapuree@yahoo.fr 2011-12-28 10:29:05 CST --- Bug still there: nvidia 760go, driver 290.10, wine-1.3.35-168-g5b93bb9
http://bugs.winehq.org/show_bug.cgi?id=10477
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #25 from Matteo Bruni matteo.mystral@gmail.com 2012-02-06 13:39:56 CST --- I've spent quite some time on this bug and I guess I found something interesting...
The 1.00 demo which was last linked here, with current video drivers, is broken on Windows too (both on Nvidia and AMD). The 1.02 demo version (which can be downloaded e.g. from http://games.softpedia.com/get/Games-Demo/Legacy-of-Kain-Soul-Reaver-2.shtml, beware it's about 650MB big) works fine on Windows AND on Wine instead. The patch notes cite "Fix for ATI Radeon 8500. Almost the entire screen used to be a single color" among the issues fixed by the update (http://www.fileplanet.com/81971/80000/fileinfo/Soul-Reaver-2-Patch-v1.02). My current hypothesis is that Nvidia, at some point, changed the fog behavior in their drivers to match ATI/AMD, specifically about what happens when the fog factor is outside of the 0.0-1.0 range, thus becoming affected by the same issue as the Radeon 8500.
So, I'd say this is not really a Wine bug and Wine behaves as it should. The only thing which needs to be fixed, in accordance with some tests I've done, is that the fog coordinate set from a vertex shader needs to be clamped. "Fixing" that makes the 1.00 demo constantly fogged: so it clearly doesn't help the demo, but it makes Wine accurately match fogging as for current Nvidia/AMD Windows drivers.
BTW, the fog in Prince of Persia: the Sands of Time is broken with current Nvidia drivers (Windows and Wine), but faking an AMD GPU on Wine makes the game use a different fog setup which works correctly. I guess that may be the same basic issue.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #26 from joaopa jeremielapuree@yahoo.fr 2012-02-18 20:28:55 CST --- So, this bug is INVALID, right?
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #27 from Benjamin Debski benjamin.debski@gmail.com 2012-02-19 01:12:48 CST --- I can confirm that the 1.00 demo runs under Windows XP with the same menu bug.
http://bugs.winehq.org/show_bug.cgi?id=10477
--- Comment #28 from joaopa jeremielapuree@yahoo.fr 2012-02-19 01:25:07 CST --- INVALID, then.
http://bugs.winehq.org/show_bug.cgi?id=10477
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #29 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-02-19 09:53:34 CST --- Game bug - invalid.
http://bugs.winehq.org/show_bug.cgi?id=10477
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |adys.wh@gmail.com
--- Comment #30 from Jerome Leclanche adys.wh@gmail.com 2012-02-19 10:12:41 CST --- Closing