cancel
Showing results for 
Search instead for 
Did you mean: 

CodeXL

Elite
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 Kudos
Reply
8 Replies
Elite
Elite

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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 Kudos
Reply
Elite
Elite

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

This is on Windows 10, version 20H2.

0 Kudos
Reply
Staff
Staff

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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 Kudos
Reply
Elite
Elite

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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 Kudos
Reply
Staff
Staff

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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 Kudos
Reply
Elite
Elite

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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 Kudos
Reply
Esteemed Contributor III

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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

0 Kudos
Reply
Elite
Elite

Re: Cannot collect application timeline trace in CodeXL with the 20.12.3 driver

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.