Closed Cuicunhao closed 1 year ago
It seems the BVH tree is invalid and you get an error when traceRay function tries to read it.
Did you change the use_external_launcher
to false
when dumping the trace?
Can you check the files in your dumped trace? The files should look similar to this.
The same thing is happening to me. I changed use_external_launcher
to false
and commented out the continue;
s, and then compiled using make -j
, and after executing ./RayTracer
the files in my dumped trace look like this:
Also, when executing ./RayTracer
, the screen is completely black when the Ray Tracing option is enabled, but the scene can be seen when the option is disabled.
We've just released Vulkan-Sim 2.0.0 and the corresponding mesa repo which removes the Intel driver dependency and can now be run directly on any CPU. There is no longer a need to use the trace runner / traces and you can just run the Vulkan RT application directly.
Thanks a lot, I'm sorry for the delayed response. I will attempt to use Vulkan-Sim 2.0.0 and close this issue.
Hello, when I tried to run the "./vulkan_rt_runner RTV6-trace/ RTV6, I got a segmentation fault. When I followed the tutorial instructions and rerun using gdb, I found that it crashes at
VulkanRayTracing::traceRay
. I'm not sure if this issue is due to not waiting for 'Trace dumped' to appear in the terminal when running RTV6. Because I did not find 'Trace dumped' in the terminal, but the terminal displayed the interface shown in the following figure, I felt that the program had already run. Could you please help me solve the segmentation fault? Thanks a lot.