Skip to content

01_foundation crashing on system #100

Description

@Wide0125
PS C:\Users\brian\Desktop\Code\NVIDIA Vulkan Ray Tracing Tutorial\vk_raytracing_tutorial_KHR> .\_bin\Debug\01_foundation.exe
Creating Vulkan Context
| nvvk::Context::createInstanceValidation Warning: [ VALIDATION-SETTINGS ] | MessageID = 0x7f1922d7
vkCreateInstance(): The setting "fine_grained_locking" in VkLayerSettingsCreateInfoEXT was not recognized by the Validation Layers. Please view the VkLayer_khronos_validation.json for a list of all settings.

Validation Warning: [ VALIDATION-SETTINGS ] | MessageID = 0x7f1922d7
vkCreateInstance(): The setting "gpuav_validate_ray_query" in VkLayerSettingsCreateInfoEXT was not recognized by the Validation Layers. Please view the VkLayer_khronos_validation.json for a list of all settings.

Validation Warning: [ VALIDATION-SETTINGS ] | MessageID = 0x7f1922d7
vkCreateInstance(): gpuav_validate_ray_query advanced setting was removed, just use gpuav_validate_trace_ray now.

 -> 57.729 ms
|-> 72.684 ms

_________________________________________________
Vulkan Version:  1.4.357

_________________________________________________
Available Instance Layers :
VK_LAYER_AMD_switchable_graphics (v. 1.4.315 1) : AMD switchable graphics layer
VK_LAYER_EOS_Overlay (v. 1.2.136 1) : Vulkan overlay layer for Epic Online Services
VK_LAYER_RENDERDOC_Capture (v. 1.4.324 45) : Debugging capture layer for RenderDoc
VK_LAYER_NV_nomad_release_public_2026_3_0 (v. 1.4.299 1) : NVIDIA Nsight Graphics interception layer
VK_LAYER_NV_GPU_Trace_release_public_2026_3_0 (v. 1.3.202 1) : NVIDIA Nsight Graphics GPU Trace interception layer
VK_LAYER_NV_ngfx_capture_release_public_2026_3_0 (v. 1.4.299 1) : NVIDIA Nsight Graphics Capture layer
VK_LAYER_NV_shader_debugger_release_public_2026_3_0 (v. 1.3.205 1) : NVIDIA shader debugging layer
VK_LAYER_VALVE_steam_overlay (v. 1.3.207 1) : Steam Overlay Layer
VK_LAYER_VALVE_steam_fossilize (v. 1.4.303 1) : Steam Pipeline Caching Layer
VK_LAYER_OBS_HOOK (v. 1.3.216 1) : Open Broadcaster Software hook
VK_LAYER_ROCKSTAR_GAMES_social_club (v. 1.0.70 1) : Rockstar Games Social Club Layer
VK_LAYER_LUNARG_api_dump (v. 1.4.357 2) : LunarG API dump layer
VK_LAYER_LUNARG_gfxreconstruct (v. 1.4.357 4194309) : GFXReconstruct Capture Layer Version 1.0.5
VK_LAYER_KHRONOS_synchronization2 (v. 1.4.357 1) : Khronos Synchronization2 layer
VK_LAYER_KHRONOS_validation (v. 1.4.357 1) : Khronos Validation Layer
VK_LAYER_LUNARG_monitor (v. 1.4.357 1) : Execution Monitoring Layer
VK_LAYER_LUNARG_screenshot (v. 1.4.357 1) : LunarG image capture layer
VK_LAYER_KHRONOS_profiles (v. 1.4.357 1) : Khronos Profiles layer
VK_LAYER_KHRONOS_shader_object (v. 1.4.357 1) : Khronos Shader object layer
VK_LAYER_LUNARG_crash_diagnostic (v. 1.4.357 1) : Crash Diagnostic Layer is a crash/hang debugging tool that helps determines GPU progress in a Vulkan application.

_________________________________________________
Available Instance Extensions :
[ ] VK_KHR_device_group_creation (v. 1)
[ ] VK_KHR_external_fence_capabilities (v. 1)
[ ] VK_KHR_external_memory_capabilities (v. 1)
[ ] VK_KHR_external_semaphore_capabilities (v. 1)
[ ] VK_KHR_get_physical_device_properties2 (v. 2)
[x] VK_KHR_get_surface_capabilities2 (v. 1)
[x] VK_KHR_surface (v. 25)
[x] VK_KHR_win32_surface (v. 6)
[ ] VK_EXT_debug_report (v. 10)
[x] VK_EXT_debug_utils (v. 2)
[ ] VK_EXT_swapchain_colorspace (v. 5)
[ ] VK_KHR_portability_enumeration (v. 1)
[ ] VK_LUNARG_direct_driver_loading (v. 1)

_________________________________________________
Available Device Extensions :
[ ] VK_KHR_16bit_storage (v. 1)
[ ] VK_KHR_8bit_storage (v. 1)
[ ] VK_KHR_acceleration_structure (v. 13)
[ ] VK_KHR_bind_memory2 (v. 1)
[ ] VK_KHR_buffer_device_address (v. 1)
[ ] VK_KHR_calibrated_timestamps (v. 1)
[ ] VK_KHR_compute_shader_derivatives (v. 1)
[ ] VK_KHR_cooperative_matrix (v. 2)
[ ] VK_KHR_copy_commands2 (v. 1)
[ ] VK_KHR_create_renderpass2 (v. 1)
[ ] VK_KHR_dedicated_allocation (v. 3)
[ ] VK_KHR_deferred_host_operations (v. 4)
[ ] VK_KHR_depth_clamp_zero_one (v. 1)
[ ] VK_KHR_depth_stencil_resolve (v. 1)
[ ] VK_KHR_descriptor_update_template (v. 1)
[ ] VK_KHR_device_group (v. 4)
[ ] VK_KHR_draw_indirect_count (v. 1)
[ ] VK_KHR_driver_properties (v. 1)
[ ] VK_KHR_dynamic_rendering (v. 1)
[ ] VK_KHR_dynamic_rendering_local_read (v. 1)
[ ] VK_KHR_external_fence (v. 1)
[ ] VK_KHR_external_fence_win32 (v. 1)
[ ] VK_KHR_external_memory (v. 1)
[ ] VK_KHR_external_memory_win32 (v. 1)
[ ] VK_KHR_external_semaphore (v. 1)
[ ] VK_KHR_external_semaphore_win32 (v. 1)
[ ] VK_KHR_format_feature_flags2 (v. 2)
[ ] VK_KHR_fragment_shader_barycentric (v. 1)
[ ] VK_KHR_fragment_shading_rate (v. 2)
[ ] VK_KHR_get_memory_requirements2 (v. 1)
[ ] VK_KHR_global_priority (v. 1)
[ ] VK_KHR_imageless_framebuffer (v. 1)
[ ] VK_KHR_image_format_list (v. 1)
[ ] VK_KHR_index_type_uint8 (v. 1)
[ ] VK_KHR_line_rasterization (v. 1)
[ ] VK_KHR_load_store_op_none (v. 1)
[ ] VK_KHR_maintenance1 (v. 2)
[ ] VK_KHR_maintenance2 (v. 1)
[ ] VK_KHR_maintenance3 (v. 1)
[ ] VK_KHR_maintenance4 (v. 2)
[ ] VK_KHR_maintenance5 (v. 1)
[ ] VK_KHR_maintenance6 (v. 1)
[ ] VK_KHR_maintenance7 (v. 1)
[ ] VK_KHR_maintenance8 (v. 1)
[ ] VK_KHR_map_memory2 (v. 1)
[ ] VK_KHR_multiview (v. 1)
[ ] VK_KHR_pipeline_binary (v. 1)
[ ] VK_KHR_pipeline_executable_properties (v. 1)
[ ] VK_KHR_pipeline_library (v. 1)
[x] VK_KHR_push_descriptor (v. 2)
[ ] VK_KHR_ray_query (v. 1)
[ ] VK_KHR_ray_tracing_maintenance1 (v. 1)
[ ] VK_KHR_ray_tracing_pipeline (v. 1)
[ ] VK_KHR_ray_tracing_position_fetch (v. 1)
[ ] VK_KHR_relaxed_block_layout (v. 1)
[ ] VK_KHR_robustness2 (v. 1)
[ ] VK_KHR_sampler_mirror_clamp_to_edge (v. 3)
[ ] VK_KHR_sampler_ycbcr_conversion (v. 14)
[ ] VK_KHR_separate_depth_stencil_layouts (v. 1)
[ ] VK_KHR_shader_atomic_int64 (v. 1)
[ ] VK_KHR_shader_clock (v. 1)
[ ] VK_KHR_shader_draw_parameters (v. 1)
[ ] VK_KHR_shader_expect_assume (v. 1)
[ ] VK_KHR_shader_float16_int8 (v. 1)
[ ] VK_KHR_shader_float_controls (v. 4)
[ ] VK_KHR_shader_float_controls2 (v. 1)
[ ] VK_KHR_shader_integer_dot_product (v. 1)
[ ] VK_KHR_shader_maximal_reconvergence (v. 1)
[ ] VK_KHR_shader_non_semantic_info (v. 1)
[ ] VK_KHR_shader_quad_control (v. 1)
[ ] VK_KHR_shader_subgroup_extended_types (v. 1)
[ ] VK_KHR_shader_subgroup_rotate (v. 2)
[ ] VK_KHR_shader_subgroup_uniform_control_flow (v. 1)
[ ] VK_KHR_shader_terminate_invocation (v. 1)
[ ] VK_KHR_spirv_1_4 (v. 1)
[ ] VK_KHR_storage_buffer_storage_class (v. 1)
[x] VK_KHR_swapchain (v. 70)
[ ] VK_KHR_swapchain_mutable_format (v. 1)
[ ] VK_KHR_synchronization2 (v. 1)
[ ] VK_KHR_timeline_semaphore (v. 2)
[ ] VK_KHR_uniform_buffer_standard_layout (v. 1)
[ ] VK_KHR_variable_pointers (v. 1)
[ ] VK_KHR_vertex_attribute_divisor (v. 1)
[ ] VK_KHR_video_decode_av1 (v. 1)
[ ] VK_KHR_video_decode_h264 (v. 9)
[ ] VK_KHR_video_decode_h265 (v. 8)
[ ] VK_KHR_video_decode_queue (v. 8)
[ ] VK_KHR_video_encode_h264 (v. 14)
[ ] VK_KHR_video_encode_h265 (v. 14)
[ ] VK_KHR_video_encode_queue (v. 12)
[ ] VK_KHR_video_maintenance1 (v. 1)
[ ] VK_KHR_video_queue (v. 8)
[ ] VK_KHR_vulkan_memory_model (v. 3)
[ ] VK_KHR_win32_keyed_mutex (v. 1)
[ ] VK_KHR_workgroup_memory_explicit_layout (v. 1)
[ ] VK_KHR_zero_initialize_workgroup_memory (v. 1)
[ ] VK_EXT_4444_formats (v. 1)
[ ] VK_EXT_attachment_feedback_loop_layout (v. 2)
[ ] VK_EXT_border_color_swizzle (v. 1)
[ ] VK_EXT_calibrated_timestamps (v. 2)
[ ] VK_EXT_color_write_enable (v. 1)
[ ] VK_EXT_conditional_rendering (v. 2)
[ ] VK_EXT_conservative_rasterization (v. 1)
[ ] VK_EXT_custom_border_color (v. 12)
[ ] VK_EXT_depth_clamp_control (v. 1)
[ ] VK_EXT_depth_clamp_zero_one (v. 1)
[ ] VK_EXT_depth_clip_control (v. 1)
[ ] VK_EXT_depth_clip_enable (v. 1)
[ ] VK_EXT_depth_range_unrestricted (v. 1)
[ ] VK_EXT_descriptor_buffer (v. 1)
[ ] VK_EXT_descriptor_indexing (v. 2)
[ ] VK_EXT_device_address_binding_report (v. 1)
[ ] VK_EXT_device_fault (v. 2)
[ ] VK_EXT_device_generated_commands (v. 1)
[ ] VK_EXT_dynamic_rendering_unused_attachments (v. 1)
[ ] VK_EXT_extended_dynamic_state (v. 1)
[ ] VK_EXT_extended_dynamic_state2 (v. 1)
[ ] VK_EXT_extended_dynamic_state3 (v. 2)
[ ] VK_EXT_external_memory_host (v. 1)
[ ] VK_EXT_fragment_shader_interlock (v. 1)
[ ] VK_EXT_frame_boundary (v. 1)
[ ] VK_EXT_full_screen_exclusive (v. 4)
[ ] VK_EXT_global_priority (v. 2)
[ ] VK_EXT_global_priority_query (v. 1)
[ ] VK_EXT_graphics_pipeline_library (v. 1)
[ ] VK_EXT_hdr_metadata (v. 3)
[ ] VK_EXT_host_query_reset (v. 1)
[ ] VK_EXT_image_2d_view_of_3d (v. 1)
[ ] VK_EXT_image_robustness (v. 1)
[ ] VK_EXT_image_sliced_view_of_3d (v. 1)
[ ] VK_EXT_image_view_min_lod (v. 1)
[ ] VK_EXT_index_type_uint8 (v. 1)
[ ] VK_EXT_inline_uniform_block (v. 1)
[ ] VK_EXT_line_rasterization (v. 1)
[ ] VK_EXT_load_store_op_none (v. 1)
[ ] VK_EXT_memory_budget (v. 1)
[ ] VK_EXT_memory_priority (v. 1)
[ ] VK_EXT_mesh_shader (v. 1)
[ ] VK_EXT_mutable_descriptor_type (v. 1)
[ ] VK_EXT_nested_command_buffer (v. 1)
[ ] VK_EXT_non_seamless_cube_map (v. 1)
[ ] VK_EXT_pageable_device_local_memory (v. 1)
[ ] VK_EXT_pipeline_creation_cache_control (v. 3)
[ ] VK_EXT_pipeline_creation_feedback (v. 1)
[ ] VK_EXT_pipeline_library_group_handles (v. 1)
[ ] VK_EXT_post_depth_coverage (v. 1)
[ ] VK_EXT_primitive_topology_list_restart (v. 1)
[ ] VK_EXT_private_data (v. 1)
[ ] VK_EXT_provoking_vertex (v. 1)
[ ] VK_EXT_queue_family_foreign (v. 1)
[ ] VK_EXT_robustness2 (v. 1)
[ ] VK_EXT_sampler_filter_minmax (v. 2)
[ ] VK_EXT_sample_locations (v. 1)
[ ] VK_EXT_scalar_block_layout (v. 1)
[ ] VK_EXT_separate_stencil_usage (v. 1)
[ ] VK_EXT_shader_atomic_float (v. 1)
[ ] VK_EXT_shader_atomic_float2 (v. 1)
[ ] VK_EXT_shader_demote_to_helper_invocation (v. 1)
[ ] VK_EXT_shader_image_atomic_int64 (v. 1)
[ ] VK_EXT_shader_module_identifier (v. 1)
[x] VK_EXT_shader_object (v. 1)
[ ] VK_EXT_shader_replicated_composites (v. 1)
[ ] VK_EXT_shader_stencil_export (v. 1)
[ ] VK_EXT_shader_subgroup_ballot (v. 1)
[ ] VK_EXT_shader_subgroup_vote (v. 1)
[ ] VK_EXT_shader_viewport_index_layer (v. 1)
[ ] VK_EXT_subgroup_size_control (v. 2)
[ ] VK_EXT_texel_buffer_alignment (v. 1)
[ ] VK_EXT_tooling_info (v. 1)
[ ] VK_EXT_transform_feedback (v. 1)
[ ] VK_EXT_vertex_attribute_divisor (v. 3)
[ ] VK_EXT_vertex_input_dynamic_state (v. 2)
[ ] VK_EXT_ycbcr_image_arrays (v. 1)
[ ] VK_AMD_anti_lag (v. 1)
[ ] VK_AMD_buffer_marker (v. 1)
[ ] VK_AMD_device_coherent_memory (v. 1)
[ ] VK_AMD_display_native_hdr (v. 1)
[ ] VK_AMD_draw_indirect_count (v. 2)
[ ] VK_AMD_gcn_shader (v. 1)
[ ] VK_AMD_gpa_interface (v. 1)
[ ] VK_AMD_gpu_shader_half_float (v. 2)
[ ] VK_AMD_gpu_shader_int16 (v. 2)
[ ] VK_AMD_memory_overallocation_behavior (v. 1)
[ ] VK_AMD_mixed_attachment_samples (v. 1)
[ ] VK_AMD_shader_ballot (v. 1)
[ ] VK_AMD_shader_core_properties (v. 2)
[ ] VK_AMD_shader_core_properties2 (v. 1)
[ ] VK_AMD_shader_early_and_late_fragment_tests (v. 1)
[ ] VK_AMD_shader_explicit_vertex_parameter (v. 1)
[ ] VK_AMD_shader_fragment_mask (v. 1)
[ ] VK_AMD_shader_image_load_store_lod (v. 1)
[ ] VK_AMD_shader_info (v. 1)
[ ] VK_AMD_shader_trinary_minmax (v. 1)
[ ] VK_AMD_texture_gather_bias_lod (v. 1)
[ ] VK_GOOGLE_decorate_string (v. 1)
[ ] VK_GOOGLE_hlsl_functionality1 (v. 1)
[ ] VK_GOOGLE_user_type (v. 1)
[ ] VK_VALVE_mutable_descriptor_type (v. 1)

_________________________________________________
Available GPUs: 1
 - 0) AMD Radeon RX 6700 XT
Using GPU 0:
 - Device Name    : AMD Radeon RX 6700 XT
 - Vendor         : AMD
 - Driver Version : 2.0.353
 - API Version    : 1.4.315
 - Device Type    : Discrete GPU
_________________________________________________
Adding Default Menu
Adding DefaultWindowTitle
Adding Camera Manipulator
RtFoundation::createScene
| nvsamples::loadGltfResources
| | Loaded glTF file: C:\Users\brian\Desktop\Code\NVIDIA Vulkan Ray Tracing Tutorial\vk_raytracing_tutorial_KHR\resources\teapot.gltf -> 25.929 ms
| nvsamples::loadGltfResources
| | Loaded glTF file: C:\Users\brian\Desktop\Code\NVIDIA Vulkan Ray Tracing Tutorial\vk_raytracing_tutorial_KHR\resources\plane.gltf -> 1.402 ms
| nvsamples::importGltfData -> 0.271 ms
| nvsamples::importGltfData -> 0.200 ms
| nvsamples::createGltfSceneInfoBuffer -> 0.219 ms
|-> 95.324 ms
RtFoundation::compileAndCreateGraphicsShaders
| RtFoundation::compileSlangShader -> 119.930 ms

The program displays a window, but the window doesn't render anything before the program terminates prematurely. Running the program through the debugger throws a Stop reason: Exception 0xc0000005 encountered at address 0x7ffea0cea41a: Access violation reading location 0x00000018.

I've tried a couple fixes such as disabling implicit layers and running through validation layers via the vulkan configurator, but none of them seem to solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions