Screenshot introduces performance changes in the application being recorded (matters for OpenGL and Vulkan performance measurements)
I work on the Mesa team at Intel, and we're currently in the process of moving our performance gathering process from X11 to wayland. One part of this is replacing our current screen capture tool, scrot, with something that works with wayland. Since we use gnome, and because it works with both x11 and wayland, we're considering gnome-screenshot for that purpose.
We are making use of a rebased version of #64, which I will be resending for review soon, but even with that we're still seeing a dip in FPS that corresponds directly with the screen capture, without this the flash causes a spike immediately following the dip.
I'm happy to write some code if anyone has suggestions on what to try
My initial thought was that the png conversion may be introducing CPU load, and thus affecting the workload, but that's just a gut guess with no information gathering done.