Open MikhailGorobets opened 3 years ago
I found out same symptoms. It happens when presentQueue != graphicsQueue.
Since my GPU has queueCount=1 in family with queueFlags = QUEUE_GRAPHICS_BIT and I want to use separate queue for presentation, I created a queue for presentation from queue family with different index (presentQueueFamilyIndex!=graphicsQueueFamilyIndex). It is probable that using queues from different families causes this bug.
Radeon RX 590 Series, VK_SDK 1.3.250.0, Win10 22H2 Driver 22.40.57.02-230512a-392838C-AMD-Software-Adrenalin-Edition Vulkan™ API Version 1.3.246 Vulkan™ Driver Version 2.0.262 RadeonDeveloperToolSuite-2023-05-22-1083 (tested with several version from 2020-2023 - results are the same)
log.txt with Graphics Queue != Present Queue: - capture not created
15:41:08.938] [RGP] Hot key pressed - capture profile
[15:41:09.249] [RGP] End capture profile
[15:41:09.249] TRANSFER END 0 ((null):0, (null))
[15:41:09.249] [RGP] Failed to capture profile.
[15:41:09.249] [RGP] Failed to finish executing profile with code: 0
log.txt with Graphics Queue == Present Queue: - capture created successfully
[15:27:32.886] [RGP] Hot key pressed - capture profile
[15:27:33.175] [RGP] Begin capture profile
[15:27:33.176] [RGP] Created profile .../Documents/rgp_profiles/gsge/gsge-20230707-152732.rgp
[15:27:33.176] [RGP] Receiving Profiling Data...
[15:27:33.384] [RGP] Completed writing 438 chunks of profile data to .../Documents/rgp_profiles/gsge/gsge-20230707-152732.rgp
[15:27:33.384] [RGP] End capture profile
[15:27:33.384] TRANSFER END 1 ((null):0, (null))
[15:27:33.384] [RGP] Succesfully captured profile.
I used Vulkan appication which uses transfer queue family for vkQueuePresentKHR. When I used graphics or compute queue family everything worked fine. In the attachment demo, to reproduce the situation OS: Window 10 Build: 19042.985 GPU: Vega 56 Driver: 21.5.2 RGP: Version: 1.10.0.23
Debug.zip