cancel
Showing results for 
Search instead for 
Did you mean: 

HSA

troublemice
Journeyman III

Kaveri GPU profiling on Linux

Jump to solution

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.

Tags (4)
0 Likes
Reply
1 Solution

Accepted Solutions
nou
Exemplar

Re: Kaveri GPU profiling on Linux

Jump to solution

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
Reply
3 Replies
nou
Exemplar

Re: Kaveri GPU profiling on Linux

Jump to solution

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
Reply
gabbayo
Adept II

Re: Kaveri GPU profiling on Linux

Jump to solution

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

Re: Kaveri GPU profiling on Linux

Jump to solution

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
Reply