This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Check Mali GPU usage

Note: This was originally posted on 28th January 2013 at http://forums.arm.com

Hi,

I am working on Nexus-10 about Android Renderscript
Is there anybody to tell me how I can see the usage of T604 Mali GPU?
Currently, only DS-5 is available to profile GPU ? or there is other tool?

Thank you in advance
  • Note: This was originally posted on 30th January 2013 at http://forums.arm.com

    Hi Adrianlm,

    DS-5 Streamline is the supported tool for profiling Mali T6xx devices. Currently we do not offer any other tool for this purpose.

    Thanks,
    Chris
  • Note: This was originally posted on 10th April 2013 at http://forums.arm.com

    Hi ,
    I'm stuck with mali400 platform. i have ddk release r2p4 is it possible to profile the GPU with this release? do i need to move to r3p2?
    on r2p4 i only get the linux and cpu traces no GPU traces and my silicon vendor ( hardkernel/samsung) is not releasing yet the r3p2 ( samsung still has to deliver it)
    any way to get the figures of the gpu usage ?
    Thanks


    Hi Adrianlm,

    DS-5 Streamline is the supported tool for profiling Mali T6xx devices. Currently we do not offer any other tool for this purpose.

    Thanks,
    Chris
  • Note: This was originally posted on 10th April 2013 at http://forums.arm.com


    Hi ,
    I'm stuck with mali400 platform. i have ddk release r2p4 is it possible to profile the GPU with this release? do i need to move to r3p2?
    on r2p4 i only get the linux and cpu traces no GPU traces and my silicon vendor ( hardkernel/samsung) is not releasing yet the r3p2 ( samsung still has to deliver it)
    any way to get the figures of the gpu usage ?
    Thanks




    Hello nfstry,

    Streamline for Mali-400 is supported out of the box from r3p1 onward  Earlier versions (such as r2p4) require modifications to be made to the Mali DDK. This can involve both kernel side, and userspace side, modifications.
    The kernel side is easy to do as we give the sources for this on malidevelopers.arm.com, however userspace side is a different matter.
    Unless you have access to the Mali DDK, you will not be able to apply the necessary patches to the Mali userspace libraries.
    The option here would be to contact the silicon vendor of the device you are using, and to ask for a version of the Mali libraries that support streamline.
    However, if you do have access, then this is something we can help with, but should be dealt with via an ARM support case.

    Thank you for your query. I hope this answered your question.

    - McGeagh
  • Note: This was originally posted on 12th April 2013 at http://forums.arm.com


    Hi ,
    I'm stuck with mali400 platform. i have ddk release r2p4 is it possible to profile the GPU with this release? do i need to move to r3p2?
    on r2p4 i only get the linux and cpu traces no GPU traces and my silicon vendor ( hardkernel/samsung) is not releasing yet the r3p2 ( samsung still has to deliver it)
    any way to get the figures of the gpu usage ?
    Thanks
    [size=2]
    [/size]

    Hello nfstry,

    In addition to my previous response, you can get 'some' features of streamline working with just the kernel patches applied.
    So it depends on what kind of features you are after, which will dictate whether just applying kernel side patches will be sufficient.
    If you are interested in this, please let us know, and we can look into the best way to provide the appropriate kernel side patches for your device.

    - McGeagh
  • Note: This was originally posted on 12th April 2013 at http://forums.arm.com

    Hello McGeagh,
    That's a very good news. in fact we have a multilayer UI on android and we try to see the smoothness of the ui. we are comapring the same application on different GPUs ( mainly adreno vivante and mali) it seems that the adreno gives better results than the mp400 on this test., that's why we want to see if the overload happens on the gpu or not and if it is the case what's the bottlneck (cache misses or mem bandwidth or simply architectural issue ex :  not supporting overlays) so any information which can help  is more than welcome.
    Thanks

    [/size]

    Hello nfstry,

    In addition to my previous response, you can get 'some' features of streamline working with just the kernel patches applied.
    So it depends on what kind of features you are after, which will dictate whether just applying kernel side patches will be sufficient.
    If you are interested in this, please let us know, and we can look into the best way to provide the appropriate kernel side patches for your device.

    - McGeagh
  • Note: This was originally posted on 29th April 2013 at http://forums.arm.com


    Hello McGeagh,
    That's a very good news. in fact we have a multilayer UI on android and we try to see the smoothness of the ui. we are comapring the same application on different GPUs ( mainly adreno vivante and mali) it seems that the adreno gives better results than the mp400 on this test., that's why we want to see if the overload happens on the gpu or not and if it is the case what's the bottlneck (cache misses or mem bandwidth or simply architectural issue ex :  not supporting overlays) so any information which can help  is more than welcome.
    Thanks



    Hello nfstry,

    Many apologies for the late reply, we are currently looking into whether we can supply the patch that you require, as we do not officially support r2p4 drivers anymore. I will get back to you as soon as possible with the result.
    If you are a customer of ARM however, you should just be able to create an ARM support case and this can be done quickly through the Mali Support team directly.

    Thank you for your patience,
  • Note: This was originally posted on 3rd July 2013 at http://forums.arm.com

    Hi McGeagh,
    I'm having very similar problem too. I'm using an Origen Quad board which uses Samsung Exynos 4 with Mali-400MP GPU.
    The GPU driver provided by Samsung is pretty old (r2p4).
    At first I cannot build the gator module for Streamline GPU profiling because there is no "mali_linux_trace.h" in the Mali driver folder.
    Then I copied the file with the same name from a newer version to the driver folder. I could build and run it, but I cannot get GPU profiling. Instead I get these error message:


    [ 1637.498392] gator: mali online _mali_profiling_set_event symbol not found
    [ 1637.507603] gator: mali online _mali_osk_fb_control_set symbol not found
    [ 1637.512948] gator: mali online _mali_profiling_control symbol not found


    [size="2"]Is there any work around for this problem other than asking Samsung for a newer version of Mali driver?

    Thanks.[/size]
  • Note: This was originally posted on 4th July 2013 at http://forums.arm.com

    Hi caogao,

    As we do not support r2p4 drivers for GPU profiling, we cannot help with this.
    For official support, you would need to ask Samsung for updated drivers.

    I apologise we cannot help you further on this.

    McGeagh

    Hi McGeagh,
    I'm having very similar problem too. I'm using an Origen Quad board which uses Samsung Exynos 4 with Mali-400MP GPU.
    The GPU driver provided by Samsung is pretty old (r2p4).
    At first I cannot build the gator module for Streamline GPU profiling because there is no "mali_linux_trace.h" in the Mali driver folder.
    Then I copied the file with the same name from a newer version to the driver folder. I could build and run it, but I cannot get GPU profiling. Instead I get these error message:


    [ 1637.498392] gator: mali online _mali_profiling_set_event symbol not found
    [ 1637.507603] gator: mali online _mali_osk_fb_control_set symbol not found
    [ 1637.512948] gator: mali online _mali_profiling_control symbol not found


    [size="2"]Is there any work around for this problem other than asking Samsung for a newer version of Mali driver?

    Thanks.[/size]
  • Note: This was originally posted on 31st July 2013 at http://forums.arm.com

    Hi McGeagh,

    I've just read in your previous post that you might be able to provide  kernel patches to get some of the profiling work with the r2p4  driver ?!?

    I am using SGS2 with ICS, and I need to use the streamline analyser to  profile some performance counters of the GPU, but having the r2p4 driver  it would not be possible! So the idea of  providing kernel-only patches  to get some features of the analyser working with the r2p4 user space  libraries would be excellent!

    Googling around I found several people facing the same issue, so I  would really like to know if there is any updates on that ??!

    Enas


    Hi caogao,

    As we do not support r2p4 drivers for GPU profiling, we cannot help with this.
    For official support, you would need to ask Samsung for updated drivers.

    I apologise we cannot help you further on this.

    McGeagh