cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

troublemice
Journeyman III

Kaveri GPU profiling on Linux

Dear Devgurus,

Currently I am working with AMD Kaveri A10 7850K and I am trying to run some comparative benchmarks on it.

My OS is Ubuntu 14.04, I have set up it for Aparapi Lambda. and done some CPU profiling. However since Linux kfd uses radeon driver

I am not able to use CodeXL for GPU profiling.

Could you please suggest me any tools/software compatible with Kaveri and that can run on Ubuntu?

Mainly I would like to get information about GPU loading ( frequency || clock ).

Thank you.

0 Likes
1 Solution
nou
Exemplar

you are using open source driver? then only tool I can think of is https://github.com/clbr/radeontop

oh and GL_AMD_performance_monitor should be available for mesa too.

View solution in original post

0 Likes
3 Replies
nou
Exemplar

you are using open source driver? then only tool I can think of is https://github.com/clbr/radeontop

oh and GL_AMD_performance_monitor should be available for mesa too.

0 Likes
gabbayo
Adept II

AFAIK, radeon doesn't support performance counters at the moment.


You can see the current GPU clocks and voltages via debugfs:

cat /sys/kernel/debug/dri/64/radeon_pm_info


Note that the clocks are in 10Khz units.

     Oded

troublemice
Journeyman III

Thank you for your response!


I checked out radeontop and it woks well with Kaveri. This kind of information is quite enough for me.

Screenshot from 2014-08-18 16_00_58.png

For radeontop I pulled it from git and built by myself, the version you get with apt-get install does not work.

A small reference if you will build it:

install libdrm-dev

install libpciaccess-dev

install libncurses5-dev

then you can proceed with build.

For the cat /sys/kernel/debug/dri/64/radeon_pm_info  - it gives the GPU clocks, no wrongs.

0 Likes