Gcenx / macports-wine

Updated wine Portfiles for macports
89 stars 11 forks source link

Wine can't load MoltenVK #46

Closed gasinvein closed 1 year ago

gasinvein commented 1 year ago

Trying to run a x64 vkcube.exe with Wine on a M1 mac gives this error window:

wine_moltenvk_error

while wine prints the following errors:

0024:err:vulkan:wine_vk_init Failed to load libMoltenVK.dylib
0024:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.

However, with MoltenVK installed from the main MacPorts repo, vkcube.exe does work.

Gcenx commented 1 year ago

Ah yes I didn’t get chance to fix the MoltenVK Portfile, what’s happening is it’s only being installed for arm64.

gasinvein commented 1 year ago

Hmm, given the MoltenVK port from the main repo seems to work fine, why do you need a custom one at all?

Gcenx commented 1 year ago

Hmm, given the MoltenVK port from the main repo seems to work fine.

It really shouldn’t be working as your calling arm64 arch for MoltenVK but the Portfile installs as arm64 & x86_64. That’s actually my mistake see https://github.com/macports/macports-ports/blob/master/graphics/MoltenVK/Portfile

why do you need a custom one at all?

It took a very long time to convince Ryan to even update the MoltenVK Portfile, where as having a custom one I can update it as soon as I push a new build to my personal mirror.

Gcenx commented 1 year ago

I’ve committed some changes in #47 this hasn’t been tested yet as I’m at work.

Gcenx commented 1 year ago

The wine ports and MoltenVK have now been fixed, I didn’t rev bump MoltenVK however.

gasinvein commented 1 year ago

Thanks!