Open palmerj opened 1 year ago
[mvk-error] VK_ERROR_INITIALIZATION_FAILED: Could not create MTLCounterSampleBuffer for query pool of type VK_QUERY_TYPE_TIMESTAMP. Reverting to emulated behavior. (Error code 1): Invalid sample buffer length: 65536 B. Expected range: 8 -> 32768
PR #1910 fixes the first set of errors involving VK_QUERY_TYPE_TIMESTAMP
. It will still output an error to the log, including the max number of timestamp queries that can be supported in a query pool, but it will no longer return an error code to the app, since MoltenVK will fall back to emulation if the number of queries requested is too large for Metal.
To improve accuracy and performance, the app should reduce the number of queries to 4096 (32768 / 8), so that MoltenVK can use native GPU time-stamping.
[mvk-error] VK_ERROR_FEATURE_NOT_PRESENT: vkCreateQueryPool: VK_QUERY_TYPE_PIPELINE_STATISTICS is not supported.
MoltenVK does not currently support VK_QUERY_TYPE_PIPELINE_STATISTICS
. The app can check this via vkGetPhysicalDeviceFeatures()
.
I've changed this issue to a request to add support for VK_QUERY_TYPE_PIPELINE_STATISTICS
when we can.
Trying to run Red Dead Redemption 2 using Vulkan (directx 12 is the only other option) on a M2Max results in the following error:
Game crash log doesn't contain anything:
I also tried adding the
-ignorepipelinecache
command line option to rdr2.exe and that made no difference.