cancel
Showing results for 
Search instead for 
Did you mean: 

CodeXL

timchist
Elite

Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

An attempt to collect application timeline trace in CodeXL when Adrenalin 20.12.3 driver is installed results in the following error:

---------------------------
CodeXL
---------------------------
Unable to gather profile data. This error can occur for one of several reasons:<ul><li>The active project is not an OpenCL program.</li><li>The active project does not compile or run properly (try running it manually).</li><li>You do not have write access to the profile output directory.</li><li>The application terminated unexpectedly before the profiler wrote out any data. Try enabling the "Write trace data in intervals during program execution" option (or reducing the interval if the option is already enabled) on the "Application Timeline Trace" project setting page.</li></ul>
---------------------------
OK
---------------------------

0 Likes
13 Replies
timchist
Elite

This used to work correctly in the past with exactly the same binary. I also tried a few other OpenCL programs, but no luck.

My system has a Vega 64 installed.

We also tried on a different computer with RX 5700 XT, but received the same message.

CodeXL is at the latest version (2.6.361.0).

0 Likes

This is on Windows 10, version 20H2.

0 Likes

Thank you for reporting it. As mentioned here: https://github.com/GPUOpen-Archive/CodeXL, CodeXL is no longer being actively developed or supported by AMD. So, instead of CodeXL, you can try the Radeon Developer Tool Suite available here: https://gpuopen.com/tools/

For any query or support related to this tool, please post at the related GitHub project.

 

Thanks.

0 Likes

Thank you, Dipak.

I tried to use Radeon Profiler and Radeon Developer panel, but could not get the tool to capture the whole trace of my application's OpenCL calls (it takes a couple of seconds for the application to run). I could only get the first ~50ms of trace since the application starts.

Any way to capture the whole timeline using Radeon Developer Tool Suite?

0 Likes

As mentioned here https://radeon-developer-panel.readthedocs.io/en/latest/#my-workflows, you may try to set a large "dispatch range" to see if it captures the whole timeline.

Radeon Developer Panel uses  Radeon GPU Profiler (RGP) tool to capture the profiling data. So you may also try the RGP tool available here: https://github.com/GPUOpen-Tools/radeon_gpu_profiler

For any issue/query related to RGP tool, please post here: https://github.com/GPUOpen-Tools/radeon_gpu_profiler/issues

 

Thanks.

0 Likes

I set dispatch range to the maximum of 1000, but that does not seem to help for some reason.

I'll check the Github issues link you have provided, thanks.

0 Likes

Surprised to see CodeXL still has a non-archived forum given it's been discontinued by AMD. I see there are mentions of forks on the GitHub readme but no explicit links. Should this forum be archived? Will there be a replacement forum for µProf questions?

0 Likes

 

Should this forum be archived? 

Though currently I'm not aware of any such plan, but yes, it may happen in the future.

 

Will there be a replacement forum for µProf questions?

"AMD Server Gurus" community already provides all the support related to uProf. 

 

Thanks.

0 Likes

Lots of things no longer work on OpenCL with AMD.
It is almost as if they don't support it anymore at all...

0 Likes

Unfortunately I have to agree. Development tools, development documentation, as well as support in drivers is way worse than what NVIDIA offers for their GPUs.


@timchist 

>  Unfortunately I have to agree. Development tools, development documentation, as well as support in drivers is way worse than what NVIDIA offers for their GPUs.

1) I'm not agree, Radeon GPU Profiler and Radeon Memory Visuializer more better than nVidia nSight for Vulkan/Direct3D12.

2) https://gpuopen.com/ has a lot of information about Vulkan/Direct3D12

3) AMD Adrenalin drivers has good support, see my bug https://community.amd.com/t5/opengl-vulkan/vkcreateshadermodule-crashes-on-adrenalin-2020-21-3-1/m-p...

CodeXL is not suppotred now...

0 Likes

@Andrey2007AMDnot sure why you've tagged me, I think you meant to reply to the post above mine...?

0 Likes

@Myrmecophagavir, Sorry, I have changed my post