NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.28k stars 13.53k forks source link

Rocprofiler is broken #303563

Open Tungsten842 opened 4 months ago

Tungsten842 commented 4 months ago

Describe the bug

Trying to profile anything:

rocprof --hip-trace testing
/nix/store/vlfa0njqji6c7r2bsz44hnnzfi1xcx82-rocprofiler-6.0.2/bin/rocprof: line 42: /nix/store/vlfa0njqji6c7r2bsz44hnnzfi1xcx82-rocprofiler-6.0.2/bin/rocm_agent_enumerator: No such file or directory
RPL: on '240412_105733' from '/nix/store/vlfa0njqji6c7r2bsz44hnnzfi1xcx82-rocprofiler-6.0.2' in '/home/quantmint/roba/gpu-project'
RPL: profiling '"testing"'
RPL: input file ''
RPL: output dir '/tmp/rpl_data_240412_105733_48311'
rocprof(v1) is not supported on this device.
Please refer project's README for a list of supported architecures or use rocprofv2

rocprofv2 seems to be broken as well, while trying to profile an hip application:

rocprofv2 --hip-api testing
terminate called after throwing an instance of 'rocprofiler::util::exception'
  what():  Translate(), ImportMetrics: bad block name 'TCC',

Notify maintainers

@NixOS/rocm-maintainers @mschwaig ### Metadata Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result. ```console [user@system:~]$ nix-shell -p nix-info --run "nix-info -m" - system: `"x86_64-linux"` - host os: `Linux 6.8.4, NixOS, 24.05 (Uakari), 24.05.20240408.4cba8b5` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.18.2` - nixpkgs: `/nix/store/450afzqlzzgw6wnyc3dwysf3i5yxyqkr-source` ``` --- Add a :+1: [reaction] to [issues you find important]. [reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/ [issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
mschwaig commented 4 months ago

Right now I don't see myself having the time or drive to look into this issue, unfortunately. I have never used the rocprofiler myself, and the build for it is a quite flaky on my system as well.

I'm happy to review if anyone else takes a look.