Problem with launch
Hi, I'm having a problem at startup. I've done all the steps related to dependencies and cmake generation. But when I ran rtxOn.exe in Visual Studio 2022 I got this error. And it also indicated that there was an error with vkCreateDevice in vulkanapp.cpp file on line 353. I already updated the Nvidia driver, reinstalled VulkanSDK. I have RTX 3060 mobile. Can you help me?
I am on an Nvidia Optimus laptop here on linux. I was having similar issues. The problem is that the program tries to use the first gpu on the Vulkan Device discovery process.
Change
mPhysicalDevice = physDevices[0];
to
mPhysicalDevice = physDevices[1];
at src/framework/vulkanapp.cpp:208
That should use the other gpu.
There is way to use only the gpu which supports the required features but this is a hacky fix.