pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
907 stars 80 forks source link

How to install manually/tell it is working? #59

Open dumpsters opened 3 years ago

dumpsters commented 3 years ago

Hello I've tried manually installing the .dll's to test zink and d3d12 but I can't tell when it is working or not, I've tried MSI afterburner but no matter what I do it's always displayed as "OGL", shouldn't it display VULKAN for zink or D3D12 for OpenglOn12?

How I installed d3d12:

Copied openglon12.dll, libGLESv2.dll, libGLESv1_CM.dll, dxil.dll, libglapi.dll to the same folder the .exe file is at. Set the GALLIUM_DRIVER env variable to d3d12. GALLIUM_HUD doesn't show up.

How I installed zink: Copied opengl32.dll, libGLESv2.dll, libGLESv1_CM.dll, libglapi.dll to the same folder the .exe file is at. Set the GALLIUM_DRIVER env variable to zink. GALLIUM_HUD shows up.

Am I missing a step here? should I mess with opengl version overrides etc?

Thanks in advance.

pal1000 commented 3 years ago

I think you misunderstood what zink and GLonD3D12 do. They are actually OpenGL drivers just like llvmpipe, swr and softpipe. The most important trait of them is that they use GPU when possible providing better performance. The only Vulkan driver in Mesa3D that supports Windows is lavapipe, but you won't see it until 21.1.0.

Regarding manual deployment, you got it right for zink, but for GLonD3D12 you need to copy opengl32.dll, libGLESv2.dll, libGLESv1_CM.dll, dxil.dll, libglapi.dll to the same folder the .exe file is at then set the GALLIUM_DRIVER env variable to d3d12. openglon12.dll is only for systems without any OpenGL driver installed.

dumpsters commented 3 years ago

I see, I thought zink was similar to DXVK so I'd see "VULKAN" in the display. I'll give GLonD3D12 another try, thanks.