cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

fgy31775288
Adept I

AMDuProf not working on ubuntu23.04

I picked a process and the following error shows up

./AMDuProfCLI collect --config tbp -o ~/ --pid 8301
ERROR : The driver failed to start profiling. (error code 0x80004005)

my cpu is  Model name: AMD Ryzen Threadripper PRO 3945WX 12-Cores which is in the supported list. I did not see any other error message, even with sudo it is not working. 

Tried the graphical application, same message.

Kernel V: 6.2.0-36-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 4 10:14:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

BTW, i downloaded the latest version of the profiler binary from official website amduprof_4.1-424_amd64.deb and this AMDuProf_Linux_x64_4.1.424.tar.bz2

0 Likes
7 Replies
shrjoshi
Staff

Hello @fgy31775288 

Thank you for writing to ServerGuru.
We are currently looking into the issue.
Will keep you updated on the same.

0 Likes

Hello @fgy31775288 

We need more information for better understanding of the issue.

1. Can you please share the o/p of command "./AMDuProfCLI info --system".
2. Also can you please check if the issue exists w/o attaching pid i.e. by launching an application.
    You can try the command :
     ./AMDuProfCLI collect --config tbp -o $OUT_DIR AMDTClassicMatMul-bin 
     ./AMDuProfCLI translate -i $OUT_DIR/uprof_folder
     ./AMDuProfCLI report -i $OUT_DIR/uprof_folder
AMDTClassicMatMul-bin can be built in Examples folder of AMDuProf [Examples/AMDTClassicMatMul]

0 Likes

1. 

[OS Info]
OS Details              : LinuxUbuntu 23.10-64
Distribution Details    : debian 23.10
Kernel Details          : 6.5.0
 
[CPU Info]
AMD Cpu                 : Yes
Family                  : 0x17
Model                   : 0x31
Stepping                : 0x0
Local APIC              : Yes
Socket Count            : 6    
SMT Enabled             : Yes
Threads per Core        : 2   
Threads per CCX         : 6   
Threads per Package     : 24  
Total number of Threads : 128
 
[PERF Features Availability]
Core PMC                : Yes
L3 PMC                  : Yes
DF PMC                  : Yes
PERF TS                 : No
 
[IBS Features Availability]
IBS                     : Yes
IBS Fetch Sampling      : Yes
IBS OP Sampling         : Yes
IBS FetchCtlExtd        : Yes
IBS ExtCount            : Yes
IBS Dispatch            : Yes
IBS BrTgtAddr           : Yes
IBS OpData4             : No
 
[RAPL/CEF Features Availability]
RAPL                    : Yes
APERF & MPERF           : Yes
Read Only APERF & MPERF : Yes
IRPERF                  : Yes
HW P-State Control      : Yes
 
[PERF features supported by OS]
TBP Supported           : Yes
EBP Supported           : Yes
IBS Supported           : Yes
IRPERF Supported        : Yes
APERF Supported         : Yes
MPERF Supported         : Yes
BPF Supported        : No
BCC Installed        : No
Perf Event Paranoid     : -1
Perf Event Max Mlock    : 516 KB
Perf Event Max Stack    : 127
 
[Hypervisor Info]
Hypervisor Enabled      : No

 

2. 

./bin/AMDuProfCLI collect --config tbp -o ./output ./Examples/AMDTClassicMatMul/AMDTClassicMatMul-bin
ERROR : The driver failed to start profiling. (error code 0x80004005)


Error: Collection of profile data failed...

recently upgraded to 23.10 so i assume this is not related to the ubuntu versions since i used to be on 22.04 which iirc it didn't work either

0 Likes

Hello @fgy31775288 

We were able to reproduce the issue at our end.
We are currently working on fixing it.
Will keep you updated about the same.

is this issue fixed so far?

0 Likes

Hello @fgy31775288 

Thank you for your patience.
This issue is not fixed yet. 
We will inform you once the fix is available.

0 Likes