pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
950 stars 82 forks source link

Zink on Windows+AMD/Nvidia Vulkan Drivers #50

Open donizettilorenzo opened 3 years ago

donizettilorenzo commented 3 years ago

Using "mesa3d-21.0.0-rc5-release-msvc.7z"

Gallium=llvmpipe -> perfectly working Gallium=D3D12 -> perfectly working Gallium=zink -> ?!?!?!?!

donizettilorenzo commented 3 years ago

With MinGW release and the hotfix my OpenGL application starts and works setting Gallium=zink but it runs slower than selecting LLVMPipe ! Is it expected? Don't think so.....

pal1000 commented 3 years ago

Using "mesa3d-21.0.0-rc5-release-msvc.7z" Gallium=zink -> ?!?!?!?!

This is normal due to zink driver not being available in MSVC package. Nobody worked upstream to get zink to build with MSVC, yet.

With MinGW release and the hotfix my OpenGL application starts and works setting Gallium=zink but it runs slower than selecting LLVMPipe ! Is it expected? Don't think so.....

I don't think so either, This is the kind of issue that can only be addressed upstream.

qwertychouskie commented 2 years ago

Putting this here since this issue keeps getting linked on Reddit and such...

Mesa 22.1 and above include Kopper which should let Zink on Windows run with reasonable performance.

https://www.supergoodcode.com/announcing-kopper/ https://www.phoronix.com/news/Mesa-22.1-Released

xcom169 commented 1 year ago

Hello All, Do you have any updates that Zink is possible on Windows like DXVK?

pal1000 commented 1 year ago

You have to try to find out if it works.

EricPlayZ commented 6 months ago

Hello All, Do you have any updates that Zink is possible on Windows like DXVK?

It does work! Download a release, use the per-app deployment and configure it to your liking (I usually hit yes to everything in case I'm not sure whether it needs support for something or not). Then, in your system environment variables, set GALLIUM_DRIVER to zink and that's it.

You can also set MESA_GL_VERSION_OVERRIDE to 4.4 or 4.6 to avoid any problems with certain games that need 4.4/4.6. image

poria82 commented 2 months ago

Hello All, Do you have any updates that Zink is possible on Windows like DXVK?

It does work! Download a release, use the per-app deployment and configure it to your liking (I usually hit yes to everything in case I'm not sure whether it needs support for something or not). Then, in your system environment variables, set GALLIUM_DRIVER to zink and that's it.

You can also set MESA_GL_VERSION_OVERRIDE to 4.4 or 4.6 to avoid any problems with certain games that need 4.4/4.6. image

Tnx now it works for me❤