https://bugs.winehq.org/show_bug.cgi?id=51032
--- Comment #5 from Ancheng acyellow@gmail.com --- (In reply to Stefan Dösinger from comment #3)
fwiw the log contains hints towards certain missing features in out d3d11 implementation:
"Class linkage is not implemented yet" - ID3D11ClassLinkage parameter for d3d11 shaders Backend can't handle opcode dcl_stream. Unhandled DXGI usage 0x40 WARP driver not implemented, falling back to hardware.
Ancheng: is there any quick workaround for me to avoid the above error?
The latter is troublesome. I suspect there is a reason why the application specifically requests the WARP driver. Or are you running this inside a virtual machine without 3D hardware? Maybe the application is doing something questionable on its side that won't work with HW d3d; In thiscase it is also likely to fail with HW GL.
Ancheng: My environment: Windows VM + NVIDIA T4 GPU(Passthrough mode), replace d3d9.dll, d3d11.dll, dxgi.dll and wined3d.dll with Wine. In this case when run Revit, the GPU occupation is higher(5%-20%). In the original NVIDIA D3D dll environment, d3d10warp.dll is loaded by Revit and also use GPU hardware to render(GPU occupation is higher). So seems that Revit just uses WARP driver to render in some cases, it also uses GPU HW to render.
I attach a full log from openning Revit to the black screen bug, any sugguestion is welcome, I can try your idea in my environment. Thanks a lot.