MINGW-packages: MESA/d3d12 driver not working

There seem to be severe issues with the MESA d3d12 driver. I have installed it and almost all GL programs do not work anymore:

  • gtk4-demo
  • gtk3-demo (works until you open the OpenGL demo)
  • blender

I wonder if MESA/d3d12 supports mingw-w64 at all.

  • Their CI compiles with VS2019
  • MESA/d3d12 uses DirectX-Headers, which probably doesn’t support the mingw-w64 ABI

Also, I see some warnings like this:

../../src/gallium/drivers/d3d12/d3d12_video_screen.cpp:462:63: warning: format specifies type 'unsigned int' but the argument has type 'HRESULT' (aka 'long') [-Wformat]
      debug_printf("CheckFeatureSupport failed with HR %x\n", hr);
                                                       ~~     ^~
                                                       %lx

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

With only LIBGL_ALWAYS_SOFTWARE=1 llvmpipe would be used instead of d3d12 IIRC.

similar to #7530