Error with vkEnumeratePhysicalDevices

Hello, when I run vkEnumeratePhysicalDevices the error “setupLoaderTrampPhysDevs: Failed during dispatch call of ‘vkEnumeratePhysicalDevices’ to lower layers or loader to get count.” prints.
I made a thread on this a while ago ( [Does the RTX 2060 mobile support vulkan?]) but back then I didn’t use DebugReportCallbackEXT so this error never showed up. Somehow I managed to fix it back then by updating some radeon drivers, but now the same problem reappeared. I tried all the fixes in the previous thread but none worked.
I have a laptop with rtx 2060 mobile and a ryzen 7 3750H with an iGPU.

Any relation to vkEnumeratePhysicalDevices incorrect results - #3 by charles-giessen?

That did solve it,.
I ran set DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1 on cmd, restarted and now it works!

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.