This was working a few days ago but I updated my OS and some libraries along with it. Glibc, gcc, xorg, etc.
I tried running uProf 4.0.341 and it does not attach to processes - "the driver failed to start profiling. (error code 0x80004005)"
Can you explain the issue in more details so that I could reproduce this on my machine here?
I'm facing the same issue on Fedora 37 with Linux:
"ERROR : The driver failed to start profiling. (error code 0x80004005)"
Hi, I tried reproducing this on our end here but could not. Can you please elaborate more on what exactly you are doing... that would help us reproduce the issue and help you use uProf successfully?
I'm facing the same issue on Fedora Silverblue 37. Any process I attach to or start profiling from uprof give me "The driver failed to start profiling. (error code 0x80004005)" screen. Same problem runnning sudo.
Linux fedora37.fedora 6.0.15-300.fc37.x86_64
Can you share the output of below command:
AMDuProfCLI.exe info --system
This just gives the following error:
[stephan@fedora bin]$ ./AMDuProfCLI --system
ERROR: Invalid option or missing command.
Please note that executables on linux don't have an ".exe" extension
OS Details : LinuxFedora Linux 37.20230104.0 (Silverblue)-64
Distribution Details :
Kernel Details : 6.0.15
AMD Cpu : Yes
Family : 0x19
Model : 0x21
Stepping : 0x0
Local APIC : Yes
Socket Count : 2
SMT Enabled : Yes
Threads per Core : 2
Threads per CCX : 16
Threads per Package : 16
Total number of Threads : 32
[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 : 2
Perf Event Max Mlock : 516 KB
Perf Event Max Stack : 127
Hypervisor Enabled : No
Thanks for the info. I am working on to reproduce this issue. I will keep you posted on this.
I could not find the build you used, but i could not reproduce the issue with Rawhide.20230112.n.0 (Silverblue Prerelease)-64. Let me know if can test this or any other build which we both can use.
This just happens for the regular latest stable linux release of AMDuProf (AMDuProf_Linux_x64_4.0.341). Just go the downloads section😅
I tried to reproduce the problem you reported with latest fedora build, build i could not reproduce it. I tried below build.
Can you try the latest build of Fedora and see if you still see the issue?
I don't know which Fedora you have installed. It should just show something like "LinuxFedora Linux 37":
Hi, I think I have reproduced the issue - i will keep you posted on this work here. Can you try to profile the application in the same terminal as your application is running?
Hi, I could not reproduce the issue you reported. Do you think we can meet online and discuss the issue? drop an email to toolchainsuppot at amd dot com and we shall work together to understand/resolve the issue.
I can reproduce this in Fedora 37 using the latest RPM
I am not able to reproduce this issue on my fedora 37 instance
Can you please share the steps on how you have installed Fedora 37 along with the command used for attaching to the process.
Can you please share additional information which can help me in reproducing the error
Steps used for Fedora Installation
Fedora Edition(Server, Workstation, Silverblue)
Command used for Profiling
whether issue is observed in CLI or GUI
Application used for profiling