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

Error occured when starting capture on Streamline : Error getting Mali counter sample on device 0

Hello, I am using Arm Streamline to detect performance on an Immortalis-G715 device. I am connecting my device via ADB, and it's working as intended, but when I clicked the "Start Capture" button, the capture process started and then shut down immediately.

An error occured as follows:

java.io.IOException: Error from target: Error getting Mali counter sample on device 0: Invalid argument at com.arm.streamline.databrowser.GatorSendCommandUtility.readResponse(GatorSendCommandUtility.java:247) at com.arm.streamline.databrowser.GatorTarget.nextFrame(GatorTarget.java:212) at com.arm.streamline.protocol.capture.apc.io.APCLiveFrameCapturer.consumeOneFrameFromSource(APCLiveFrameCapturer.java:76) at com.arm.streamline.analysis.gator.GatorLiveFrameCapturerThread.process(GatorLiveFrameCapturerThread.java:64) at com.arm.streamline.analysis.AnalysisBase.run(AnalysisBase.java:92) at java.base/java.lang.Thread.run(Thread.java:829)

Did I miss any steps before starting a capture?

Parents Reply Children
  • Hey, thanks for the heads up, I updated the Streamline to 8.9 and it can start capture normally now. I want to analyse the result and followed the guidelines in the Performance Advisor User Guide, however another problem occured this time when I tried to generate a report by the -pa command:

    C:\Users\admin\Documents\Streamline>Streamline-cli -pa Capture_03.apc
    Importing capture...
    Fetching data...
    Preparing report type html...
    Problems were found preparing html report:
    WARNING: Build name not provided. You can add this as a command line argument (use --build-name).
    WARNING: Build timestamp not provided. You can add this as a command line argument (use --build-timestamp).
    WARNING: Device name not provided. You can add this as a command line argument (use --device-name).
    WARNING: Cannot find draw calls counter. Use LWI or GA interceptor when creating your capture to obtain draw calls data.
    ERROR: Cannot find any frames. Please refer to the user guide for methods of providing frame data to Performance Advisor.
    WARNING: CPU cycles data was not used. Cycles data is missing or unreliable. Use --force-cycles to force usage of this data.
    I confirm that I have run the streamline_me.py script before capturing and closed it after capturing. I suppose some files should be generated at the same place that the script is located after closing the script, yet nothing is generated. 
    BTW, I notice that there are similar problems in the forums, but they are all said to fixed in later versions of Streamline, and I'm already using 2023.5, so I wonder what cause this problem to show up again.