Skip to content

Playing with Mesa OpenGL drivers on Windows #7

@shirok1

Description

@shirok1

Not an actual issue, just something interesting to play with. I see that Mesa is providing GLonD3D12 and Zink (GL on Vulkan). I downloaded Mesa OpenGL drivers from https://github.com/pal1000/mesa-dist-win/releases/tag/24.1.1 (notice that 24.0.9 should be used since they broke it in 24.1), extracted these files:

  • opengl32.dll
  • libgallium_wgl.dll
  • libglapi.dll
  • dxil.dll (for GLonD3D12 only)

Beside diva.exe. Then launch the game as usual. A wrapper device should be showing in GPU Info:

Screenshot

To switch between drivers (backends), use GALLIUM_DRIVER environment variable. Possible values: d3d12, zink, llvmpipe (CPU backend)

Unfortunately, performance statistic OSD is not quite working on my machine, so I won't be able to prove if this worth a try when GPU vendor provided a poor GL driver (not my case, I'm running an NVIDIA Ampere). But solely from frame rate perspective, I can see that Zink only loss about 2 to 3 frames and GLonD3D12 is even on a pair with stock driver. Would you like to test it out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions