Vulkan-Samples icon indicating copy to clipboard operation
Vulkan-Samples copied to clipboard

HPP terrain tessellation sample reports wrong statistics

Open SaschaWillems opened this issue 2 years ago • 6 comments

The terrain tessellations sample displays statistics using a pipeline statistics query:

image

The HPP version of that sample does the same, but displays wrong values:

image

When debugging, I can see the correct values in the HPP ones after getting the query pool results, but they seem to get lost between this and the display. I wasn't able to find out why.

Maybe you can take a look at this @asuessenbach?

SaschaWillems avatar Apr 21 '23 13:04 SaschaWillems

I'm sorry, but I can't repro this issue. The statistics look correct on my end. Maybe someone else can test this as well?

asuessenbach avatar Apr 26 '23 09:04 asuessenbach

Thanks for testing this. I can actually also reproduce this on Android with my Pixel 4a. While the non hpp version displays proper statistics, the hpp one always shows the same (probably wrong) values.

SaschaWillems avatar Apr 26 '23 16:04 SaschaWillems

As noted in #832 this issue is still present.

It only happens in the hpp version and for two completely different setups:

  • My old setup with an RTX 2060 and Windows 10
  • My new setup with an RTX 4070 and Windows 11

I expect a sync/timing problem, as it seems to be more visible with hight framertates. On another setup with an integrated Intel GPU where I can't get vsync to disable I always see correct values.

SaschaWillems avatar Oct 31 '23 10:10 SaschaWillems

As already noted, I can't repro this issue. If anybody else could check on his setup and report here?

asuessenbach avatar Nov 02 '23 09:11 asuessenbach

Just to rule out anything related to my PC setup: I can also reproduce this on my Google Pixel 4a. It's actually even a bit different there: The HPP version of the sample always displays the same (wrong) values that never change, no matter where i look, whereas the non-HPP version works fine:

Screenshot_20231102-184022 Screenshot_20231102-183958

SaschaWillems avatar Nov 02 '23 17:11 SaschaWillems

This is still happening for me, even with the recent change that limits gui updates.

SaschaWillems avatar May 20 '24 12:05 SaschaWillems