FPS fluctuation when QC is in Focus

robbietherobot's picture

Here's a weird one. Just got a new MacMini (Late 2012) with onboard Intel HD graphics. Have noticed this also on a previous Mac Mini with an AMD graphics card but it's far less pronounced.

Basically my (fairly complicated) composition runs at 60 fps in full screen but every 3-5 seconds it drops to 45 fps for about 3 seconds then pops back up.

However I switch to the Finder or any other app with the file still running in Full Screen the frame rate stabilises to 60fps constantly.

Weirder still, if I open "Activity Monitor" and run the floating CPU panel and switch back to Quartz in full screen, it all works solidly at 60 fps without any problem.

Has anyone else spotted this/come up with a solution?! The issue is the same if I wrap it in an Xcode App. Only I can't float anything in front because it takes over the whole screen.

Any help would be much appreciated. Installing 15 of these in an exhibition in two weeks!

Ta. Rob

Mac Mini Processor 2.3 GHz Intel Core i7 4 GB 1600 MHz DDR3 Intel HD Graphics 4000 512 MB OS X 10.8.2 (12C2034)

cybero's picture
Re: FPS fluctuation when QC is in Focus

Try running the composition in Viewer / Rendering Mode / Profile - that might give you a clue as to what linear point of the composition's execution is causing the frame count to drop.

If you then tried looking at the Viewer in Debug mode and drilled down the patches, you might be able to detect what is the offending component part.

robbietherobot's picture
Re: FPS fluctuation when QC is in Focus

Went through those. It is definitely the Image Importer importing thumbnails in an iterator. But what I don't understand is why it runs solidly at 60fps when running in full screen if Quartz isn't on top. Even opening the patch library stabilises the framerate!? Once it's closed the framerate collapses again every 3 seconds?

cybero's picture
Re: FPS fluctuation when QC is in Focus

Sounds like it is partially to do with the periodicity of the signaling to the II patch.