GPUOpen-Tools / gpu_performance_api

GPU Performance API for AMD GPUs
MIT License
248 stars 46 forks source link

Navi Vertex Shader counters read 0 #47

Open himanshugoel2797 opened 4 years ago

himanshugoel2797 commented 4 years ago

After integrating GPA into a custom OpenGL based engine, it appears that on Navi (specifically a 5700XT Anniversary Edition), the VSVALUInstCount, VSSALUInstCount and associated Busy and BusyCycles counters always read 0. After doing some digging, it appears that the GS0 set of hardware counters might contain these and related values, which I'm assuming is due to how Navi cards support mesh shaders. Thus, my question is, is this assumption correct? Is this a bug in GPA regarding mapping hardware counter names to the human readable counter names? I realize that these values being inaccurate is a known issue, however a reading of 0 is clearly not representative of performance.

PLohrmannAMD commented 4 months ago

Sorry that nobody responded to this much sooner. We also discovered the 0 results on various hardware, unfortunately soon after we had re-introduced those counters. This is actually a side effect of the known issue, and I agree it is not representative of performance and we should have been more thorough with our testing prior to re-introducing those counters. This has gone through very detailed investigation (much deeper than GPA) and we now have insight into the cause of the issue. I don't have any details yet on when a fix will become publicly available, but this is important for us to resolve. Testing continues!