https://bugs.winehq.org/show_bug.cgi?id=41641
Bug ID: 41641 Summary: Final Fantasy XI: incorrect face culling; no glitches when disabled Product: Wine Version: 1.9.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: partyheld@gmail.com Distribution: Debian
Created attachment 56014 --> https://bugs.winehq.org/attachment.cgi?id=56014 Incorrect face culling causes major graphical glitches.
Final Fantasy XI is suffering major graphical glitches because triangles are culled incorrectly.
Disabling the two calls to glEnable(GL_CULL_FACE) in "wine/dlls/wined3d/state.c" makes the glitches disappear and the game is rendered perfectly.
I first observed this in the Debian/testing build (1.8.5-1) and also found this to be the case when building 1.9.22 from source.
I used the Debian Linux kernel linux-image-4.7.0-1-amd64, as well as a self-compiled 4.9.0-rc3 with Mesa 12.0.3.
GPU: "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
The graphics flicker a lot when moving the camera even slightly, i.e. suddenly other triangles get culled.
I'm not using any library overrides.