http://bugs.winehq.org/show_bug.cgi?id=31773
Bug #: 31773 Summary: Torchlight 2 shadows are rendered incorrectly on some areas Product: Wine Version: 1.5.13 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: ape@ape3000.com Classification: Unclassified
Torchlight 2 shadows are renderer incorrectly on some areas. As a workaround disabling shadows works fine everywhere. On certain areas the shadows at very high setting are working well, but on other areas they look really bad.
There's a screenshot about the bug attached.
This bug has been reported to occur at least as early version as 1.5.0, but I tested this with 1.5.13. I was using NVIDIA binary drivers.
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #1 from Lauri Niskanen ape@ape3000.com 2012-09-24 03:38:22 CDT --- Created attachment 41805 --> http://bugs.winehq.org/attachment.cgi?id=41805 Screenshot about the bug
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #2 from Lauri Niskanen ape@ape3000.com 2012-09-24 03:38:44 CDT --- Created attachment 41806 --> http://bugs.winehq.org/attachment.cgi?id=41806 Screenshot about the bug
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #3 from Lauri Niskanen ape@ape3000.com 2012-09-24 03:44:17 CDT --- Here's a short list of areas that are working just fine and areas that are bugged.
Working nicely: - Zeryphesh - The Ossean Wastes
Bugged shadows: - Estherian Enclave - The Temple Steppes - The Frosted Hills
http://bugs.winehq.org/show_bug.cgi?id=31773
TestSubject sirbubbles01@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sirbubbles01@gmail.com
--- Comment #4 from TestSubject sirbubbles01@gmail.com 2012-09-27 09:49:49 CDT --- I also get this in the Torchlight 2 demo. The shadows actually obscure a lot of the terrain. For instance, grassy areas get covered in blackness with shadows enabled.
http://bugs.winehq.org/show_bug.cgi?id=31773
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2012-09-27 09:52:44 CDT --- Where did you download the demo? It will be easier for others to reproduce if they can test too.
http://bugs.winehq.org/show_bug.cgi?id=31773
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2012-09-27 11:00:54 CDT --- A console output with d3dx and d3d9 channels enabled could help too.
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #7 from TestSubject sirbubbles01@gmail.com 2012-09-27 23:01:14 CDT --- (In reply to comment #5)
Where did you download the demo? It will be easier for others to reproduce if they can test too.
The demo is on Steam.
http://bugs.winehq.org/show_bug.cgi?id=31773
Matheus Maran supermaran@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |supermaran@hotmail.com
--- Comment #8 from Matheus Maran supermaran@hotmail.com 2012-09-29 07:52:52 CDT --- (In reply to comment #7)
(In reply to comment #5)
Where did you download the demo? It will be easier for others to reproduce if they can test too.
The demo is on Steam.
It is also available at the official site of the game - http://www.torchlight2game.com
http://bugs.winehq.org/show_bug.cgi?id=31773
Anton Romanov theli.ua@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |theli.ua@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #9 from Xavier Vachon xvachon@gmail.com 2012-10-15 19:30:53 CDT --- Created attachment 42147 --> http://bugs.winehq.org/attachment.cgi?id=42147 log +d3d,+d3d9,+d3dx9
Per comment #6, here is a +d3d,+d3d9,+d3dx9 log tailed to 100000 lines (the log the game produced is about 1 GB, I'm not sure if this caught the issue..). I switched the shadow detail from off to very high, technically the faulty code should be exposed during that switch.
In the meantime, the workaround is to turn shadow detail to off. The game is very playable without them.
http://bugs.winehq.org/show_bug.cgi?id=31773
Michael Bond mikejbond@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikejbond@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2013-05-09 13:00:52 CDT --- Is it possible to have a console output with d3dx and d3d9 channels enabled only?
http://bugs.winehq.org/show_bug.cgi?id=31773
K1773R K1773R@darkgamex.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |K1773R@darkgamex.ch
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #11 from K1773R K1773R@darkgamex.ch 2013-07-04 07:21:14 CDT --- (In reply to comment #10)
Is it possible to have a console output with d3dx and d3d9 channels enabled only?
+d3d
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #12 from Matteo Bruni matteo.mystral@gmail.com 2013-07-05 15:56:02 CDT --- Created attachment 45117 --> http://bugs.winehq.org/attachment.cgi?id=45117 Patch
I had a look at this: it's a fog issue, actually the same as bug 27733. I'm attaching a patch that fixes the bug for me.
Notice that the fix only affects the GLSL vertex replacement pipeline, so you won't get the new behavior if you aren't using it (because of UseGLSL = disabled or a very old GPU, mostly).
I think this patch may be a bit too risky for Wine 1.6 so I'll probably wait for the release before submitting it.
http://bugs.winehq.org/show_bug.cgi?id=31773
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #13 from Jerome Leclanche adys.wh@gmail.com 2013-07-19 16:50:12 CDT --- Confirming.
Are you resending, Matteo?
http://bugs.winehq.org/show_bug.cgi?id=31773
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #14 from Matteo Bruni matteo.mystral@gmail.com 2013-07-19 17:03:47 CDT --- (In reply to comment #13)
Confirming.
Are you resending, Matteo?
Yes, I plan to send the patch in the next few days. Ping me if I forget for any reason...
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #15 from Jerome Leclanche adys.wh@gmail.com 2013-08-02 15:47:17 CDT --- (In reply to comment #14) Ping ;)
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #16 from Matteo Bruni matteo.mystral@gmail.com 2013-08-03 09:51:22 CDT --- (In reply to comment #15)
(In reply to comment #14) Ping ;)
Err, thanks. Actually I sent the patch already (committed as e2cf98eb76b9c8451b5f9d25b0c9c07f9fdc4e04) but I forgot to comment here. It would be best if someone can doublecheck that this is fixed in Wine 1.7.0.
http://bugs.winehq.org/show_bug.cgi?id=31773
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e2cf98eb76b9c8451b5f9d25b0c | |9c07f9fdc4e04 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Jerome Leclanche adys.wh@gmail.com 2013-08-18 20:20:15 CDT --- Confirming fixed
http://bugs.winehq.org/show_bug.cgi?id=31773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2013-08-30 13:05:00 CDT --- Closing bugs fixed in 1.7.1.
http://bugs.winehq.org/show_bug.cgi?id=31773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.6.x
http://bugs.winehq.org/show_bug.cgi?id=31773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.6.x |---
--- Comment #19 from Alexandre Julliard julliard@winehq.org 2013-11-15 13:39:36 CST --- Removing 1.6.x milestone from bugs included in 1.6.1.
http://bugs.winehq.org/show_bug.cgi?id=31773
Kevin Meyer billy65bob@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |billy65bob@gmail.com
--- Comment #20 from Kevin Meyer billy65bob@gmail.com 2013-11-24 14:40:28 CST --- Is this really fixed?
I just played around with Torchlight 2 and as far as I can tell, any option other than off is still horribly broken. While previously there were blending artefacts from the shadows/lighting, now there simply isn't any shadows or lighting to speak off. It's just the same dull uniform shade applied to all world geometry.
http://i.imgur.com/kT0Vdl3.jpg basically all areas look like this with some being brighter
Wine: 1.7.7 (8814727ac9f09eb372d9ca9617dc4ced9872ffa6) Driver: Nvidia 331.20
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #21 from TestSubject sirbubbles01@gmail.com 2013-11-24 15:03:14 CST --- Kevin Meyer, it really is fixed. You need to have GLSL shaders enabled in regedit. The shadows won't work properly without that being on, and you need wine 1.7.1 at least.
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #22 from Kevin Meyer billy65bob@gmail.com 2013-11-24 21:28:19 CST --- But I meet both those requirements, Wine 1.7.7 + 100% default Direct3D settings (read: useGLSL enabled) w/ NO native d3d9 overrides.
And there iareNO lighting or shadows anywhere, it's not even glitchy like it used to be, it's just completely absent. I can't state this any more clearly than the above screenshot shows.
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #23 from Matteo Bruni matteo.mystral@gmail.com 2013-11-25 12:36:50 CST --- (In reply to comment #20)
Wine: 1.7.7 (8814727ac9f09eb372d9ca9617dc4ced9872ffa6) Driver: Nvidia 331.20
There is a bug in Nvidia 331.xx drivers which might be related. Does it make any difference if you downgrade to 325.xx?
http://bugs.winehq.org/show_bug.cgi?id=31773
--- Comment #24 from Kevin Meyer billy65bob@gmail.com 2013-11-25 20:55:20 CST --- That's going to be difficult with Arch... I'll let you know what happens if I manage a successful downgrade, but if it's working for others that is probably the case.