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.63k stars 402 forks source link

Regression since MoltenVK 1.2.7 specific to Apple silicon #2220

Open alexey-lysiuk opened 2 months ago

alexey-lysiuk commented 2 months ago

MoltenVK 1.2.7+ has a regression of unknown origin reported here and here. Both projects share mostly identical Vulkan rendering backend.

For example, this version was built with MoltenVK 1.2.8, and it exhibits the mentioned pink screen issue. This version was built MoltenVK 1.2.6, and it's not affected by it.

I cannot reproduce this problem on Intel hardware, with UHD 630 in particular. Although, it has 100% repro on various M1 and M2 products. It doesn't seem to be dependent on macOS version, it was reported on outdated Ventura and on up-to-date Sonoma.

The problem is, I have no ability to debug anything on Apple silicon hardware, and I cannot perform exhaustive testing like bisecting MotlenVK commits. Maybe you can pinpoint what can lead to such issue on your side.

billhollings commented 2 months ago

Interesting (and fortunate) that both of the origin report you mention have been successfully patched and closed in the ZDoom engine already.

I've requested from them info about the nature of their patch, to see if there is anything we need to do here.

alexey-lysiuk commented 2 months ago

Issues were closed because the recent releases were made with MoltenVK 1.2.6.

rcaridade145 commented 2 months ago

What is the frame buffer format? During the dev of 1.2.7 this was accepted https://github.com/KhronosGroup/MoltenVK/pull/2074/ .

alexey-lysiuk commented 2 months ago

What is the frame buffer format?

I have no ability to debug anything on Apple silicon hardware, and I cannot perform exhaustive testing like bisecting MotlenVK commits.