protonscr

DXVK with Wine on macOS?

dxvkclosed
doitsujin/dxvk#1017 · opened 2019-04-17 by The-SamminAter · updated 2021-10-19 · 13 comments · github
TThe-SamminAter 2019-04-17 github

Since Wine for macOS supports Vulkan via MoltenVK, could DXVK somehow be used with Wine to run DX10/11 Windows games on macOS?

KK0bin maintainer 2019-04-17 github

There's an issue on the MoltenVK bug tracker about this: https://github.com/KhronosGroup/MoltenVK/issues/203

tl;dr: Metal doesn't support all Vulkan features that DXVK relies on.

Ccdavis5e 2019-04-17 github

Also, at least one upcoming port of ours (CodeWeavers') will use DXVK to support D3D11 graphics on Mac.

TThe-SamminAter 2019-04-18 github

In the future is it likely that Wine will be able to play DX10/11 games on macOS (with MoltenVK and DXVK)?

KK0bin maintainer 2019-04-18 github

There might be some games that work but a lot of them probably rely on features that MoltenVK cant implement.

UUInt2048 2020-12-23 github

According to the aforementioned KhronosGroup/MoltenVK#203, CodeWeavers has made some customisation to DXVK or something to allow DirectX11 to work in CrossOver 20. Do you think there is any possibility for macOS now?

KK0bin maintainer 2020-12-23 github

Do you think there is any possibility for macOS now?

I think all CW did was disable a few hard requirements of DXVK.
FWIW there are still a lot of issues with it like the lack of geometry shaders.

Aside from that, I don't think anyone is willing to maintain Mac OS support in DXVK considering you'd have to buy Apple hardware first.

Mmisyltoad 2020-12-23 github

I am never touching that shitty platform again.

If someone wants to maintain support for that they are welcome to pull request genuine fixes. I'd rather not us have hacks that will only work in games specifically designed for it though.

Ddoitsujin maintainer 2020-12-23 github

CW have their own fork of DXVK that works around MVK's lack of features. There won't be official support for it in upstream DXVK since none of us here use, or care about, Mac OS X. It's nice that it works, though.

Mmozo78 2020-12-23 github

I don't want to offend anyone but I think macOS don't deserve DXVK support. Don't use Apple's shitty hardware and software - problem solved.

SSteveGremory 2021-10-19 github

well this has certainly changed, the M1 Max macs that released yesterday promise good performance and it'd be a huge waste to let it rot just like that, no?

KK0bin maintainer 2021-10-19 github

MoltenVK still does not support all the required features (mostly because Metal doesn't support those features either). Codeweavers has a DXVK fork that just disables the unsupported stuff but compatibility will obviously be nowhere near as good as on Linux with a good Vulkan driver.

CConarius 2021-10-19 github

MoltenVK still does not support all the required features. Codeweavers has a DXVK fork that just disables the unsupported stuff but compatibility will obviously be nowhere near as good as on Linux with a good Vulkan driver.

I'd say that CodeWeavers are responsible for making MoltenVK better so it has all the required features for DXVK as of now.
The alternative would be to have an additional translation layer that translates DirectX to the Metal API but then there's the question which features of DirectX have an equivalent in the Metal API. And who would maintain that project would bethe last question there.

Ddoitsujin maintainer 2021-10-19 github

We have no incentive to support Mac OS and that won't change.

Upstream links