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

Radeon GPU profiler can't capture profile #57

Open
MikhailGorobets opened this issue Jun 6, 2021 · 1 comment
Open

Radeon GPU profiler can't capture profile #57

MikhailGorobets opened this issue Jun 6, 2021 · 1 comment

Comments

@MikhailGorobets
Copy link

MikhailGorobets commented Jun 6, 2021

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

@marcinp686
Copy link

marcinp686 commented Jul 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants