Giter Club home page Giter Club logo

radeon_developer_panel's Introduction

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.

The Radeon Developer Panel consists of 2 main components :

  • The Radeon Developer Service (RDS) - A system tray application that unlocks the Developer Mode Driver features and supports communications with high level tools. A headless version is also available called RadeonDeveloperServiceCLI.
  • The Radeon Developer Panel (RDP) - the tool that interacts with RDS.

Documentation

The documentation for the Radeon Developer Panel can be found in each release. In the release .zip file or .tgz file, there will be a "docs" directory. Simply open the index.html file found under docs\help\rdp\html in a web browser to view the documentation. The documentation is also available from within the Radeon Developer Panel.

The documentation is hosted publicly at : http://radeon-developer-panel.readthedocs.io/en/latest/

radeon_developer_panel's People

Contributors

ahosier avatar bpurnomo avatar cal3d avatar chesik-amd avatar mguerret-amd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radeon_developer_panel's Issues

How to parse the rgp profile

Hello there,
I already learn how to use radeon developer panel to capture a profile and open it by radeon gpu profiler.
Could anyone please help me to parse the rgp profile so I can do some analysis on the data?
Thank you very much

Unable to capture profile (Vulkan)

When I click to capture profile of a simple Vulkan program, it immediately stops recording. No error is shown and no profile is saved to disk. Opening connection log shows the follow error:

[RGP] Failed to finish executing profile with code: 0

Info: Windows 10, 5700 XT

Unable to capture a Vulkan profile, system completely freezes

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

Profiling for PyOpenCl does not work

Tried to capture a profile when running PyOpenCl application. Unfortunately I get an error message in Python console when instantiating CommandQueue:
image

The Radeon Developer Panel gives me following output:
[RDP] Received client connected from unknown client with id 4127.
[RDP] Received client halted from unknown client with id 4127.
[RDP] DeveloperPanelModel::AddClientInfo() - Processing halted client with id 4127: python.exe:24080 - AMD OpenCL Driver
[RDP] python.exe with clientId 4127 connected to driver control client in driver state HaltedOnDeviceInit
[RGP] DeveloperPanelModel::OnDriverStateChanged() - Handle processing for 'python.exe' (processId 24080, clientId 4127) in the HaltedOnDeviceInit driver state.
[RDP] Found 0 settings.
[RDP] EnableProfiling() for clientId 4127.
[RDP] Profile Settings: start = 0, end = 0, mode = 0, PSO = 0x0, flags = 0x0
[RDP] UpdateTraceParameters successful
[RDP] Enabled profiling for target executable 'python.exe', ProcessId = 24080.
[RDP] Can enable profiling for client ID 4127
[RDP] Set profiling flag for ProcessId = 24080 (client ID 4127) to true.
[RDP] Capture profile button is enabled because the target application is profilable and there is no profile in progress.
[RDP] DeveloperPanelModel::OnDriverStateChanged() - Update client run status. Current driver state is HaltedOnDeviceInit for process 'python.exe', ProcessId = 24080
[RDP] Advance to next driver state. Current driver state is HaltedOnDeviceInit for process 'python.exe', ProcessId = 24080
[RDP] Step driver for process 'python.exe', ProcessId = 24080
[RDP] DeveloperPanelModel::NextDriverState() - Query Driver status failed (driver control client likely disconnected)
[RDP] Client with Id 4127 has disconnected.
[RDP] Capture profile button has been disabled because the application is not profilable.

I configured the profiler as follows:
image

Any ideas how to solve the issue?

No capture file created, running a 6600 xt on Windows 11

Driver: 22.9.1
RadeonDeveloperToolSuite-2022-08-01-115
API: DX12, D3D_FEATURE_LEVEL_12_1
Windows 11 Pro, 21H2

Everything looks ok and I can press the capture button. But it does not capture anything, there is no error message and the game continues to run. Is there somewhere I can look for an error log on the computer, I could not find anything.

I have tested both on my own game and on a Microsoft sample application.

image

Can't connect to Vulkan application

I am attempting to use RDP to profile my Vulkan application on Arch Linux, but so far RDP does not detect any running applications and the documentation has not helped me.

Some system information:
Arch Linux
Hybrid graphics laptop
AMD Ryzen 5 4600H with Radeon integrated GPU
Nvidia GTX 1650ti discrete GPU
lsmod confirms I'm using the amdgpu driver

I am trying to profile a Vulkan application that is using the AMD integrated GPU. I can confirm that the AMD GPU is the one in use, and yet RDP's applications tab is empty.

I even tried it with the test Vulkan cube app vkcube --gpu_number 1 (the --gpu_number 1 ensure that the AMD integrated GPU is selected) but RDP still doesn't see anything running.

I've tried adding vkcube to the applications list with advanced mode turned on, but it always says that its offline even though vkcube is running:
image

I'm not sure what to do now. For comparison, profiling applications using the Nvidia discrete GPU works just fine using Nvidia Nsight. I need to profile performance with the AMD integrated GPU as well but RDP is giving me nothing at all right now.

Fail to capture FlaxEngine profile on Ubuntu 22.04 and Windows 10

FlaxEditor uses vulkan as a rendering backend on Ubuntu. I started RadeonDeveloperPanel with connection ready. When I ran FlaxEditor, the tab of RDP didn't be switched automatically. And there were no new executable app shown in the app list.

I repeated same operations on Windows 10, and the result is the same as above.

uname -a:
Linux hUbuntu-2204 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Type of AMD GPU card: Radeon RX 6500 XT (RADV NAVI24)

Driver version: installed by amgpu-install

Unable to capture OpenCL profile on Ubuntu 18.04

My OpenCL application is not detected on Ubuntu 18.04. I notice in the README that OpenCL under "Compute APIs, RDNA hardware, and operating systems" only lists Windows support, is this accurate? The GUI does not inform me that my system is not supported for OpenCL Profiling and my GPU is detected in the System Information tab.

Application does not go online

I have a linux platform with a Ryzen V1000 with integrated graphics (gfx902).
As far as i can tell this is supported for openCL.

I have an opencl application called GPUFullThrottle, following this documentation: https://radeon-developer-panel.readthedocs.io/en/latest/

I have added the application with the name: GPUFullThrottle and api: Auto
Upon launching my application it is still offline and never comes online.

Everything is launched as root.

Instant TDR when using Ogre samples

RGP version: RadeonDeveloperTools-2020-09-11-26
Drivers: win10-radeon-software-adrenalin-2020-edition-20.9.1-sep16.exe
OS: Windows 10 2004 (64 bits)
System:

CPU:       Quad core Intel Core i7-7700 (-MT-MCP-) 
           arch: Skylake rev.9 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 28800
           clock speeds: min/max: 800/4200 MHz 1: 800 MHz 2: 800 MHz
           3: 800 MHz 4: 800 MHz 5: 800 MHz 6: 800 MHz 7: 800 MHz 8: 800 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Baffin [Radeon RX 550 640SP / RX 560/560X]
           bus-ID: 01:00.0 chip-ID: 1002:67ff
           Resolution: [email protected]
           OpenGL: renderer: Radeon RX 560 Series (POLARIS11)

MINIDUMP IS AVAILABLE UPON REQUEST (privately)

How to reproduce:

Start RGP service and Control Panel
Download Ogre Vulkan Samples, and open bin/Release/Sample_PbsMaterials.exe

RGP control panel will recognize the app and within a few seconds, before Ogre's config dialog shows up, all screen turn off and either the system restarts after dumping memory contents to disk; or the whole system locks up (even reset button doesn't work)

Please note that TDR happens before Ogre's config dialog is showing up. The only thing we do then is probe D3D11, GL and Vulkan for support. We don't create a window or start rendering yet.

Workaround

Edit bin/Release/plugins.cfg and comment the D3D11 and OpenGL plugins, leaving only Vulkan:

 Plugin=RenderSystem_Vulkan
# Plugin=RenderSystem_Direct3D11
# Plugin=RenderSystem_GL3Plus

RadeonDeveloperPanel segfaults on start

On my Ubuntu 20.04.4 LTS system with up-to-date AMDGPU-PRO Vulkan drivers, running ./RadeonDeveloperPanel segfaults immediately, with no output other than the segmentation fault error. Providing the --help argument displays help, but providing --help-all also segfaults.

Version information:
Radeon Developer Tool Suite release: 2022-08-01-115
uname -rv: 5.15.0-43-generic #46~20.04.1-Ubuntu SMP Thu Jul 14 15:20:17 UTC 2022
linux-generic-hwe-20.04 package version: 5.15.0.43.46~20.04.14
Ubuntu version: 20.04.4 LTS according to Gnome Settings (I don't know why uname lists 20.04.1)
amdgpu-pro package version: 22.20-1438746~20.04
vulkan-amdgpu-pro package version: 22.20-1438746~20.04

Hardware information:
GPU: RX 5700 XT

Notes:

  • The other binaries in the tool suite run successfully
  • Running scripts/setup.sh and/or a manual instance of RadeonDeveloperServiceCLI does not fix the problem
  • I happened to have release 2021-06-30-819 of the developer tool suite still on my system, and its version of Radeon Developer Panel is still able to run and capture profiles, which I can open successfully in the current Radeon GPU Profiler. Frustratingly, there does not seem to be a public list of downloads for previous releases of the tool suite for me to test.

2.8.0.27 Failed to finish executing profile with code: 0

RDP bug report

cant capture profiles

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

  1. run rdp
  2. run target program
  3. capture

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

RDP Version: Radeon Developer Panel v2.8.0.27
RDP build Date: 12/12/2022

Operating System: Windows 11 Version 21H2
Qt Version: 5.15.2

Tool Version: 2.0.0
Router Version 0.13.0

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

Driver Version: 22.20.29.10-221130a-386458C-AMD-Software-Adrenalin-Edition
GPUOpen Interface Major Version: 42

Operating System Name: Windows 11 Home
Operating System Description: 22000.1.amd64fre.co_release.210604-1628

GPUs:


Name: Radeon RX 5500 XT

ASIC info


Device Id: 29504
Revision: 197
Family: 143
gfx_engine: 13

RDP log:

Log file created successfully: [C:/Users/j/AppData/Roaming/RadeonDeveloperPanel/log.txt]
Initializing RDP v2.8.0.27
	System Info
		CPU Architecture    :                                   x86_64
		Kernel Type         :                                    winnt
		Kernel Version      :                               10.0.22000
		OS Name             :                  Windows 11 Version 21H2
		Host Name           :                          DESKTOP-BNGON08
	Qt Library Versions
		Compile-Time        :                                   5.15.2
		Run-Time            :                                   5.15.2
	DDTool Library Versions
		Compile-Time        :                                    2.0.0
		Link-Time           :                                    2.0.0
	DDRouter Library Versions
		Compile-Time        :                                   0.13.0
		Link-Time           :                                   0.13.0
Attempting to load config from default location: C:\Users\j\Downloads\RadeonDeveloperToolSuite-2022-12-12-1037\RadeonDeveloperToolSuite-2022-12-12-1037\.devdriver\ddTool\
No config found, skipping creation and loading default config json
Loaded 1 file(s):
+ config.json - 40 bytes - C:\Users\j\Downloads\RadeonDeveloperToolSuite-2022-12-12-1037\RadeonDeveloperToolSuite-2022-12-12-1037\.devdriver\ddTool\config.json
config.json version: 1
Found 0 module entries
Successfully parsed config json string
Successfully created tool context
Loading Modules
	Querying for Existing Modules
	Dynamic Modules: [0]
	Built-in Modules: [4]
		[0]: MemoryTrace
			ddModuleLoader's Module API Version 1.18.0 | MemoryTrace's Module API Version 1.18.0
			MemoryTrace's Module Version 0.8.0
			Required MemoryTrace Module Extension API Version 0.13.0 | MemoryTrace Module Extension API Version 0.13.0 | Extension Id 0x7972756372656d
			MercuryModuleExt GUI extension found! ((null):0, (null))
		[1]: Profiling
			ddModuleLoader's Module API Version 1.18.0 | Profiling's Module API Version 1.18.0
			Profiling's Module Version 0.4.0
			Required Profiling Module Extension API Version 0.13.0 | Profiling Module Extension API Version 0.13.0 | Extension Id 0x7972756372656d
			MercuryModuleExt GUI extension found! ((null):0, (null))
		[2]: DeviceClocks
			ddModuleLoader's Module API Version 1.18.0 | DeviceClocks's Module API Version 1.18.0
			DeviceClocks's Module Version 0.2.0
			Required DeviceClocks Module Extension API Version 0.13.0 | DeviceClocks Module Extension API Version 0.13.0 | Extension Id 0x7972756372656d
			MercuryModuleExt GUI extension found! ((null):0, (null))
		[3]: UberTrace
			ddModuleLoader's Module API Version 1.18.0 | UberTrace's Module API Version 1.18.0
			UberTrace's Module Version 0.2.0
			Required UberTrace Module Extension API Version 0.13.0 | UberTrace Module Extension API Version 0.13.0 | Extension Id 0x7972756372656d
			MercuryModuleExt GUI extension found! ((null):0, (null))
Loading default workflows
Loading settings group: [Workflows]
Loading settings group: [Managed Applications]
Saving settings group: [Managed Applications]
Loading Settings File: [C:/Users/j/AppData/Roaming/RadeonDeveloperPanel/settings.ini]
	Loading settings group: [ConnectionWidget]
Starting new Router [Local]
	Successfully initialized a developer mode message bus with client: 1348
	ddModuleLoader's Module API Version 1.18.0 | DevToolsRouter's Module API Version 1.18.0
	DevToolsRouter's Module Version 0.1.0
	Connecting module DevToolsRouter
	Successfully created a connection context
	ddModuleLoader's Module API Version 1.18.0 | SystemInfoRouter's Module API Version 1.18.0
	SystemInfoRouter's Module Version 0.1.0
	Connecting module SystemInfoRouter
	Successfully created a connection context
Attempting to connect to ddTool [Local]
Connecting to Local
	ddNet local connection succeeded
ddEventCallback: EVENT_BUS_CONNECT
Loading settings group: [Blocklist]
Received initial halted message from client with id 7418! (drawback.exe)
Successfully connected to client with id 7418 via driver control
ddEventCallback: EVENT_CLIENT_CONNECT
The file name for the process was C:\Users\j\plap\build\drawback.exe
Successfully bound profile instance with client [drawback.exe]
Initializing client with id 7418
Advanced driver state (Platform Init -> Device Init) on client with id 7418
Advanced driver state (Device Init -> Post Device Init) on client with id 7418
ddEventCallback: EVENT_CLIENT_INITIALIZE
Successfully resumed driver on client with id 7418
[RGP] End capture profile
TRANSFER END  0 ((null):0, (null))
[RGP] Failed to capture profile.
[RGP] Failed to finish executing profile with code: 0
Disconnecting DDTool
Successfully disconnected from network
ddEventCallback: EVENT_CLIENT_INSTANCE_RELEASE
Saving settings group: [Managed Applications]
ddEventCallback: EVENT_BUS_DISCONNECT
	Reason: [DD_RESULT_SUCCESS]
	Shutting down local router
	Unloading module DevToolsRouter
	Unloading module SystemInfoRouter
	Shut down the developer mode message bus.
Saving Settings File: [C:/Users/j/AppData/Roaming/RadeonDeveloperPanel/settings.ini]
	Saving settings group: [ConnectionWidget]
Disconnecting from DDTool

Radeon Developer Panel after launch show the message "The system information unexpectedly failed to load." and exit after it.

Radeon Developer Panel after launch show the message "The system information unexpectedly failed to load." and exit after it.

Screenshot from 2023-07-19 19-05-18

❯ inxi -GSC -xx
System:
  Host: primary-ws Kernel: 6.5.0-0.rc2.19.fc39.x86_64+debug arch: x86_64
    bits: 64 compiler: gcc v: 2.40-9.fc39 Desktop: GNOME v: 44.2 tk: GTK
    v: 3.24.38 wm: gnome-shell dm: GDM Distro: Fedora release 39 (Rawhide)
CPU:
  Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 1024 KiB L2: 16 MiB L3: 64 MiB
  Speed (MHz): avg: 2808 high: 5199 min/max: 400/5881 cores: 1: 5175 2: 400
    3: 5171 4: 5199 5: 5191 6: 400 7: 400 8: 4514 9: 400 10: 400 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 4645 17: 400 18: 5175 19: 5179 20: 400
    21: 5171 22: 5171 23: 5197 24: 400 25: 400 26: 4166 27: 5125 28: 5125
    29: 400 30: 3418 31: 5125 32: 5125 bogomips: 288006
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: Sapphire PULSE
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 03:00.0
    chip-ID: 1002:744c
  Device-2: RODE Microphones RØDE VideoMic NTG
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-1.2:4 chip-ID: 19f7:001a
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 model: Philips PHL 436M6VBP res: 3840x2160 dpi: 104
    diag: 1080mm (42.5")
  API: OpenGL v: 4.6 Mesa 23.3.0-devel renderer: AMD Radeon Graphics
    (gfx1100 LLVM 16.0.5 DRM 3.54 6.5.0-0.rc2.19.fc39.x86_64+debug)
    direct-render: Yes

After launching RadeonDeveloperServiceCLI

❯ sudo ./RadeonDeveloperServiceCLI
[sudo] password for mikhail: 
[RDS] Initialized successfully. Now listening for RDP connection.
Type "q" or "quit" to exit

the Radeon Developer Panel says that RDS could not be started.

Screenshot from 2023-07-23 16-49-32

Capture crashed the driver if vkQueueBeginDebugUtilsLabelEXT was used.

Trying to capture a frame with RDP in profile capture mode but the app after few seconds freezes and the driver crashes. The problem seems to be the usage of vkQueueBeginDebugUtilsLabelEXT() and vkQueueEndDebugUtilsLabelEXT(). If I remove those two then the capture is successful. Validation layers doesn' t report any issues.

example code that causes the crash:
VkDebugUtilsLabelEXT debugLabel2{ VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT, nullptr,"Graphics Operations",{0.259f,0.506f,0.620f,1.0f} };
vkQueueBeginDebugUtilsLabelEXT(graphics_queue, &debugLabel2);
vkQueueSubmit(graphics_queue, 1, &renderSubmitInfo, inFlightFence[currentFrame]);
vkQueueEndDebugUtilsLabelEXT(graphics_queue);

Windows 10
GPU RX6900XT
Drivers tested: 23.11.1 and 23.8.2 both have the issue.

Kenshi (DirectX11 -> Vulkan via DXVK) fails to launch with GPU Profiling enabled

==========================================
Description

I am running Kenshi using DXVK to wrap DirectX11 -> Vulkan, and the game works fine when not connected to RDP/RGP.

Kenshi's launcher starts normally, even with GPU profiler on and the Kenshi profile enabled. However, when actually launching the game itself, no render window is presented and the game exits silently with no error dialog. The game itself does not recognize a crash occured either (it does normally save crash dumps and notify the user directly in game-related failures).

This only occurs with GPU Profiling mode on, Kenshi DXVK does work correctly with the RDP VRAM profiler enabled - and I have been able to capture memory profiles without issue. Also, AMDuProf (MicroProfiler) does capture profiles without issue, the only Radeon profiling tool that does seem to not work is the GPU Profiler.

RDP bug report
Crash Dump & game/DXVK log files
Kenshi Crash.zip

WER Output:

Faulting application name: kenshi_x64.exe, version: 0.0.0.0
Faulting module name: amdvlk64.dll, version: 31.0.14037.1007
Exception code: 0xc0000005
Fault offset: 0x000000000018962e
Faulting process id: 0xa44
Faulting application path: G:\Steam\steamapps\common\Kenshi\kenshi_x64.exe
Faulting module path: C:\WINDOWS\System32\DriverStore\FileRepository\u0389188.inf_amd64_cd9701bcd4981eb7\B389045\amdvlk64.dll
Faulting package full name:
Faulting package-relative application ID:

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

  1. Run Kenshi using DXVK to wrap DirectX11 -> Vulkan
  2. Enable GPU Profiling for Kenshi
  3. Attempt to run Kenshi from the game's launcher
  4. Appcrash

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

RDP Version: Radeon Developer Panel v2.8.1.5
RDP build Date: 02/01/2023

Operating System: Windows 10 Version 2009
Qt Version: 5.15.2

Tool Version: 2.0.0
Router Version 0.13.0

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

Driver Version: 22.40.37.01-230305a-389188C-AMD-Software-Adrenalin-Edition
GPUOpen Interface Major Version: 42

Operating System Name: Windows 10 Home

Operating System Description: 19041.1.amd64fre.

vb_release.191206-1406

GPUs:


Name: AMD Radeon RX 5700 XT

ASIC info


Device Id: 29471
Revision: 193
Family: 143
gfx_engine: 13

Crash after selecting an executable in RadeonDeveloperPanel on Ubuntu

Repro steps:

  1. Run ./RadeonDeveloperPanel
  2. Select System -> Advanced Mode -> Application Name and click the folder icon
  3. Select any executable and Open
    -> RadeonDeveloperPanel always crashes.

My system:

  • RadeonDeveloperToolSuite-2022-04-20-920
  • Ubuntu 22.04, default Gnome desktop
  • X11 and Wayland both tested.
  • Radeon R9 Nano (it's old, but this bug doesn't seem to be related to it)

Callstack:

Thread 1 "Qt UI" received signal SIGSEGV, Segmentation fault.
0x00000000004d0440 in rdp::BlocklistModel::Contains(QString const&) const ()
(gdb) bt
#0  0x00000000004d0440 in rdp::BlocklistModel::Contains(QString const&) const ()
#1  0x00000000004d6747 in rdp::ApplicationsWidget::HandleEnableDisableAdd(bool) ()
#2  0x00007ffff54e4ea4 in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#3  0x00007ffff6886d72 in QLineEdit::textChanged(QString const&) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#4  0x00007ffff688d019 in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#5  0x00007ffff54e4c93 in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#6  0x00007ffff688dbd5 in QWidgetLineControl::textChanged(QString const&) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#7  0x00007ffff6890c0c in QWidgetLineControl::finishChange(int, bool, bool) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#8  0x00007ffff6890f55 in QWidgetLineControl::internalSetText(QString const&, int, bool) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#9  0x00007ffff6884d04 in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#10 0x00000000004d5c18 in rdp::ApplicationsWidget::OnBrowseToFile() ()
#11 0x00007ffff54e4ea4 in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#12 0x00007ffff6750fa2 in QAction::triggered(bool) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#13 0x00007ffff67533ac in QAction::activate(QAction::ActionEvent) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#14 0x00007ffff683a5ab in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#15 0x00007ffff683a7e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#16 0x00007ffff69217ea in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#17 0x00007ffff67930c8 in QWidget::event(QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#18 0x00007ffff6921874 in QToolButton::event(QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#19 0x00007ffff6756fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#20 0x00007ffff675e74f in QApplication::notify(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#21 0x000000000057c4ad in SingleApplicationInstance::notify(QObject*, QEvent*) ()
#22 0x00007ffff54a96c3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#23 0x00007ffff675cf0c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#24 0x00007ffff67ace0a in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#25 0x00007ffff67afb9b in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#26 0x00007ffff6756fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#27 0x00007ffff675d8ff in QApplication::notify(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Widgets.so.5
#28 0x000000000057c4ad in SingleApplicationInstance::notify(QObject*, QEvent*) ()
#29 0x00007ffff54a96c3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#30 0x00007ffff5d08f7b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Gui.so.5
#31 0x00007ffff5d0a445 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
   from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Gui.so.5
#32 0x00007ffff5ce41bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Gui.so.5
#33 0x00007ffff166079a in ?? () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#34 0x00007ffff7aefd1b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff7b446f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff7aed3c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff550882c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#38 0x00007ffff54a809a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#39 0x00007ffff54b1143 in QCoreApplication::exec() () from /home/glaze/Downloads/RadeonDeveloperToolSuite-2022-04-20-920/lib/libQt5Core.so.5
#40 0x000000000044d74c in main ()

2.5.0 crashes on Windows as soon as an app launches

A freshly downloaded RDP 2.5.0 is completely unusable --- it crashes as soon as an app launches, and has other malfunctioning symptoms:

  • Typing anything in System -> My Application -> Advanced Mode -> Application Name... triggers a crash.
  • "Blocked Application" is empty, has "TextLabel" as its title

System:

  • Windows 10 21H2
    • Locale: Japanese
  • AMD Radeon 5700 XT
  • Driver 22.3.2

A previously downloaded RDP 2.4.0 (RadeonDeveloperToolSuite-2021-06-30-819) runs completely fine and was able to capture a trace.

Log:

log.txt

Cannot dump Raytracing trace from VK Examples' basic ray tracing example

Hi,

I am trying to dump a ray tracing trace from the vulkan example: https://github.com/SaschaWillems/Vulkan/blob/master/examples/raytracingbasic/raytracingbasic.cpp.

However, the RDP shows that it cannot dump out the trace like this:

image

It looks like this test has ray dispatch, TLAS and BLAS and I can check them in Nvidia's Nsight.

Not sure whether it's because of my configuration problems. Please let me know if there is anything that I need to provide.

Thanks

vulkan application never online on ubuntu22.04.3

my gpu 1 is Radeon RX 5500M in the system info section.
and somehow my gpu 0 name is AMD Radeon Graphics.

i think it is in the supported gpu list.

is there a way to launch the application from the profiler?

RDP bug report

Description
(fill me in)

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

  1. (fill me in)

...

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

RDP Version: Radeon Developer Panel v2.10.0.12
RDP build Date: 08/14/2023

Operating System: Ubuntu 22.04.3 LTS
Qt Version: 5.15.2

Tool Version: 2.1.0
Router Version 0.13.0

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

Driver Version: 23.0.4-0ubuntu1~22.04.1
GPUOpen Interface Major Version: 42

Operating System Name: Ubuntu 22.04.3 LTS
Operating System Description: Linux 6.2.0-32-generic x86_64 #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2

GPUs:


Name: AMD Radeon Graphics

ASIC info


Device Id: 5688
Revision: 198
Family: 142
gfx_engine: 0


Name: Radeon RX 5500M

ASIC info


Device Id: 29504
Revision: 193
Family: 143
gfx_engine: 0

Unable to capture a profile

I am currently unable to capture a DX12 frame using the Radeon Developer Panel.
It is able to connect properly to the application, but it tried to capture and fails after couple seconds.
image
The log doesn't give additional info
image
Help would be appreciated. Thanks

RDP bug report

Description
(fill me in)

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

  1. (fill me in)

...

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

RDP Version: Radeon Developer Panel v2.11.0.12
RDP build Date: 09/18/2023

Operating System: Windows 11 Version 22H2
Qt Version: 5.15.2

Tool Version: 2.1.0
Router Version 0.13.0

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

Driver Version: 23.20.11.01-230911a-395628C-AMD-Software-Adrenalin-Edition
GPUOpen Interface Major Version: 42

Operating System Name: Windows 11 Enterprise
Operating System Description: 22621.1.amd64fre.ni_release.220506-1250

GPUs:


Name: AMD Radeon RX 6800 XT

ASIC info


Device Id: 29631
Revision: 193
Family: 143
gfx_engine: 13

Radeon Developer Panel Application Issues

I'm using the Radeon Developer Panel in order to profile my opencl application. I am using clspv to run opencl code on GPU devices via Vulkan API.

My computer is running arch linux, with proprietary AMD/Nvidia and mesa open source drivers. I have the GPUs AMD Radeon RX 7900 XT, Nvidia GeForce RTX 4070, and AMD Radeon Graphics on my machine

I'm hoping to obtain some performance counters (like the # of L1 and L2 cache access/miss rates) from running an application on my AMD Radeon RX 7900 XT. The developer panel is able to establish a connection and I'm on the system page. When I run my application using the mesa driver for AMD Radeon RX 7900 XT, it shows up briefly in the list, along with a PID, then the PID goes away about a few seconds later and the application says it's offline. When I run my application using the proprietary driver for the same GPU, the PID doesn't go away but I get a message saying "Profiling is not supported for the GPU in use":
Screen Shot 2023-08-29 at 9 54 53 PM

I also realize that the system information page is not listing the GPUs on my machine:
Screen Shot 2023-08-29 at 9 57 56 PM

Could this be related to the issue or something else? Any help is appreciated!

Also to note, I have been following the documentation here: https://radeon-developer-panel.readthedocs.io/en/latest/#

2.8.0.27 not capturing anything

This new version can finally connect to the service it needs to. When launching the application it greets with a warning that some features may not work, please run AddUserToGroup.bat script as admin. Running the script as admin, it has a similar localization issue, namely that it can't find the user Performance Log Users. Of course it can't, that name is not the name of the user, and at this point it starts to feel like we're running in circles. There are two very similar usernames, one related to performance monitoring (S-1-5-32-558) and one related to performance event logging (S-1-5-32-559). Please take a look at Well known SIDs and start using SIDs across the entire codebase, not the localized display strings.

Because the translation isn't perfect, I couldn't tell which one could Performance Log Users relate to, it very much seems like I want perf monitoring. Just to be on the safe side, I added myself to both groups.

Add-LocalGroupMember -Group 'Teljesítményfigyelő felhasználói' -Member mate
Add-LocalGroupMember -Group 'Teljesítménynapló felhasználói' -Member mate

Reboot the machine. Now when I ask whether I'm part of these groups, it seems like I am:

PS C:\Users\mate> Get-LocalGroupMember -SID S-1-5-32-558

ObjectClass Name               PrincipalSource
----------- ----               ---------------
User        MATTY-GA402RK\mate MicrosoftAccount

PS C:\Users\mate> Get-LocalGroupMember -SID S-1-5-32-559

ObjectClass Name               PrincipalSource
----------- ----               ---------------
User        MATTY-GA402RK\mate MicrosoftAccount

However, it doesn't matter if running in Basic mode, or adding my application in advanced mode, it can't profile the application. Profiling is set to profiling Compute and the first 10 dispatches:
kép
when I launch the application on the command-line, a green progress bar appears in the applications pane indicating that it's collecting a capture, but once the application shuts down, there's no saved file of any kind. (I'd be expecting a .rgp file, but the folder under C:\Users\mate\Documents\rgp_profiles\OpenCL-Cpp-Reduction-v2 is empty.)
kép
How can I go about finding out what's the issue? @mguerret-amd

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

RDP Version: Radeon Developer Panel v2.8.0.27
RDP build Date: 12/12/2022

Operating System: Windows 11 Version 22H2
Qt Version: 5.15.2

Tool Version: 2.0.0
Router Version 0.13.0

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

Driver Version: 22.20.29.10-221130a-386220E-AMD-Software-Adrenalin-Edition
GPUOpen Interface Major Version: 42

Operating System Name: Windows 11 Pro
Operating System Description: 22621.1.amd64fre.ni_release.220506-1250

GPUs:


Name: AMD Radeon RX 6800S

ASIC info


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


Name: AMD Radeon(TM) Graphics

ASIC info


Device Id: 5761
Revision: 200
Family: 146
gfx_engine: 13

I have no Vulkan's GPU during RDP's connection

Hi. I have System:
Window 10 X64 21H1 Build 19043.1110
AMD RX 560 - primary display
AMD Ryzen™ 3 PRO 4350G with Vega 6 Graphics
nVidia GT 1030
During connection using Radeon Develper panel Vulkan application doesn't see any Vulkan GPU.
But Direct3D12 application shows 3 GPU:

Direct3D12 Info: GPU 0 Vendor Radeon RX 560 Series
Direct3D12 Info: GPU 1 Vendor NVIDIA GeForce GT 1030
Direct3D12 Info: GPU 2 Vendor AMD Radeon(TM) Graphics
Direct3D12 Info: Selected GPU Radeon RX 560 Series

Without RDP's connection Vulkan application shows 3 GPU:

Vulkan Info: GPU 0 Vendor Radeon RX 560 Series, GPU type VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, Vulkan API Version 1.2.178
Vulkan Info: GPU 1 Vendor NVIDIA GeForce GT 1030, GPU type VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, Vulkan API Version 1.2.175
Vulkan Info: GPU 2 Vendor AMD Radeon(TM) Graphics, GPU type VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, Vulkan API Version 1.2.178

Instruction timing disappears when my application connects

Windows 10, Radeon RX 5700. OpenCL application.

My app connects and everything works except the instruction tracing tab is disabled and I'm unable to collect timing info. Is this not supported for my hardware or opencl? Or am I missing another setting somewhere?

Capturing a profile causes the GPU fans to spin at full speed until reboot/gpu reset

After setting

sudo chmod ugo+w /sys/class/drm/card0/device/power_dpm_force_performance_level

and capturing a profile in RadeonDeveloperPanel, the GPU fans start to spin at full speed and do not return to normal even after RadeonDeveloperPanel has been closed.

I was able to recover from this by either restarting the PC or executing

cat /sys/kernel/debug/dri/0/amdgpu_gpu_recover

I'm running the 5.14.8 kernel on Arch Linux with a Radeon RX 570.

setup.sh assumes AMD GPU as /dev/dri/card0

The script located here:

RadeonDeveloperToolSuite-2023-04-25-1075/scripts/setup.sh

...assumes that the AMD GPU is the only GPU in the system, as it hard-codes drm/card0 in this command:

sudo chmod ugo+w /sys/class/drm/card0/device/power_dpm_force_performance_level

If there is an Intel iGPU in the system as well, the AMD GPU could be card1 instead of card0.

Raytracing Capture Fails

Issue:

Radeon Developer Panel is unable to collect any ray tracing analysis files. Attempting to create a ray tracing capture simply gets stuck at 0% and -/- MB. Reviewing the logs shows multiple "[RRA] Failed to start collecting trace" errors being created per second, until RDP or the target application is closed.

Steps to reproduce:

  • Attach RDP to Minecraft Bedrock
  • Open a ray tracing world
  • Attempt to capture a ray tracing scene
  • RDP gets stuck and floods log file with errors

System Specs:

Alienware m17 R5 AMD
Ryzen 6900HX
Radeon 6850M XT
32GB DDR5-4800
Win 11 21H2
Adrenaline 22.10.2 WHQL

Let me know if I need to provide anything else. I did not see any guidelines for filing bugs, so I've just done my best

Can't find applications / GPU on NixOS

How does this detect applications and load drivers?

Running the application after applying patchelf build script on the exec:

Host System Information

RDP Version: Radeon Developer Panel v2.7.0.25
RDP build Date: 08/01/2022

Operating System: NixOS 22.11 (Raccoon)
Qt Version: 5.15.2

Tool Version: 1.0.0
Router Version 0.13.0


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

Driver Version: 
Driver Build: (fill me in)

GPUOpen Interface Major Version: 42

Operating System Name: NixOS
Operating System Description: Linux 6.0.2 x86_64     #1-NixOS SMP PREEMPT_DYNAMIC Sat Oct 15 06:02:59 UTC 2022

GPUs:
N/A

And running it inside Steam sandbox gets me a little futher:

Host System Information

RDP Version: Radeon Developer Panel v2.7.0.25
RDP build Date: 08/01/2022

Operating System: Steam Runtime 2 (soldier)
Qt Version: 5.15.2

Tool Version: 1.0.0
Router Version 0.13.0


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

Driver Version: 
Driver Build: (fill me in)

GPUOpen Interface Major Version: 42

Operating System Name: Steam Runtime 2 (soldier)
Operating System Description: Linux 6.0.2 x86_64     #1-NixOS SMP PREEMPT_DYNAMIC Sat Oct 15 06:02:59 UTC 2022

GPUs:
******************************************
Name: AMD Radeon RX 580 Series

ASIC info
************
Device Id: 26591
Revision: 231
Family: 130
gfx_engine: 0

Application keeps going offline seconds after it is found

I'm running the Radeon Developer Panel in the hopes of profiling my opencl application. The panel, connects and I'm on the system page. I then run my app and it shows up briefly in the list, along with a PID, then the PID goes away about a second later and the app says its offline.

The computer is running Windows 10, with the 20.12.1 AMD drivers. I only have an RX570 in the machine.

Is the fact that its multi-threaded a problem? Or is the 570 too old?

And and all help would be appreciated.

Instruction tracing for OpenCL and RX 5700

Windows 10, Radeon RX 5700. OpenCL application.

My app connects and everything works except the instruction tracing tab is disabled and I'm unable to collect timing info. Is this not supported for my hardware or opencl? Or am I missing another setting somewhere?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.