Capture GPU frame with two MTKViews in a window

I have an app with a window containing two MTKViews. It appears to work as expected however when I use the "Capture GPU Frame" button in Xcode and choose one of my command queues (I've labeled them to make it easy to select the right one) I see indications of problems as shown by the purple box annotations. When I look at the explanation by right clicking the purple box and selecting "show in issue navigator" I get:


runtime: High: CAMetalLayer nextDrawable was Called Unnecessarily


But when I look at the call stack, it shows code (calling nextDrawable) that is in the other MTKView's renderer. The two views run independently. They are fed by two different UDP data streams and they draw at whatever rate the data arrives (relatively slow, about 30 fps). This sort of error appears in the frame capture of either MTKView.


I have clicked the "Only show related stack frames" button at the bottom but the error still appears.


Do I need to somehow synchronize these two MTKViews? Is this a real error or some sort of issue with the GPU frame capture?