KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
Crash/Hang when using GPU-assisted validation
- Dominant language
- C++
- Stars
- 1k
- Forks
- 504
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 224
Description
**Environment:**
- OS: Windows 10 22H2 19045.6216
- GPU and driver version: RTX 2070 Super, driver 577.0
- SDK or header version if building from repo: 1.4.321.1
- Options enabled (synchronization, best practices, etc.): GPU-Assisted preset with no modifications
**Describe the Issue**
When running my application under standard validation or synchronization validation, it behaves normally with no errors raised. When I run with GPU-assisted validation enabled I get a segmentation fault inside of `vkCreateGraphicsPipelines` with no errors logged from the layer. Interestingly, when I enable the ray tracing extensions, this crash turns into an infinite hang. The additional extensions were: `VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME`, `VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME`, `VK_KHR_RAY_QUERY_EXTENSION_NAME`, `VK_KHR_DEFERRED_HOST_OPERATIONS_EXTENSION_NAME`, `VK_KHR_DEFERRED_HOST_OPERATIONS_EXTENSION_NAME`, `VK_KHR_SPIRV_1_4_EXTENSION_NAME`, `VK_KHR_SHADER_FLOAT_CONTROLS_EXTENSION_NAME`, `VK_KHR_SHADER_FLOAT_CONTROLS_2_EXTENSION_NAME`
SPIRVs for the vertex and fragment shaders in the pipeline: [pipeline-spirvs.zip](https://github.com/user-attachments/files/22085338/pipeline-spirvs.zip)
**Expected behavior**
The validation layer should either proceed normally or report an error.
**Valid Usage ID**
If applicable, please include the validation messages encountered leading up to the issue
Messages (hang)
```
[Vulkan Loader] ERROR: loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
[Vulkan Loader] ERROR: loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
[Vulkan Loader] ERROR: loader_get_json: Failed to open JSON file C:\Program Files\Rockstar Games\Social Club\SocialClubVulkanLayer.json
[2025-09-02 00:45:32.6349829] WARN - loader_create_device_chain: Using deprecated and ignored 'ppEnabledLayerNames' member of 'VkDeviceCreateInfo' when creating a Vulkan device.
[2025-09-02 00:45:32.7954873] WARN - vkCreateDevice(): Internal Warning: Ray Query validation option was enabled, but the rayQuery feature was not supported [Disabling gpuav_validate_ray_query]
```
**Additional context**
code or terminal output
Call stack (hang):
```
nvoglv64.dll!00007ffcd010ec76() Unknown
nvoglv64.dll!00007ffcd00ff1aa() Unknown
nvoglv64.dll!00007ffcd01cef8f() Unknown
nvoglv64.dll!00007ffcd0158b26() Unknown
nvoglv64.dll!00007ffccefc1755() Unknown
nvoglv64.dll!00007ffccfe575cb() Unknown
nvoglv64.dll!00007ffccfe557ca() Unknown
nvoglv64.dll!00007ffccfe5b570() Unknown
nvoglv64.dll!00007ffccfe5abab() Unknown
nvoglv64.dll!00007ffccfe59b1d() Unknown
nvoglv64.dll!00007ffccfe5f687() Unknown
nvoglv64.dll!00007ffccfe41eaa() Unknown
nvoglv64.dll!00007ffccfd219af() Unknown
VkLayer_khronos_validation.dll!vvl::dispatch::Device::CreateGraphicsPipelines(VkDevice_T * device, VkPipelineCache_T * pipelineCache, unsigned int createInfoCount, const VkGraphicsPipelineCreateInfo * pCreateInfos, const VkAllocationCallbacks * pAllocator, VkPipeline_T * * pPipelines) Line 959 C++
VkLayer_khronos_validation.dll!vulkan_layer_chassis::CreateGraphicsPipelines(VkDevice_T * device, VkPipelineCache_T * pipelineCache, unsigned int createInfoCount, const VkGraphicsPipelineCreateInfo * pCreateInfos, const VkAllocationCallbacks * pAllocator, VkPipeline_T * * pPipelines) Line 525 C++
vulkan-1.dll!00007ffcd1824627() Unknown
```
Contributor guide
Assessment
This issue has not been assessed yet.