Closed SRSaunders closed 2 months ago
Sample _ray_tracing_positionfetch hangs on my Win10 + AMD 6600XT GPU machine using SDK 1.3.290:
ray_tracing_position_fetch errors.txt
UPDATE: after a bit more testing, this also seems to be related tovkb::core::Buffer<bindingType>. The issue occurs following the merge of commit 04291a34, and is not solved by https://github.com/KhronosGroup/Vulkan-Samples/commit/46a89dd646114ad688909f6f488d3ba73b4117e3.
vkb::core::Buffer<bindingType>
[info] Logger initialized [info] Initializing Vulkan sample [info] Vulkan debug utils enabled (VK_EXT_debug_utils) [info] Extension VK_KHR_get_physical_device_properties2 found, enabling it [info] Extension VK_EXT_debug_utils found, enabling it [info] Extension VK_KHR_win32_surface found, enabling it [info] Enabled Validation Layers: [info] Found GPU: AMD Radeon RX 6600 XT [info] Found GPU: Intel(R) UHD Graphics 630 [info] Selected GPU: AMD Radeon RX 6600 XT [info] Dedicated Allocation enabled [info] Device supports the following requested extensions: [info] VK_KHR_get_memory_requirements2 [info] VK_KHR_dedicated_allocation [info] VK_KHR_acceleration_structure [info] VK_KHR_ray_tracing_pipeline [info] VK_KHR_buffer_device_address [info] VK_KHR_shader_float_controls [info] VK_KHR_spirv_1_4 [info] VK_KHR_deferred_host_operations [info] VK_EXT_descriptor_indexing [info] VK_KHR_ray_tracing_position_fetch [info] VK_KHR_swapchain [info] Surface supports the following surface formats: [info] R8G8B8A8Unorm, SrgbNonlinear [info] B8G8R8A8Unorm, SrgbNonlinear [info] A2B10G10R10UnormPack32, SrgbNonlinear [info] R8G8B8A8Srgb, SrgbNonlinear [info] B8G8R8A8Srgb, SrgbNonlinear [info] Surface supports the following present modes: [info] Immediate [info] Fifo [info] FifoRelaxed [warning] (HPPSwapchain) Image extent (0, 0) not supported. Selecting (1280, 720). [warning] (HPPSwapchain) Surface format (Undefined, SrgbNonlinear) not supported. Selecting (B8G8R8A8Srgb, SrgbNonlinear). [info] (HPPSwapchain) Image usage flags: TransferSrc ColorAttachment [warning] (HPPSwapchain) Composite alpha 'Inherit' not supported. Selecting 'Opaque. [warning] (HPPSwapchain) Present mode 'Mailbox' not supported. Selecting 'Fifo'. [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Surface supports the following surface formats: [info] VK_FORMAT_R8G8B8A8_UNORM, VK_COLORSPACE_SRGB_NONLINEAR_KHR [info] VK_FORMAT_B8G8R8A8_UNORM, VK_COLORSPACE_SRGB_NONLINEAR_KHR [info] VK_FORMAT_A2B10G10R10_UNORM_PACK32, VK_COLORSPACE_SRGB_NONLINEAR_KHR [info] VK_FORMAT_R8G8B8A8_SRGB, VK_COLORSPACE_SRGB_NONLINEAR_KHR [info] VK_FORMAT_B8G8R8A8_SRGB, VK_COLORSPACE_SRGB_NONLINEAR_KHR [info] Surface supports the following present modes: [info] VK_PRESENT_MODE_IMMEDIATE_KHR [info] VK_PRESENT_MODE_FIFO_KHR [info] VK_PRESENT_MODE_FIFO_RELAXED_KHR [warning] (Swapchain) Surface format (VK_FORMAT_UNDEFINED, VK_COLORSPACE_SRGB_NONLINEAR_KHR) not supported. Selecting (VK_FORMAT_B8G8R8A8_SRGB, VK_COLORSPACE_SRGB_NONLINEAR_KHR). [info] (Swapchain) Image usage flags: VK_IMAGE_USAGE_TRANSFER_DST_BIT VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT [warning] (Swapchain) Composite alpha 'VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR' not supported. Selecting 'VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR. [info] (Swapchain) Present mode selected: VK_PRESENT_MODE_FIFO_KHR [warning] (Swapchain) Compression cannot be controlled because VK_EXT_image_compression_control_swapchain is not enabled [info] Recreated swapchain [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Depth format selected: VK_FORMAT_D32_SFLOAT [info] Depth format selected: VK_FORMAT_D32_SFLOAT [warning] glTF file contains an unsupported extension, unexpected results may occur: KHR_materials_clearcoat [warning] glTF file contains an unsupported extension, unexpected results may occur: KHR_materials_transmission [info] Time spent loading images: 0.004327 seconds across 12 threads.
@asuessenbach: Can you take a look at this? Might be caused by recent changes regarding C/C++ unification.
Sample _ray_tracing_positionfetch hangs on my Win10 + AMD 6600XT GPU machine using SDK 1.3.290:
ray_tracing_position_fetch errors.txt
UPDATE: after a bit more testing, this also seems to be related to
vkb::core::Buffer<bindingType>
. The issue occurs following the merge of commit 04291a34, and is not solved by https://github.com/KhronosGroup/Vulkan-Samples/commit/46a89dd646114ad688909f6f488d3ba73b4117e3.