protonscr

[macOS] Any app with Vulkan/D3D11->DXVK crashes on start

protonclosed
ValveSoftware/Proton#235 · opened 2018-08-23 by pblyp · updated 2020-04-09 · 9 comments · github
1 matching comments, n / p to jump
Ppblyp 2018-08-23 github

Hardware: Macbook Air 13" late 2015
Software: macOS 10.13.6

Tried running cube.exe demo from the Vulkan SDK and it failed:

MacBook-Air-gman:dist gman$ STEAM_COMPAT_DATA_PATH=~/SteamCompatDataPath ./proton run ~/SteamCompatDataPath/pfx/drive_c/cube.exe 
[mvk-info] MoltenVK version 1.0.10. Vulkan version 1.0.75.
[mvk-info] GPU device:
		model: Intel(R) Iris(TM) Graphics 6000
		type: Integrated
		vendorID: 0x8086
		deviceID: 0x1626
		pipelineCacheUUID: 00000000-0000-0000-0000-27130000271A
	supports the following Metal Feature Sets:
		macOS GPU Family 1 v3
		macOS GPU Family 1 v2
		macOS GPU Family 1 v1
wine: Unhandled page fault on read access to 0xffffffffffffffff at address 0x46164da4 (thread 0009), starting debugger...
winedbg: Internal crash at 0x431257a5
MacBook-Air-gman:dist gman$ wine: Unhandled page fault on execute access to 0x4561b4b0 at address 0x4561b4b0 (thread 0025), starting debugger...

Also tried running Banished in DX11, but it resorts to using DX9 render.

Fflukejones 2018-08-23 github

This occurs for anything using Vulkan currently (either direct or with D3D11).

MMushoz 2018-08-23 github

If the .exe is using Vulkan itself (as is the case with demos from the Vulkan SDK), then the calls do not go through any translational layer, so DXVK isn't used in this case.

Have you tried running native Vulkan demos for MacOS? Do these run properly?

Ppblyp 2018-08-23 github

@Mushoz Yes, cube.app and cubepp.app from the official Mac dist of Vulkan SDK do run.

MMushoz 2018-08-23 github

Then unfortunately I do not know what is going wrong. Hopefully someone else with more knowledge than me will chime in :)

Fflukejones 2018-08-27 github

It looks like this is an issue with something on the Valve side. I was able to build a wine version from winhq using the MoltenVK compiled by the proton build script, and then run the cube.exe from the Vulkan SDK - Doom still crashes however (threading issue?). Will keep digging.

Fflukejones 2018-08-27 github

Replacing the Wine version in Proton with the git source from winehq allows cube.exe to run fine.

screen shot 2018-08-28 at 11 55 56 am
Fflukejones 2018-08-28 github

Running vkQuake windows build is also working fine through the MoltenVK layer, using winehq source and not Valve modified source.

Nnobodywasishere 2019-07-10 github

This issue should be closed due to the removal of macOS support