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

MALI-400 Driver Support Issue

Note: This was originally posted on 25th September 2012 at http://forums.arm.com

Hi,
I am working on Galaxy S3, Exynos quad-core, [font=sans-serif]1.4 GHz quad-core [/font]Cortex-A9 with MALI-400 MP.
The device is using Android Jelly Bean. Linux/arm version is Linux/arm 3.0.31 Kernel.
While using profiling (streamline) in DS-5, GPU snippets are not showing.
"Chart configuration is incompatible with this configuration is showing when GPU counters are selected.
Before that, I built gator.ko and gatord and copied them into same directory in target.
Using DS-5, I can get CPU performance counters but not GPU counters.
I even generated gator.ko with "GATOR_WITH_MALI_SUPPORT=MALI-400".
Can anyone kindly guide me about where are we missing something.
[size=2]Thanks a lot.[/size]
Yasir.

  • Note: This was originally posted on 25th September 2012 at http://forums.arm.com


    Hi,
    I am working on Galaxy S3, Exynos quad-core, 1.4 GHz quad-core Cortex-A9 with MALI-400 MP.
    The device is using Android Jelly Bean. Linux/arm version is Linux/arm 3.0.31 Kernel.
    While using profiling (streamline) in DS-5, GPU snippets are not showing.
    "Chart configuration is incompatible with this configuration is showing when GPU counters are selected.
    Before that, I built gator.ko and gatord and copied them into same directory in target.
    Using DS-5, I can get CPU performance counters but not GPU counters.
    I even generated gator.ko with "GATOR_WITH_MALI_SUPPORT=MALI-400".
    Can anyone kindly guide me about where are we missing something.
    Thanks a lot.
    Yasir.



    Hi Yasir, welcome to the forum!

    You may have a typo in your definition of GATOR_WITH_MALI_SUPPORT.  This should be set to 'MALI_400' (not MALI-400).  The rest looks ok.

    We only currently have gator working for Mali under ICS.  We've not yet tried Jellybean but there's no reason I can think of that would prevent this from working too.

    Give this a go and let us know how you get on...

    Many thanks,
    Mark
  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com


    Hi Yasir, welcome to the forum!

    You may have a typo in your definition of GATOR_WITH_MALI_SUPPORT.  This should be set to 'MALI_400' (not MALI-400).  The rest looks ok.

    We only currently have gator working for Mali under ICS.  We've not yet tried Jellybean but there's no reason I can think of that would prevent this from working too.

    Give this a go and let us know how you get on...

    Many thanks,
    Mark



    Hi Mark,
    Thanks for your quick response.
    I am sorry for the typo. It was actually MALI_400.
    Still for GPUs, we are getting "Chart configuration is incompatible with this capture".
    The reason of this issue is "missing source data".
    Also, I have another question.
    While building gator.ko, I provided the location of MALI drivers.
    In that location, do I have to build mali.ko also? If yes, then there must be files related to pegasus-m400 architecture which are not available there as I think our GPU may be using pegasus-m400 architecture?

    Thanks again..
    With best regards,
    Yasir.
  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com

    Hi Yasir,

    Thanks for the extra information.  I've also seen the incompatible chart configuration message in the past but don't know what provokes it.  I'll ask the Streamline developers for information on this one, but be aware that they are in our Olympia office and so will not see the question until later...

    The build of gator.ko doesn't require the full driver source, just the definition of the linux tracepoints which the driver uses to notify hardware events to the system.  These should be restricted to the single header 'mali_linux_trace.h'.  You shouldn't need to rebuild the driver, provided that the version you have is r3p1 or better.  Earlier versions only had limited support for gator profiling.

    Hope this helps,
    Mark
  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com

    Hello Mark,
    Thanks a lot for your response.
    Yes, I am using r3p1 (latest version) of MALI drivers.
    Kindly let me know when the Streamline team responds to this query.
    Meanwhile, I will try to check the builds from other teams to check whether this problem is build- or OS dependent or not.
    Thanks again.
    Yasir.


  • Note: This was originally posted on 26th September 2012 at http://forums.arm.com

    Hi Yasir,

    Reply from the Streamline team:

      The error "Chart configuration is incompatible with this capture" usually occurs when the counter that is to be displayed from the chart configuration was never captured.

      Generally there is a more explicit error message with the tooltip that might say something like "Missing source data: X"

     

    (but the 'X' bit is missing in your case).  Could you let me know which trace or counter this is reported on, it may help in diagnosing the problem.

    Ta,
    Mark
  • Note: This was originally posted on 27th September 2012 at http://forums.arm.com

    Hi Medge,
    Thanks for your reply.
    From "Snippets' in DS-5, we can select GPU Mali. All of them have got all or partial missing source data. For example,
    For snippet "Mali GPU Fragment Processor 0", missing data are "Active clock cycles" and "Vertices processed".
    For "Mali GPU Vertex Processor", missing data is "Vertices processed".
    For GPU Bandwidth Split" and "GPU Total Bandwidth", "System bus reads", "system bus write", "total bus reads, "total bus writes" are all missing.
    For "glDraw Arrays Statistics", missing source data is "Calls to glDraw Arrays" and "Calls to glDraw Elements".
    Once i also saw an error (?) explaining "The chart metrics does not map to individaul processor cores" for Mali GPU vertex processor.
    On the other hand, I am getting all counters related with CPU performance i.e. CPU activity, wait, instructions etc.
    Thanks for your effort.
    Yasir.


  • Note: This was originally posted on 22nd December 2012 at http://forums.arm.com

    Hi Yasir, Medge,

    Any updates on the issue. I am also facing exactly the same problem, except that my issue is on Nexus 10(MALI-T604).
    If you could share the solution/status for this issue, it could well solve my issue as well.

    thanks and regards,
    Karthick
  • Note: This was originally posted on 30th December 2012 at http://forums.arm.com


    Hi Yasir, Medge,

    Any updates on the issue. I am also facing exactly the same problem, except that my issue is on Nexus 10(MALI-T604).
    If you could share the solution/status for this issue, it could well solve my issue as well.

    thanks and regards,
    Karthick

    Hi,all

    I also got the same problem on rk3066 platform.Waiting for the solution.
    Thanks a lot
    Simon