Comments (5)
This should be fixed with the release of yesterday’s drivers. Could you please try with driver version 460.xx?
from vk_raytracing_tutorial_khr.
I have checked the Windows 460.89-desktop-win10-64bit driver.
The crash is the same:
Exception thrown at 0x00007FFBA36314D7 (nvoglv64.dll) in main.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
nvoglv64.dll!00007ffba36314d7() Unknown
nvoglv64.dll!00007ffba247b1de() Unknown
nvoglv64.dll!00007ffba24756f0() Unknown
But everything is fine when the opcode is SpvOpTraceNV (5337) instead of SpvOpTraceRayKHR (4445):
if(name == "traceRayEXT") opcode = SpvOpTraceNV;
It cannot be an error in that line. Moreover, I removed all references to ray_trace_NV extension from the compiler.
The only error from the latest (1.2.162) debug runtime is that the opcode is incorrect:
Validation 0: Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x14e7728, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: Opcode TraceNV re
quires one of these capabilities: RayTracingNV
OpTraceNV %204 %uint_4 %int_255 %int_0 %int_0 %int_0 %207 %float_0 %208 %float_1 %int_0
Thank you!
from vk_raytracing_tutorial_khr.
There are links to *.spv files:
https://www.icloud.com/...
https://www.icloud.com/...
Spirv validator reports zero errors. Disassembler prints NV mnemonics because KHR and NV extensions share many symbols.
Thank you!
from vk_raytracing_tutorial_khr.
This sounds like the wrong validation layer DLL is used. Maybe there is two SDK on the system and it is picking up an older version.
To force Vulkan to use the proper layers, you can set the environment variable VK_LAYER_PATH
.
Here is how all environment variables should be set
VULKAN_SDK=C:\VulkanSDK\1.2.162.0
VK_LAYER_PATH=C:\VulkanSDK\1.2.162.0\Bin
VK_SDK_PATH=C:\VulkanSDK\1.2.162.0
from vk_raytracing_tutorial_khr.
Oops, it was my error. SpvOpTraceNV and SpvOpTraceRayKHR receives different arguments.
The first one requires a payload index as an argument. The second one requires payload as a reference to the payload variable.
The validation layer doesn't check that. Moreover, the new glslangValidator magically converts the payload index to the payload variable reference.
Thank you!
from vk_raytracing_tutorial_khr.
Related Issues (20)
- ray_tracing_ao crash HOT 2
- Error in hello-vulkan during compilation HOT 4
- Why did the QUADRO P620 support raytrace? HOT 2
- ray_tracing_motionblur: Validation error HOT 2
- ray_tracing_ao crashes when Nsight is used HOT 2
- Fix raytrace.rgen in ray_tracing__advance HOT 1
- Incorrect srcStageMask in vkCmdPipelineBarrier in ray_tracing_ao HOT 2
- Second rmiss shader defined too early in the tutorial HOT 1
- add new simple sample showing usage of Ada SER functionality (via new VK NV SER ext) HOT 1
- add new simple sample showing new Ada OMM functionality (via new VK NV OMM ext) HOT 1
- What does Nb mean? HOT 2
- confusion about Path_tracing cosine distributed Pdf HOT 7
- gl_InstanceId and gl_InstanceCustomIndex HOT 5
- VK_BUFFER_USAGE_STORAGE_BUFFER_BIT for vertices and indices buffer HOT 2
- gl_LaunchSizeEXT corresponds to the image size provided when calling traceRayEXT HOT 2
- Could NOT find VulkanSDK (missing: VULKAN_LIB VULKANSDK_SHADERC_LIB) HOT 3
- Runtime error in creating swapchain on Tesla T4
- The tutorial page is blank HOT 2
- Link is broken HOT 4
- issue on win10 when cmake HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vk_raytracing_tutorial_khr.