iXit / wine-nine-standalone

Build Gallium Nine support on top of an existing WINE installation
GNU Lesser General Public License v2.1
272 stars 23 forks source link

Book of Demons, wrong format i guess #128

Open dungeon007 opened 2 years ago

dungeon007 commented 2 years ago

d3d9 game, renders fine on wined3d or dxvk... on nine seems picking up some non alpha format probably R32F instead of R32G32B32A32 or whatever, so i guess as a result of non alpha there are black things (look at health and mana circles or in game menu window animated transitions...) where alpha should be, but i could be wrong...

Trace here: https://drive.google.com/file/d/1uyPDZEAL0pfmozeORXiXDgXwRSMmUaIx/view?usp=sharing

axeldavy commented 2 years ago

Thanks for the report and the trace.

The texture formats seem pretty standard (A8R8G8B8 and DXT5), but the game is using fixed function for rendering. I bet we have some non-conformant behaviour in some corner case that is triggered here.

dungeon007 commented 2 years ago

On Windows it looks fine or on wined3d or dxvk on Linux... I found that dgVoodoo2 d3d9 wrapper run via d3d11/dxvk wrapper on wine looks the same as nine, so you are not alone: r2g_launcher_d3d11.log Meanwhile stright d3d9/dxvk renders fine and log looks like this: r2g_launcher_d3d9.log There are format differences of these logs or maybe that Auto Depth Stencil: false triggers something... no idea really, anyway maybe you can spot something from these wrappers differences with these logs.