getting an "AMDProfilerService faced an internal error ..." message with no more info when I launch it after updating...
does anyone have any ideas how to debug it further?
AMDPowerProfiler
module is loaded, kernel version 6.12.4-arch1-1
Thanks!
Git Clone URL: | https://aur.archlinux.org/amduprof.git (read-only, click to copy) |
---|---|
Package Base: | amduprof |
Description: | AMD uProf performance analysis tool. |
Upstream URL: | https://developer.amd.com/amd-uprof/ |
Licenses: | custom |
Submitter: | disc-kuraudo |
Maintainer: | disc-kuraudo |
Last Packager: | disc-kuraudo |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2019-07-13 17:19 (UTC) |
Last Updated: | 2024-12-02 09:00 (UTC) |
getting an "AMDProfilerService faced an internal error ..." message with no more info when I launch it after updating...
does anyone have any ideas how to debug it further?
AMDPowerProfiler
module is loaded, kernel version 6.12.4-arch1-1
Thanks!
@zlice the fix works for me as well, huge thanks!
Since the AMD forum is slow to accept posts I figured I'd post my 0x80004005 fix here.
0x00007ffff7c39f4f in CaPerfDataWriter::writeCpuTopology() () from .../AMDuProf_Linux_x64_4.1.424/bin/libAMDCpuProfilingRawData.so
Open libAMDCpuProfilingRawData.so
with hexedit and search (/) for bf 53 00 00 00
and change 53
to 54
. Should be around offset 0000AC80.
Changes sysconf(83) call to 84 which is the proper _SC_NPROCESSORS_ONLN value, at least on my system and according to docs.
The driver failed to start profiling. (error code 0x80004005)
I'm getting exactly the same problem. The AMDPowerProfiler module is loaded so I'm also not sure where this is going wrong.
amduprof also depends on python2
package.
Has anyone else encountered the following error?
The driver failed to start profiling. (error code 0x80004005)
There's a few posts about it on the official AMD forums but no solutions so far: https://community.amd.com/t5/server-gurus-discussions/amduprof-not-attaching-to-processes-on-linux/td-p/569271
The AMDPowerProfiler
module seems to be loaded so I'm not sure where this is going wrong.
PwrProfSharedMemOps.c:222 needs to be changed from vma->vm_flags |= VM_RESERVED
to vm_flags_set(vma, VM_RESERVED)
as per https://lore.kernel.org/lkml/CAJuCfpETYdLRigLTHe6HHQrC5vy5MmDc=HPsuMc6UKEzfr22ZA@mail.gmail.com/
Manual download of tarball required from upstream
Is anyone able to show source code next to assembly in the Sources tab?
All I get is assembly with "-g" debug binaries.
Wondering if something is off using this on Arch.
please update to latest version
Pinned Comments
disc-kuraudo commented on 2022-11-11 09:25 (UTC)