MacOS, Apple Silicon Qemu Mesa and Vulcan

Hello, I build Qemu on M2 and I tried to launch SteamOS in virtual machine. Unfortunately both Qemu in rosetta mode (SteamOS has no native ARM version) and UTM emulation uses tcg so it’s painfully slow and it not allow to play games (SteamOS has some problem with Vulkan drivers)
People on macports was unhelpful beside saying Mesa3D has no hardware support on Apple Silicon but it can be added by the code.

So I tried to build Qemu with virtglrenderer support. Virtglrenderer not compile because libepoxy error because no EGL support. Trying to build Mesa from source gives me error that EGL require only Haiku, Android or DRI. I have no idea how to add DRI to Macos, I belileve this is just precaution in mesa.build to prevent building on unsupported platform. That being said I would likely to know:

  1. How can I contribute and where to start to bring full Mesa support on Apple GPU drivers?
  2. What is neccessary to improve Qemu handling of Vulkan drivers in emulation mode?
  3. Is Mesa3D on Macos really need full hardware support or for the gaming just Vulkan will be enough?

Also there was some initial attempt 2 years ago to create Metal version of CasparCG client (there is still no macos version despite demand is higher than on Linux) but one of the developers told me that Apple is not supporting Vulkan but I believe it’s not the case.

As I see Apple decision to move to ARM created additional complexity. I would like to contribute somehow but currenty I am in blind spot. Any help or suggestions?

1 Like

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.