GPUOpen-Tools / radeon_gpu_profiler

Radeon GPU Profiler (RGP) is a tool from AMD that allows for deep inspection of GPU workloads.
396 stars 41 forks source link

Fails to open rgp capture file #58

Closed masahi closed 1 year ago

masahi commented 3 years ago

The same issue with https://github.com/GPUOpen-Tools/radeon_gpu_profiler/issues/26. The file is attached. iree-run-module-vulkan-gui-20211105-130132.zip

The application runs a dummy render loop and runs a deep learning model inference in each frame. More details in https://github.com/google/iree/blob/main/docs/developers/developing_iree/profiling_vulkan_gpu.md#desktop-gpus

System info: OS: Ubuntu 20.04 RGP: 1.11 GPU: Vega 8 APU Driver: AMDVLK (don't know how to read the version)

chesik-amd commented 3 years ago

Hi. I am able to open the .rgp file you provided using RGP 1.11

I also tried the Windows build of RGP and it can open the .rgp file just fine too. Did you attach the correct .rgp file? If you can provide an .rgp file that fails to load, we will take a look. Thanks.

masahi commented 3 years ago

I see. When I opened this issue, I got an error below.

Screenshot from 2021-11-25 05-36-09

I have a feeling that the failure is due to the fact that the profiler stores rgp file under a path that contains non-English character. The rgp file is stored in my /home/masa/ドキュメント/rgp_profiles/iree-run-module-vulkan-gui directory, where "ドキュメント" is the Japanese word for "Document". If I move the same file to /home/masa, then RGP can open this file. I also confirmed that by changing the output directory path under "Workflow Setting", I can successfully complete capture -> view result workflow.

Does this sound a bell?

chesik-amd commented 2 years ago

Hi, yes, there are some problems in current builds when opening .rgp files in paths with Unicode characters. We will investigate and hope to be able to provide a fix in a future release.

chesik-amd commented 1 year ago

This issue should be resolved in current RGP builds. If you still encounter problems, please let use know