Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample ray_tracing_position_fetch hangs on Windows 10 + AMD GPU #1146

Open
SRSaunders opened this issue Aug 31, 2024 · 1 comment · May be fixed by #1148
Open

Sample ray_tracing_position_fetch hangs on Windows 10 + AMD GPU #1146

SRSaunders opened this issue Aug 31, 2024 · 1 comment · May be fixed by #1148
Labels
bug Something isn't working

Comments

@SRSaunders
Copy link
Contributor

SRSaunders commented Aug 31, 2024

Sample ray_tracing_position_fetch 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 04291a3, and is not solved by 46a89dd.

[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.


@SaschaWillems
Copy link
Collaborator

@asuessenbach: Can you take a look at this? Might be caused by recent changes regarding C/C++ unification.

@SaschaWillems SaschaWillems added the bug Something isn't working label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants