http://bugs.winehq.org/show_bug.cgi?id=37068
Bug ID: 37068 Summary: XIII: Canyon levels not rendered correctly Product: Wine Version: 1.7.0 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: stefan@codeweavers.com Regression SHA1: ba61730daa6a614ef07128a69a0bbca819e716b4
Once there was bug #30194 and the issue was gone between Wine 1.6-rc3 and 1.6. Sadly, the exact same issue has been re-introduced since Wine 1.7.0, the Canyon levels are unplayable, because the whole screen is filled with some fog. This is after
ba61730daa6a614ef07128a69a0bbca819e716b4 is the first bad commit commit ba61730daa6a614ef07128a69a0bbca819e716b4 Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Aug 1 12:25:55 2013 +0200
wined3d: Avoid calculating 1 / (fog_end - fog_start) in the shader.
:040000 040000 def6053aef8ca5551147e39fd1534f68e08ed32b 90db6148516cc12e0a95ca2e2857af700dc0dd83 M dlls
The patch can be reverted cleanly on 1.7.23 and it fixes the problem.
Disabling GLSL doesn't help.
I can't reproduce the problem with the open source nouveau driver, this may be a bug in the Nvidia driver. I don't have Intel or AMD gfx card to test it.
Terminal output:
fixme:win:EnumDisplayDevicesW ((null),0,0x32db08,0x00000000), stub! fixme:d3d8:ValidateVertexShader (0x17e3900 (nil) (nil) 1 0x32d7d8): stub fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
Let me know if you need further tests or debug logs.
Fedora 20 Nvidia binary drivers 340.24 wine-1.7.23-90-gbdeb761