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.
16 stars 6 forks source link

Can't find applications / GPU on NixOS #22

Closed YellowOnion closed 1 year ago

YellowOnion commented 1 year ago

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
mguerret-amd commented 1 year ago

@YellowOnion We only officially support AMD Radeon Drivers (amdgpu/amdgpu-pro) and AMDVLK. If those are available for NixOS then installing those should allow the tool to work. There is potentially support for the tools in Mesa RADV as well, but I'm not sure how the tool support is enabled in that driver.