I'm using Arm Streamline Performance Analyzer Version 9.1.0, Build 20240412_130509. I noticed in streamline the fps is around 60fps in both vulkan and gles targets.
but after generating pa report, the html report says vulkan targets is running in 120 fps?
and both vulkan's fps and cpu/gpu cycles are much noisy than opengl targets. I wonder how does pa interpretes a frame in vulkan? Does this indicates an issue in our code(does this mean we make gpu think we're in 120 fps, but actually we're not, causing gpu to use more power and have higher frequency)?
And btw, i wonder how do i get the gpu frequency in streamline, i didn't find related counters. So if the frequency is as noisy as the fps, then i know there's something really wrong in our vulkan codebase.
Hi sindney, I'm an engineer on the Streamline team. Would you be able to provide us with the capture (.apc) that these screenshots are taken from? It would help us to understand why you might be seeing this discrepancy in FPS. We calculate the frame rate in performance advisor using frame data in the "Performance Advisor" view located at the bottom of the timeline view, not the Frame chart that you show in your screenshots. If you can't provide the capture itself, a screenshot of that data would be useful. You can view GPU Cycles by clicking the "Add charts" icon in the top right of the app, there should be a chart in the list called "Mali GPU Cycles" Thanks, Connor
Thanks for the quick reply, and i just noticed the previous capture is having pso compiling during the gameplay, after those pso compiling were completed, the pa's fps is correct. Sure, i can email you the apc, can you give me a email address(it's 22 mib too large to attach), i think it's still worth analyze what's wrong in the previous condiction.
Hi, i got the gpu cycles data, and noticed some difference between vk and gl targets, is there any gpu frequency counters? So i know the diff in cycles is caused by gpu's frequency change, or if they are in the same freq, then there's some actual workload diff there.
Hi again, glad to hear you've got them matching! Please send the capture to developer@arm.com. Regarding the frequency counters, we don't have any in streamline I'm afraid. You might be able to get something in Perfetto if you have trace points hooked up for it, but I wouldn't be able to advise much on that. Connor
Hi again, just wanted to let you know the Streamline team has received the capture and we will try and investigate as soon as possible.