http://bugs.winehq.org/show_bug.cgi?id=23599
Summary: Texture problems in Deus Ex 2: invisible war Product: Wine Version: 1.2-rc7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: duck@duckcorp.org
Created an attachment (id=29510) --> (http://bugs.winehq.org/attachment.cgi?id=29510) log (+d3d,+seh)
I can launch the game, view the intro scene, the rest of the game loads fine and the loading screen is proper, but then the display is incomplete, both in the menu and in the game: only part of the interface is displayed well, no background and images in menu, no objects in game. It is absolutely unplayable.
I'm using Debian unstable on i386, with a Mobility Radeon X300 and the Free driver (v6.13.1), and opengl+fbo (but other combinations of opengl/gdi and backbuffer/fbo didn't help).
As can be seen in the log, the problem seems related to: fixme:d3d:state_wrap (WINED3DRS_WRAP0) Texture wrapping not yet supported which is supposed to have been fixed in #8176 (but opening a new report as requested).
http://bugs.winehq.org/show_bug.cgi?id=23599
--- Comment #1 from Marc Dequènes (Duck) duck@duckcorp.org 2010-07-10 19:06:03 --- Created an attachment (id=29511) --> (http://bugs.winehq.org/attachment.cgi?id=29511) how the problem looks like
http://bugs.winehq.org/show_bug.cgi?id=23599
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmail.com 2010-07-12 13:13:50 --- The issue is most likely unrelated to wrap0 but to lack of s3tc which causes: err:d3d_surface:surface_allocate_surface >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexImage2D @ surface.c / 857 err:d3d_surface:surface_upload_data >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glCompressedTexSubImage2DARB @ surface.c / 760
None of the open driver offer s3tc by default. Typically you can enable it using driconf which could get this running.
http://bugs.winehq.org/show_bug.cgi?id=23599
Marc Dequènes (Duck) duck@duckcorp.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29511|0 |1 is obsolete| |
--- Comment #3 from Marc Dequènes (Duck) duck@duckcorp.org 2010-07-12 13:42:33 --- Created an attachment (id=29558) --> (http://bugs.winehq.org/attachment.cgi?id=29558) ingame texture problem
http://bugs.winehq.org/show_bug.cgi?id=23599
--- Comment #4 from Marc Dequènes (Duck) duck@duckcorp.org 2010-07-12 13:48:16 --- You were right, enabling s3tc resolved the problem in the menu, so it is fully usuable now. I was able to start a new games, and the HUD is displayed better, but still the environment is hidden, a grey gradation instead of pitch black (look at the screenshot).
There are tons of errors like this: err:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION (0x506) from glDrawElements @ drawprim.c / 46 fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6) fixme:d3d:context_check_fbo_status Color attachment 0: (0x1868c0) WINED3DFMT_B8G8R8A8_UNORM 640x480 fixme:d3d:context_check_fbo_status Depth attachment: (0x185f40) WINED3DFMT_D24_UNORM_S8_UINT 640x480
In case it is a fbo-related problem in the driver, i switched back to backbuffer, to get a similar but no so greyish result, and tons of: fixme:d3d:state_wrap (WINED3DRS_WRAP0) Texture wrapping not yet supported
http://bugs.winehq.org/show_bug.cgi?id=23599
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmail.com 2010-07-12 13:56:15 --- Great that it works now. Yeah FBOs are not so mature in the open drivers.
http://bugs.winehq.org/show_bug.cgi?id=23599
--- Comment #6 from Marc Dequènes (Duck) duck@duckcorp.org 2010-07-12 14:30:58 --- It works for the menu only, and writeback didn't help inside a level. Should i open a new bug ? isn't it related ?
http://bugs.winehq.org/show_bug.cgi?id=23599
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-13 00:30:54 --- Closing invalid.