http://bugs.winehq.org/show_bug.cgi?id=18092
Summary: DirectX: Surface not rendered correctly Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
Created an attachment (id=20521) --> (http://bugs.winehq.org/attachment.cgi?id=20521) Image shownig the problem
I'm using wine-git (1.1.19) downloaded in 18.04.2009 (compiled using gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) ) on Fedora 10 i386.
The problem is that surfaces on cars in Race Driver: GRID (patched to v.1.2) aren't rendered correctly. The car in the attachment should be painted white but has got many black polygons on surface. Other cars in background also have got the same problem. Game uses pixel shaders 3.
graphic card: GF 9600M GT drivers: 185.19 (default configuration) OffscreenRenderingMode: backbuffer (doesn't work with fbo) Multisampling: enabled (not set in game) VideoMemorySize: 512 Overrides: d3dx9_36.dll (3.6 MiB), xinput1_3.dll (67.3 KB), openal32.dll (43.0 KB) In output there are
fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glBindTexture @ surface.c / 2398 fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(dimension, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE) @ surface.c / 2400 fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(dimension, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE) @ surface.c / 2402 fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(dimension, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE) @ surface.c / 2404 fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(dimension, GL_TEXTURE_MIN_FILTER, GL_NEAREST) @ surface.c / 2406 fixme:d3d_surface:IWineD3DSurfaceImpl_BindTexture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(dimension, GL_TEXTURE_MAG_FILTER, GL_NEAREST) @ surface.c / 2408
fixme:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexImage2D @ surface.c / 417 fixme:d3d_surface:read_from_framebuffer_texture >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCopyTexSubImage2D @ surface.c / 1047