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

ray_tracing_ao crash #35

Closed
wiltchamberian opened this issue Sep 27, 2021 · 2 comments
Closed

ray_tracing_ao crash #35

wiltchamberian opened this issue Sep 27, 2021 · 2 comments

Comments

@wiltchamberian
Copy link

on my win7 x64 pc , with the Vulkan SDK 1.2.162.1 with Visual Studio 2019 Debug x64
when I run the ray_tracing_ao demo,
it crash at: void HelloVulkan::createCompPipelines()
VkResult res = vkCreateComputePipelines(m_device, {}, 1, &cpCreateInfo, nullptr, &m_compPipeline);

in this function ,it crashes.

@NBickford-NV
Copy link
Contributor

Hi yao tang!

I've just verified that the latest version should work (my system has Vulkan SDK 1.2.189 and NV driver 471.55) - could you give me more information about the system you're running on and the crash? Specifically,

  • What GPU are you using?
  • What GPU driver version are you using?
  • Would it be possible to get a minidump when it runs into the crash?

Thanks!

@mklefrancois
Copy link
Collaborator

@wiltchamberian, it works also for me, but I'm also using 1.2.189.0 and a very recent video driver. The graphic card is GeForce RTX 3060 Ti, which is supporting VK_KHR_ray_query. If you have all of the above and still fails, check if the shader is compiled and loaded one line above.

  cpCreateInfo.stage = nvvk::createShaderStageInfo(m_device, nvh::loadFile("spv/ao.comp.spv", true, defaultSearchPaths, true),
                                                   VK_SHADER_STAGE_COMPUTE_BIT);

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

3 participants