http://bugs.winehq.org/show_bug.cgi?id=11354
Summary: Complex Shader Distance Error - EverQuest2. 0.9.54 and < Product: Wine Version: 0.9.54. Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: zirous@gmail.com
Textures on EverQuest2 are normal when shader distance are not turned on. With shader distance turned on their is a few issues.
First Issue is a clipping issue I believe. When shader distance are turned on and when you move your character you can see a translucent reflection of you. The reflection will be the spot you were at previously. Now when you enable bloom this graphic error does not happen anymore. Their is a error with this work around. With some zones with bloom enabled the whole screen will turn white.
This is with no bloom. http://i29.photobucket.com/albums/c293/suprscotte/NoBloom.png
This is with bloom. http://i29.photobucket.com/albums/c293/suprscotte/Bloom.png
Second Issue is some textures with shader distance enabled reflect the surroundings. It does not have the shadowing effect like above where you have to move to see the error with the complex shader distance. If complex shader distance turned of this texture glitch does not happen anymore. Also, I found out a way to fix this graphic glitch. If you minimize the window and then resize the window this graphic issue will not happen until the game is rebooted.
No Shader Distance. http://i29.photobucket.com/albums/c293/suprscotte/NoShad.png
With Shader Distance. http://i29.photobucket.com/albums/c293/suprscotte/ShadError.png
With the fix and Shader Distance Enabled to Max. Stays Fixed until restart. http://i29.photobucket.com/albums/c293/suprscotte/TheFIx.png
Would love to see these fixed because these are the only errors with Everquest2.
http://bugs.winehq.org/show_bug.cgi?id=11354
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial Platform|All |Other Summary|Complex Shader Distance |Complex Shader Distance |Error - EverQuest2. 0.9.54 |Error - EverQuest2. |and < |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-01-26 17:16:45 --- Set your platform properly! It would also help to state what hardware you have and what drivers.
What did you want to say about Wine version? That it worked before? If so the state that clearly!
http://bugs.winehq.org/show_bug.cgi?id=11354
Mike zirous@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |PC-x86-64
--- Comment #2 from Mike zirous@gmail.com 2008-01-26 17:37:54 --- Sorry, I have a Intel Quad Core with a 8600 GTS. I am using Ubuntu x86-64, with the latest Nvidia drivers 169.09. The problems here are not only based off of my computer. Everyone else using EverQuest2 also is having the problem, and no one has filed a bug report so I decided too.
I have also tested this on my Athlon64 x2, with a 8600 GTS. I used Ubuntu x86, and x86-64, with the latest Nvidia drivers.
Sorry about not setting everything right.
This bug has been know since wine .49. So everything less then or equal to wine .54 has the glitches.
http://bugs.winehq.org/show_bug.cgi?id=11354
Quarky quark9@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |quark9@gmx.net
--- Comment #3 from Quarky quark9@gmx.net 2008-02-27 03:59:18 --- Hi, The reflection error can be fixed by opening the graphic options and change the "lightning quality". After a short stutter to errors are gone till the next start of the game. Seems like a missing or wrong initial API/DX setup.
With version 0.9.55 and 0.9.56 this workaround does not work anymore :( Changing the ligthning quality crashes wine and EQ2.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #4 from Quarky quark9@gmx.net 2008-02-28 11:28:59 --- Created an attachment (id=11025) --> (http://bugs.winehq.org/attachment.cgi?id=11025) Error stacktrace
Hi, ouput of regression since 0.9.55, if you change to Lighting quality to temporary fix the reflections bugs on several walls and trees.
http://bugs.winehq.org/show_bug.cgi?id=11354
Brian Crosby mortis42@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Brian Crosby mortis42@gmail.com 2008-04-28 12:36:05 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #6 from Austin English austinenglish@gmail.com 2008-10-30 02:14:26 --- Is this still an issue in current (1.1.7 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #7 from Stefan Reimer it@stefanreimer.de 2008-10-30 03:51:23 --- Hi, yes this bug still exists.
The issue with tiling and reflection of textures is always there in certain parts of the game. The workaround, min / max the game window, corrects the problem until restart of the game.
http://bugs.winehq.org/show_bug.cgi?id=11354
John Beaulieu john.beaulieu@comcast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |john.beaulieu@comcast.net
--- Comment #8 from John Beaulieu john.beaulieu@comcast.net 2008-12-06 08:23:56 --- This really shouldn't be rated as trivial, the only current work around is to use settings that require a fairly new video card to keep from dropping the games fps to a crawl.
http://bugs.winehq.org/show_bug.cgi?id=11354
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|trivial |minor
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #9 from John Beaulieu john.beaulieu@comcast.net 2008-12-16 00:24:20 --- Has there been any progress on this bug? It is an old one that has been present across multiple versions of wine.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #10 from John Beaulieu john.beaulieu@comcast.net 2009-03-17 06:14:41 --- The severity of this bug should be at least normal, complex shader distance drastically affects game playability and quality. Right now it has to be turned off to even work.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #11 from Austin English austinenglish@gmail.com 2009-09-15 15:31:58 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11354
DJ Dunn djdunn.safety@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djdunn.safety@gmail.com
--- Comment #12 from DJ Dunn djdunn.safety@gmail.com 2009-09-15 16:04:45 --- yes its still an issue
one thing tho im not sure what exactly this means but eq2 dev team has been talking about upgrading all the shaders in the engine from 1.0 as they are now to shaders 3.0
I believe this is going to happen very soon within a few months if not weeks.
is that going to make any difference according to this bug?
http://bugs.winehq.org/show_bug.cgi?id=11354
Colin Wetherbee cww@denterprises.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cww@denterprises.org
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #13 from Austin English austinenglish@gmail.com 2010-04-30 17:11:09 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.43 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=11354
Joni L-H jonilh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jonilh@gmail.com
--- Comment #14 from Joni L-H jonilh@gmail.com 2010-05-01 02:45:46 --- WINE 1.1.18 is the latest version of wine that runs EQ2 without directly (or in some versions eventualy) crashing. WINE 1.1.43 is a version that for me crash instantly when login in a character. Someone else has evedently gotten the game to start in WINE 1.1.43 but reports that the complex shader bug still excist.
iow. this bug is still an issue.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #15 from Colin Wetherbee cww@denterprises.org 2010-07-10 03:13:25 --- This bug is fixed in wine-1.2-rc7 (and everything after 1.1.43 or 1.1.44, I believe).
http://bugs.winehq.org/show_bug.cgi?id=11354
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #16 from Austin English austinenglish@gmail.com 2010-07-10 03:30:32 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #17 from Joni L-H jonilh@gmail.com 2010-07-10 13:26:01 --- This bug is NOT fixed. The complex shaderdistance errors still excists if using Shader model 1.0 in EQ2. Only when using Shader Model 3.0 this is not an issue. Hoever sins only very new Graphics cards can run EQ2 at a playable framerate with Shader 3.0 many people still use Shader 1.0 where as I said this bug is still very much active.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #18 from DJ Dunn djdunn.safety@gmail.com 2010-07-10 14:20:41 --- That really is the issue tho. shaders 1.0 or 3.0
do we know what a new installation of EQ2 defaults to?
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #19 from Colin Wetherbee cww@denterprises.org 2010-07-10 16:15:06 --- (In reply to comment #17)
This bug is NOT fixed. The complex shaderdistance errors still excists if using Shader model 1.0 in EQ2. Only when using Shader Model 3.0 this is not an issue.
Strange. My complex shaders work fine with Shaders 1.0 in the latest Wine. :-\
(They also work fine with Shaders 3.0.)
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #20 from Colin Wetherbee cww@denterprises.org 2010-07-10 16:15:22 --- (In reply to comment #18)
That really is the issue tho. shaders 1.0 or 3.0
do we know what a new installation of EQ2 defaults to?
It still defaults to 1.0.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #21 from Joni L-H jonilh@gmail.com 2010-07-10 19:13:45 --- (In reply to comment #19) ...
Strange. My complex shaders work fine with Shaders 1.0 in the latest Wine. :-\
(They also work fine with Shaders 3.0.)
Its only sever been sertan textures for me that mess up with Complex shader distance turn up. Some rock textures in Kunark Timorous Deep. Some Wall textures in Freeport. The ground texture in one of the suburbs of Freeport. and so on..Loks about like this: http://i29.photobucket.com/albums/c293/suprscotte/ShadError.png
Ubuntu 10.04 64bit Wine 1.2rc7 Nvidia Geforce 8600GT 512MB NVIDIA Driver Version:195.36.24 OffScreenRenderingMode -> fbo
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #22 from Colin Wetherbee cww@denterprises.org 2010-07-11 01:41:38 --- (In reply to comment #21)
Its only sever been sertan textures for me that mess up with Complex shader distance turn up. Some rock textures in Kunark Timorous Deep. Some Wall textures in Freeport. The ground texture in one of the suburbs of Freeport.
OK, I see it now. I've identified other spots with similar problems: the walls at the docks in Longshadow Alley (Freeport); Execution Plaza in West Freeport; and platforms in Kelethin.
This bug still exists, but it's better than it was before. :)
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #23 from Joni L-H jonilh@gmail.com 2010-07-11 06:30:09 --- (In reply to comment #22)
... OK, I see it now. I've identified other spots with similar problems: the walls at the docks in Longshadow Alley (Freeport); Execution Plaza in West Freeport; and platforms in Kelethin.
This bug still exists, but it's better than it was before. :)
For me how the bug is now is how it has been for a very long time. in other words, the bug has the exact same effect for me as it has in wine 1.1.18
So to clarify, in reference to this specific bug nothing has happened. bug need to be reopened and status changed back to confirmed.
http://bugs.winehq.org/show_bug.cgi?id=11354
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #24 from Jeff Zaroyko jeffz@jeffz.name 2010-07-11 08:56:01 --- Reopening then.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #25 from Colin Wetherbee cww@denterprises.org 2010-07-19 00:30:10 --- (In reply to comment #24)
Reopening then.
I noticed recently that the textures do appear to be applied to the surfaces, but there's an overlay that obscures them, and that's the problem here. The overlay actually looks like a reflection of the point-of-view of the player's screen.
(This was also noted in comment #0, which I apparently never read thorougly.)
I took some up-close screenshots in places that exhibit this problem in the game.
http://i.imgur.com/56ogg.jpg http://i.imgur.com/5IXjN.jpg http://i.imgur.com/CHDpQ.jpg http://i.imgur.com/Mkegx.jpg http://i.imgur.com/oewEL.jpg http://i.imgur.com/z7mIk.jpg
This one just shows how widespread this issue is in the game; it affects many surfaces throughout the game world.
http://bugs.winehq.org/show_bug.cgi?id=11354
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #26 from Dan Kegel dank@kegel.com 2010-09-08 17:28:05 CDT --- *** Bug 24311 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #27 from Joni L-H jonilh@gmail.com 2010-09-14 15:43:50 CDT --- This bug is still pressent in Wine 1.3.2
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #28 from Matteo Bruni matteo.mystral@gmail.com 2010-09-27 16:59:56 CDT --- Created an attachment (id=30978) --> (http://bugs.winehq.org/attachment.cgi?id=30978) Keep track of the PROJECTED texture stage state
This patch solves the issue for me. I'll send it to winepatches after some thought on how to keep track of other missing states (which apparently don't matter in EQ2).
http://bugs.winehq.org/show_bug.cgi?id=11354
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #29 from Dan Kegel dank@kegel.com 2010-09-28 14:07:59 CDT --- Seems to work here, too.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #30 from Dan Kegel dank@kegel.com 2010-09-28 14:29:32 CDT --- Well, it worked fine on an nvidia 7100 that was too slow to stand, so I popped in a gt 240. Now it's fast enough to test, but with the patch, the mirrors are gone, but there are little black lines, or sometimes triangles, everywhere, along with black snow on the character. Tested with Extreme Performance but complex shader distance set to 100.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #31 from Dan Kegel dank@kegel.com 2010-09-28 14:30:14 CDT --- Created an attachment (id=31003) --> (http://bugs.winehq.org/attachment.cgi?id=31003) Screenshot of black lines in village in Darklight Wood
http://bugs.winehq.org/show_bug.cgi?id=11354
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #32 from Matteo Bruni matteo.mystral@gmail.com 2010-09-28 16:50:06 CDT --- (In reply to comment #30)
Well, it worked fine on an nvidia 7100 that was too slow to stand, so I popped in a gt 240. Now it's fast enough to test, but with the patch, the mirrors are gone, but there are little black lines, or sometimes triangles, everywhere, along with black snow on the character. Tested with Extreme Performance but complex shader distance set to 100.
Are you sure that is caused by the patch? Do the black artifacts disappear by reverting the patch?
If that is the case, is there anything interesting in the logs (maybe comparing the output with and without the patch)?
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #33 from Dan Kegel dank@kegel.com 2010-09-28 19:00:38 CDT --- No, the patch doesn't cause the extra artifacts, but they also go away when you set complex shader distance to zero. Perhaps it should be a separate bug so we can close this one, even though it fits the same summary.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #34 from Henri Verbeet hverbeet@gmail.com 2010-09-29 04:59:51 CDT --- Looks a bit like z-fighting. Perhaps this is the (known) depth bias issue, or something else related to depth buffer precision.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #35 from Matteo Bruni matteo.mystral@gmail.com 2010-09-30 10:43:20 CDT --- I can't reproduce this new issue unfortunately. Giving a look to the logs with and without complex shaders enabled, I noticed that only with complex shaders enabled the depth comparison function 'D3DCMP_EQUAL' is used. So my guess is that this bug is related, as Henri hypothesized, to depth buffer precision issues.
In any case, this seems to be a different problem that, just by chance, happens with the same game settings as the one hopefully fixed by my patch.
http://bugs.winehq.org/show_bug.cgi?id=11354
--- Comment #36 from Austin English austinenglish@gmail.com 2010-10-04 15:50:28 CDT --- Patch committed: http://source.winehq.org/git/wine.git/?a=commitdiff;h=20010235ad07b7be1f68da...
http://bugs.winehq.org/show_bug.cgi?id=11354
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #37 from Austin English austinenglish@gmail.com 2010-10-04 19:13:43 CDT --- (In reply to comment #36)
Patch committed: http://source.winehq.org/git/wine.git/?a=commitdiff;h=20010235ad07b7be1f68da...
Just tested, with shaders 1.0 and complex shader distance set to the max, I see this bug in 1.3.4. If I add in 20010235ad07b7be1f68da4c9b36e3ed00d0ca14, it looks great, though I do get the black artifacts.
I've filed bug 24630 for that though.
http://bugs.winehq.org/show_bug.cgi?id=11354
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #38 from Alexandre Julliard julliard@winehq.org 2010-10-15 12:52:46 CDT --- Closing bugs fixed in 1.3.5.