http://bugs.winehq.org/show_bug.cgi?id=10633
Summary: Per Pixel Lightning is drawn wrong Product: Wine Version: CVS/GIT Platform: PC-x86-64 URL: http://neuron.tuke.sk/~mizanin/eng/dx/020_Stencil_Shadow .zip OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: kgbricola@web.de
In this program the light on the wall is not drawn correctly if Per Pixel Lightning is on. If it is off, all is shown like in windows.
My system: Fedora7, Geforce 8800GTS, Driver 100.14.23.
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #1 from Rico kgbricola@web.de 2007-12-30 09:15:20 --- I've found a workaround. This patch solves the issue http://bugs.winehq.org/attachment.cgi?id=9904 .
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Rico kgbricola@web.de 2007-12-30 09:22:42 --- Sorry, the last post was wrong! Fixed in current git.
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Rico kgbricola@web.de 2007-12-30 09:23:29 --- Closing...
http://bugs.winehq.org/show_bug.cgi?id=10633
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #4 from Rico kgbricola@web.de 2009-02-01 12:37:15 --- Created an attachment (id=19162) --> (http://bugs.winehq.org/attachment.cgi?id=19162) shadows on the wall
This picture shows the shadow on the wall if per pixel lightning is enabled.
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|FIXED |
--- Comment #5 from Rico kgbricola@web.de 2009-02-01 12:39:09 --- Reopening, the problem seems never been fixed. Probably my last test was just a quick look at the starting position. There all looks fine, but when the camera is moved the shadows are shown on the wall.
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #6 from Rico kgbricola@web.de 2009-02-01 12:45:06 --- Created an attachment (id=19163) --> (http://bugs.winehq.org/attachment.cgi?id=19163) Hack to remove the shadows from the wall.
This hack removes the shadows from the wall. I don't know if it is correct at all. The hole thing seems to be a precision problem.
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #7 from Austin English austinenglish@gmail.com 2009-08-05 10:15:21 --- Is this still an issue in current (1.1.26 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #8 from Rico kgbricola@web.de 2009-08-05 14:37:58 --- Yes, it is still a problem with wine wine-1.1.26-390-g31dab8f.
http://bugs.winehq.org/show_bug.cgi?id=10633
Stefan Huehner stefan@huehner.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@huehner.org
--- Comment #9 from Stefan Huehner stefan@huehner.org 2010-04-10 11:22:56 --- I just tried the precompiled exe attached to this issue on current wine.git (post 1.1.42)
I could not reproduce the error it seems it has been fixed in the meantime. Per pixel Lighning was on in the test, and the rotating light seemed to work fine with the shadows.
Rico: Can you please retest with current wine?
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #10 from Rico kgbricola@web.de 2010-04-10 15:14:26 --- Created an attachment (id=27315) --> (http://bugs.winehq.org/attachment.cgi?id=27315) screenshot with wine-1.1.42-182
Yes, it's still an issue with wine from commit 8f77dd8aff469b85ea662452284a045fdee7d990 .
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #11 from Rico kgbricola@web.de 2010-04-17 08:51:12 --- Created an attachment (id=27402) --> (http://bugs.winehq.org/attachment.cgi?id=27402) workaround for the white "triangles"
This hack works around another problem (white triangles). It's an updated version from bug 7284 attachment http://bugs2.winehq.org/attachment.cgi?id=20180 .
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #27315|0 |1 is obsolete| |
--- Comment #12 from Rico kgbricola@web.de 2011-04-27 05:52:54 CDT --- Created an attachment (id=34371) --> (http://bugs.winehq.org/attachment.cgi?id=34371) screentshot after commit "d3d: Map D3DRS_ZBIAS to WINED3DRS_DEPTHBIAS."
The commit 96b758f7b37033bf382ce40dd3310965d3ac3f76 changed the behaviour and removed the shadows on the wall, but it disabled the previous working depth testing completely for the model in the middle (see screen shot). So the patch might give a hint where the problem is.
96b758f7b37033bf382ce40dd3310965d3ac3f76 is the first bad commit commit 96b758f7b37033bf382ce40dd3310965d3ac3f76 Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Apr 21 22:36:11 2011 +0200
d3d: Map D3DRS_ZBIAS to WINED3DRS_DEPTHBIAS.
ZBIAS was removed in d3d9 and replaced with DEPTHBIAS. Currently wined3d implements both independently which will cause trouble if we want to set the depthbias value depending on the depth stencil format.
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #13 from Stefan Dösinger stefandoesinger@gmx.at 2011-05-08 10:38:20 CDT --- I attached a patch to bug 26980, can you give it a try?
http://bugs.winehq.org/show_bug.cgi?id=10633
--- Comment #14 from Rico kgbricola@web.de 2011-05-08 12:52:47 CDT --- Patch http://bugs.winehq.org/attachment.cgi?id=34546 from bug http://bugs.winehq.org/show_bug.cgi?id=26980 seems to fix this issue.
http://bugs.winehq.org/show_bug.cgi?id=10633
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #15 from Rico kgbricola@web.de 2011-05-11 11:36:36 CDT --- Fixed.
The remaining white triangles are covered by bug 7284 .
http://bugs.winehq.org/show_bug.cgi?id=10633
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2011-05-13 13:33:02 CDT --- Closing bugs fixed in 1.3.20.
http://bugs.winehq.org/show_bug.cgi?id=10633
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #17 from Jerome Leclanche adys.wh@gmail.com 2011-05-13 14:00:25 CDT --- (In reply to comment #15)
Fixed.
By 7b1e0815153be160ace0b145ae16423f1bf1b7ae (for records).
http://bugs.winehq.org/show_bug.cgi?id=10633
MD.IMAM HOSSAIN imamdxl8805@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |imamdxl8805@gmail.com
--- Comment #18 from MD.IMAM HOSSAIN imamdxl8805@gmail.com 2011-05-13 20:29:39 CDT --- this also fixed graphics bug in the game Hitman 3 Contracts Great!