https://bugs.winehq.org/show_bug.cgi?id=52884
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to Tomáš Bžatek from comment #2)
Thanks, disabling d3d12.dll made it seemingly work (incredible to see apps working just fine with missing libraries).
Often (as here) the libraries just aren't available on older versions of Windows, so it broadly makes sense.
Also changed the return code to S_OK as suggested and managed to get further! Seems to be reasonably stable now, GPU acceleration is now indicated as enabled though the performance is roughly on the same level as before (GDI rendering only), i.e. rather slow (still around ~3 fps even for basic image zooming and panning).
...
0124:fixme:vulkan:X11DRV_vkCreateWin32SurfaceKHR Application requires child window rendering, which is not implemented yet! 0124:fixme:dxgi:hresult_from_vk_result Unhandled VkResult -9.
Right, so it needs child window rendering, aka bug 45277. I guess we end up going through GDI if that's not available, but that would be rather slow. There are some patches linked to that bug that might help, although that area is being thrashed a lot lately so I'm not sure if there's anything that currently applies...