Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with launch #16

Open
dorohovGeorge opened this issue Jun 7, 2023 · 1 comment
Open

Problem with launch #16

dorohovGeorge opened this issue Jun 7, 2023 · 1 comment

Comments

@dorohovGeorge
Copy link

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?
image

@Dr-42
Copy link

Dr-42 commented Aug 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants