GPUOpen-Tools / radeon_developer_panel

The Radeon Developer Panel (RDP) is a software tool that allows users to capture RGP profiles, RMV traces, RRA scenes, and RGD crash analysis dumps on Radeon GPUs.
15 stars 6 forks source link

Unable to capture a Vulkan profile, system completely freezes #48

Open eliasdaler opened 5 months ago

eliasdaler commented 5 months ago

RDP bug report

Hello. I'm trying to capture a Vulkan profile and even the simplest apps, such vkcubepp.exe from Vulkan SDK 1.3.275.0 fail to capture.

The system freezes for several seconds for me when I click "Capture Profile", then unfreezes with no profile captured (and application is now in "Offline" state). RDP itself doesn't show any errors.

After that, when I try to close the app, the OS freezes completely and I have to reboot my PC.

If there are any logs I can provide, I'd be happy to add them.

========================================== Steps to Reproduce

  1. Open RDP
  2. Try to make a capture of vkcubepp.exe from Vulkan SDK 1.3.275.0

========================================== Host System Information

RDP Version: Radeon Developer Panel v2.12.0.20 RDP build Date: 12/04/2023

Operating System: Windows 10 Version 2009 Qt Version: 5.15.2

Tool Version: 2.1.0 Router Version 0.13.0

========================================== Connected System Information

Driver Version: 23.40.27.01-240313a-401413C-AMD-Software-Adrenalin-Edition GPUOpen Interface Major Version: 42

Operating System Name: Windows 10 Pro Operating System Description: 19041.1.amd64fre.vb_release.191206-1406

GPUs:


Name: AMD Radeon(TM) Graphics

ASIC info


Device Id: 5710 Revision: 193 Family: 149 gfx_engine: 13


Name: AMD Radeon RX 6750 XT

ASIC info


Device Id: 29663 Revision: 192 Family: 143 gfx_engine: 13

eliasdaler commented 5 months ago

Here's what I get in the log before I close the app and the whole system freezes:

[19:03:40.812] Successfully connected to client with id 4511 via driver control
[19:03:40.935] ddEventCallback: EVENT_CLIENT_CONNECT: RadeonSoftware.exe [AMD OpenGL Driver]
[19:03:40.935] Ignoring client: RadeonSoftware.exe using API [OpenGL] which does not match active filter API [Workflow supported]
[19:03:40.935] Ignoring client with id 4511
[19:03:41.067] Client with id 4511 disconnected
[19:06:12.877] Received initial halted message from client with id 6235! (vkcubepp.exe)
[19:06:12.892] Successfully connected to client with id 6235 via driver control
[19:06:13.013] ddEventCallback: EVENT_CLIENT_CONNECT: vkcubepp.exe [AMD Vulkan Driver]
[19:06:13.014] The file name for the process was C:\VulkanSDK\1.3.275.0\Bin\vkcubepp.exe
[19:06:13.074] Successfully bound profile instance with client: vkcubepp.exe [AMD Vulkan Driver]
[19:06:13.076] Initializing client with id 6235
[19:06:13.363] Advanced driver state (Platform Init -> Device Init) on client with id 6235
[19:06:13.653] Advanced driver state (Device Init -> Post Device Init) on client with id 6235
[19:06:13.653] ddEventCallback: EVENT_CLIENT_INITIALIZE: vkcubepp.exe [AMD Vulkan Driver]
[19:06:14.064] Successfully resumed driver on client with id 6235
[19:06:27.180] [RGP] End capture profile
[19:06:27.180] TRANSFER END  0 ((null):0, (null))
[19:06:27.180] [RGP] Failed to capture profile.
[19:06:27.229] ddEventCallback: EVENT_CLIENT_INSTANCE_RELEASE: vkcubepp.exe [AMD Vulkan Driver]
[19:06:37.766] [RGP] Failed to finish executing profile with code: 0
[19:06:37.770] Changing global workflow to Profiling
[19:06:37.771] Saving settings group: [Managed Applications]
[19:06:37.853] Client with id 6235 disconnected

I tried changing SQTT buffer size to "Minimum" from the default "Default" and it didn't help. All the other profiling settings are set to their defaults.