Skip to content

Custom MESA & SwiftShader Windows drivers

Latest
Compare
Choose a tag to compare
@StefanG3D StefanG3D released this 22 Mar 16:38
28044a7

Change log at Geeks3D

All credits go to the authors of the source codes - "I'm just a cook"
Many thanks to mmozeiko, whose build.cmd i have heavily modified over time

Drivers are built against latest Vulkan headers & MESA & SwiftShader & LLVM commits


Create a system restore point before before trying ANY new software!

On legacy systems without offical Vulkan support install the Vulkan loader from Lunar at first

Never ever copy opengl32.dll into the Windows system folders!
I wrote some batch files that can be used inside a program folder, paths need to be aligned.
If you prefer "set" to "setx /m", then edit that as well

Settings for zink on LLVMPIPE/SwiftShader/WARP

  • setx /m GALLIUM_DRIVER zink
  • setx /m LIBGL_ALWAYS_SOFTWARE true
  • setx /m MESA_GL_VERSION_OVERRIDE 4.6
  • setx /m MESA_GLSL_VERSION_OVERRIDE 460
  • setx /m MESA_GLES_VERSION_OVERRIDE 3.2
  • setx /m VK_DRIVER_FILES path\to\whatever.json

Don't install LAVA drivers under [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers]
DZN and SwiftShader are OK there

If you are missing dxil.dll, then get it from here


Terakan - fork for AMD Terascale discrete GPUs
(Build parameter for Meson: -Dvulkan-drivers=amd_terascale)

zink & SwiftShader patched to expose VK_HEADER_VERSION_COMPLETE as seen in other drivers

SwiftShader 32 bit fails to build against LLVM16, ie stuck at LLVM10

Draft: virgl/win: Virtio GPU 3D acceleration for windows
Untested, idk how to configure that :P

Stefan069-20240510-172412