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
http://bugs.winehq.org/show_bug.cgi?id=18092
--- Comment #1 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-18 05:10:11 --- Created an attachment (id=20522) --> (http://bugs.winehq.org/attachment.cgi?id=20522) WINEDEBUG=+d3d_surface
Output from main menu where there is also wrong rendered surface of car.
http://bugs.winehq.org/show_bug.cgi?id=18092
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20521|Image shownig the problem |Image showing the problem description| |
http://bugs.winehq.org/show_bug.cgi?id=18092
--- Comment #2 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-18 09:28:00 --- If i set Multisample to 2xmsaa in main menu the problem disappears but when i set 4xmsaa the problem returns.
http://bugs.winehq.org/show_bug.cgi?id=18092
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|DirectX: Surface not |Race Driver: GRID - not |rendered correctly |rendered correctly
http://bugs.winehq.org/show_bug.cgi?id=18092
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2009-04-18 17:42:21 --- Does the demo at ftp://downloads.codemasters.com/demo/grid_demo.zip have the same issues?
http://bugs.winehq.org/show_bug.cgi?id=18092
--- Comment #4 from NSLW lukasz.wojnilowicz@gmail.com 2009-04-19 04:15:12 --- (In reply to comment #3) No, the surface of cars looks fine with or without multisampling in GRID demo. Output looks different. The lines below just disappeared
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
http://bugs.winehq.org/show_bug.cgi?id=18092
--- Comment #5 from Austin English austinenglish@gmail.com 2009-10-29 15:26:16 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18092
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from NSLW lukasz.wojnilowicz@gmail.com 2009-10-30 04:13:07 --- (In reply to comment #5) This isn't an issue in Wine 1.1.32 any more.
http://bugs.winehq.org/show_bug.cgi?id=18092
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:37 --- Closing bugs fixed in 1.1.33.