http://bugs.winehq.org/show_bug.cgi?id=16163
Summary: FEAR 1.08 (DX8 mode): FBO status - incomplete dimensions Product: Wine Version: 1.1.9 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: liquid.acid@gmx.net
Created an attachment (id=17411) --> (http://bugs.winehq.org/attachment.cgi?id=17411) See initial post
Hi there,
using FEAR 1.08 with DX8 shaders enabled (ingame option). Wine is patched to use the nvts fragment pipeline and not the ARBfp one (it crashes with ARBfp, because of this bug: http://bugs.winehq.org/show_bug.cgi?id=15858).
Hardware used: NV GFFX 5900 Drivers: 173.14.12
FEAR has a lot of visual errors, so I found it best to start with obvious problem that show up on the console as WARNs, ERRs or FIXMEs.
After loading a savegame and right before getting ingame I get some of these FIXMEs: fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT (0x8cd9) fixme:d3d:context_check_fbo_status Color attachment 0: (0x2a041cf0) WINED3DFMT_A8R8G8B8 512x512 fixme:d3d:context_check_fbo_status Depth attachment: (0x146898) WINED3DFMT_D24S8 640x480 fixme:d3d:IWineD3DDeviceImpl_ClearSurface >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glClear @ device.c / 5129
I'm looking for some advice how to encircle the root of the problem. Adding Stefan Dösinger and Henri Verbeet to CC, since they probably know how to debug this kind of thing.
List of visual errors I encounter: - Random polygons popping up, looking like shadow volume leftovers - zbuffer-like precision issues - lighting issues
Logfile is attached, but AFAIK it doesn't contain anything useful besides the output I already pasted here.
Greets, Tobias
http://bugs.winehq.org/show_bug.cgi?id=16163
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=16163
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #1 from H. Verbeet hverbeet@gmail.com 2008-11-22 17:40:25 --- Note that the height of the depth stencil is less than the height of the render target, this isn't valid on Windows either. The d3d8 documentation suggests we should return D3DERR_INVALIDCALL from IDirect3DDevice8Impl_SetRenderTarget() in this case. This behaviour would be different from d3d9.
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #2 from Tobias Jakobi liquid.acid@gmx.net 2008-11-23 17:50:36 --- Hmm, the D3D8 reference (as always) isn't clear about what happens if you only change the color buffer and supply NULL for the depthstencil.
Does this also trigger a dimension check, or does it work at all?
Currently trying to figure out how to write a testcase for this.
http://bugs.winehq.org/show_bug.cgi?id=16163
H. Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hverbeet@gmail.com |
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2008-11-24 02:46:21 --- That will remove the current depth stencil, so there's no need to check dimensions.
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #4 from Tobias Jakobi liquid.acid@gmx.net 2009-01-29 16:10:58 --- Reconfirming with wine-1.1.13
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #5 from Tobias Jakobi liquid.acid@gmx.net 2009-04-19 16:17:37 --- Reconfirming with wine-1.1.19
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #6 from Austin English austinenglish@gmail.com 2009-10-29 15:26:01 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=16163
--- Comment #7 from Tobias Jakobi liquid.acid@gmx.net 2010-09-05 11:18:09 CDT --- I'm trying to reproduce this, but the game (and the demo) is giving me different problems...
http://bugs.winehq.org/show_bug.cgi?id=16163
Tobias Jakobi liquid.acid@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Tobias Jakobi liquid.acid@gmx.net 2011-01-08 17:40:16 CST --- At least with the demo I can no longer reproduce this. Setting this to RESOLVED.
http://bugs.winehq.org/show_bug.cgi?id=16163
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:43:17 CST --- Closing bugs fixed in 1.3.12.