KhronosGroup / MoltenVK

MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.64k stars 402 forks source link

Graphical glitch in DCS: World - MoltenVK 1.2.5 - DXVK (crossover) #2162

Open alessioprescenzo opened 4 months ago

alessioprescenzo commented 4 months ago

Hi, I'm encountering some graphical glitches in DCS World running through crossover 24 beta 3 in macOS 14.3, this occurs with DXVK CX-1.10.3(crossover included) and MoltenVK 1.2.5(also crossover included). I'll attach a screenshot: image

There's 2 problem:

I'll provide more info if useful.

Thanks in advance

alessioprescenzo commented 4 months ago

Hi, i can now provide a much more detailed log that i'm sure would be useful to debug this: Here's a log i got by running the game via CLI, however the game crashes when ran via this method: DCS-MVK Logs-Crash.txt

I've used the same mission to avoid too much variables Thanks again

italomandara commented 4 months ago

Hi, i can now provide a much more detailed log that i'm sure would be useful to debug this: Here's a log i got by running the game via CLI, however the game crashes when ran via this method: DCS-MVK Logs-Crash.txt

I've used the same mission to avoid too much variables Thanks again

This is your answer (from that log): Geometry shader function could not be compiled into pipeline. See previous logged error. MVK doesn't support geometry shaders at the moment. There's an issue open for geometry shaders support and also a Pull request but it's a work in progress.

Gcenx commented 4 months ago

@alessioprescenzo CodeWeavers ship a highly customized version of MoltenVK, you'd want to report issues to them directly.

In this case I can tell you that what @italomandara said is correct that's the lack of geometry shaders, you'd need to test using WineD3D Vulkan to make use of CodeWeavers partial implementation.

alessioprescenzo commented 4 months ago

@Gcenx Thanks for the insight!

I was actually already aware of Crossover modified libs, in fact in my many tests I've made I also compiled MoltenVK and DXVK-MacOS (@Gcenx thank you for the repo :) ) and modified Crossover to use those, and it was in fact using the custom libs as i could tell by both the console and the full DXVK HUD, but the issues were pretty much the same as with the shipped libs.

I've also tested wined3d in crossover and that gets me through launching a mission with clouds on, but the sky is still orange and the terrain presents all kind of issue, so that's a no go for that route for now, but i'll keep this option in mind.

Thanks again!