http://bugs.winehq.org/show_bug.cgi?id=29586
Bug #: 29586 Summary: Tumblebugs 2 demo: insects render black Product: Wine Version: 1.3.36 Platform: x86 URL: http://www.heavygames.com/tumblebugs2/gameinfo.asp OS/Version: Linux Status: NEW Keywords: download Severity: trivial Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com Classification: Unclassified
Created attachment 38317 --> http://bugs.winehq.org/attachment.cgi?id=38317 terminal output
A user asked about it in #winehq. Trying it myself, I saw the same problem: OpenGL renderer string: GeForce GTX 295/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 285.05.05
d3e47a42ca069a174735adcd4d17b6289d9416e6 tumblebugs2_at_c3tb1.exe
same in 1.2, didn't try any other wine versions. disabling glsl/ddr=gdi did not make a difference.
Screenshot/terminal output attached.
wine-1.3.36-271-g1444983
http://bugs.winehq.org/show_bug.cgi?id=29586
--- Comment #1 from Austin English austinenglish@gmail.com 2012-01-10 14:37:25 CST --- Created attachment 38318 --> http://bugs.winehq.org/attachment.cgi?id=38318 screenshot
http://bugs.winehq.org/show_bug.cgi?id=29586
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-01-10 14:48:09 CST --- (In reply to comment #0)
fixme:d3d_surface:surface_convert_format Cannot find a conversion function from format WINED3DFMT_B8G8R8A8_UNORM to WINED3DFMT_DXT5.
That's probably related.
http://bugs.winehq.org/show_bug.cgi?id=29586
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #3 from Jarkko K jarkko_korpi@hotmail.com --- Still in wine 1.7.15
http://bugs.winehq.org/show_bug.cgi?id=29586
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #4 from hanska2@luukku.com --- fixme:d3d_surface:surface_convert_format Cannot find a conversion function from format WINED3DFMT_B8G8R8A8_UNORM to WINED3DFMT_DXT5.
fixme:d3d_surface:surface_convert_format Cannot find a conversion function from format WINED3DFMT_B8G8R8A8_UNORM to WINED3DFMT_DXT3.
Still unimplemented 1.7.22.
https://bugs.winehq.org/show_bug.cgi?id=29586
Igor Ulyanov (Displacer) disinbox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |disinbox@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29586
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
--- Comment #5 from Michael Müller michael@fds-team.de --- Hi,
I just updated my DXTn patch to support the formats required by this game. The patch makes use of the libtxc_dxtn library to avoid patent issues in wine itself. You can find the patch at:
https://github.com/wine-compholio/wine-staging/blob/master/patches/wined3d-D...
Michael
https://bugs.winehq.org/show_bug.cgi?id=29586
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #6 from Sergey Isakov isakov-sl@bk.ru --- It's a pity wine-stage with dxtn support doesn't help with this game with either native or builtin d3dx9_36.dll. With or without CSMT enabled. Enable or disable volume DXTn textures. Somehow wined3d have a bug with DXTn surfaces. This texture was successfully created --- trace:d3d_texture:wined3d_texture_create device 0x1da698, desc 0x6a8e090, level_count 7, surface_flags 0x4, data 0x0, parent 0x200338, parent_ops 0x47d229bc, texture 0x6a8e08c. trace:d3d_texture:wined3d_texture_init texture 0x2003c8, texture_ops 0x47e7a3a8, layer_count 1, level_count 7, resource_type WINED3D_RTYPE_TEXTURE, format WINED3DFMT_DXT5, multisample_type 0, multisample_quality 0, usage WINED3DUSAGE_TEXTURE, pool WINED3D_POOL_MANAGED, width 64, height 64, depth 1, surface_flags 0x4, device 0x1da698, parent 0x200338, parent_ops 0x47d229bc, resource_ops 0x47e7a3c4. ... trace:d3d_texture:wined3d_texture_create Created texture 0x2003c8. ---
Other one no. --- trace:d3d_texture:wined3d_texture_create device 0x1da698, desc 0x6a8de80, level_count 1, surface_flags 0x3, data 0x0, parent 0x0, parent_ops 0x47e738fc, texture 0x6a8deac. trace:d3d_texture:wined3d_texture_init texture 0x123180, texture_ops 0x47e7a3a8, layer_count 1, level_count 1, resource_type WINED3D_RTYPE_TEXTURE, format WINED3DFMT_DXT5, multisample_type 0, multisample_quality 0, usage 0, pool WINED3D_POOL_SCRATCH, width 64, height 64, depth 1, surface_flags 0x3, device 0x1da698, parent 0x0, parent_ops 0x47e738fc, resource_ops 0x47e7a3c4. trace:d3d_texture:texture_init xf(1.000000) yf(1.000000) ... trace:d3d_texture:wined3d_texture_decref texture 0x123180, swapchain 0x0. ---
I see the difference is in surface_flags #define WINED3D_SURFACE_MAPPABLE 0x00000001 #define WINED3D_SURFACE_DISCARD 0x00000002 #define WINED3D_SURFACE_PIN_SYSMEM 0x00000004
any ideas?
https://bugs.winehq.org/show_bug.cgi?id=29586
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Sergey Isakov from comment #6)
It's a pity wine-stage with dxtn support doesn't help with this game with either native or builtin d3dx9_36.dll. With or without CSMT enabled. Enable or disable volume DXTn textures.
If you mean Wine Staging, it works fine here with Wine Staging 1.7.43. In fact this was one of the applications which was used for testing our DXTn patchset, see comment #5.
I can't test with MacOS though and I don't know which other patches you apply - Wine Staging doesn't claim to support volume DXTn textures, so you must be using something else.
The download link wasn't working for me, but the game is still available from http://www.arcadetown.com/partner/download.asp?gameid=tumblebugs2&aid=&a... . The checksum is the same as in the description.
https://bugs.winehq.org/show_bug.cgi?id=29586
--- Comment #8 from Sergey Isakov isakov-sl@bk.ru --- My checksum differs. May be this is the problem, thank you.
Volume DXTn prohibited in wine since 1.7.42 but for testing purpose I can reenable it. And got a crash as I written above. I know native d3dx9_36.dll contains full support for them but the crash happens somewhere else. Not related to this game, sorry.
https://bugs.winehq.org/show_bug.cgi?id=29586
--- Comment #9 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 51682 --> https://bugs.winehq.org/attachment.cgi?id=51682 good textures if accept patches for DXTn
https://bugs.winehq.org/show_bug.cgi?id=29586
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wined3d-DXTn
https://bugs.winehq.org/show_bug.cgi?id=29586
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=29586
--- Comment #10 from Sergey Isakov isakov-sl@bk.ru --- Looks like resolved in pure wine-2.0 even without DXTn support?
https://bugs.winehq.org/show_bug.cgi?id=29586
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/wined3d-DXTn |er/patches/wined3d-DXTn
https://bugs.winehq.org/show_bug.cgi?id=29586
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |425e84dac5c87f6b1e7d89b3630 | |17a045e4c0626 Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #11 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Sergey Isakov from comment #10)
Looks like resolved in pure wine-2.0 even without DXTn support?
Seems likely.
https://bugs.winehq.org/show_bug.cgi?id=29586
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.10.