We set the CVDisplayLink on macOS to 0 or 120, and get the following. This then clamps maximum refresh to 60Hz on the 120Hz ProMotion display on a MBP M2 Max laptop. How is this not fixed in 4 macOS releases?
CoreVideo: currentVBLDelta returned 200000 for display 1 -- ignoring unreasonable value
CoreVideo: [0x7fe2fb816020] Bad CurrentVBLDelta for display 1 is zero. defaulting to 60Hz.
Hello,
Much of CVDisplayLink is deprecated and as mentioned (thanks @galad87) Rosetta is "... available for the next two major macOS releases – through macOS 27".
The original intent of Rosetta was: "Rosetta is meant to ease the transition to Apple silicon, giving you time to create a universal binary for your app. It is not a substitute for creating a native version of your app."
All that said, time is of the essence to move on from CVDisplayLink (AVFoundation being the most straightforward alternative to CoreVideo). Likewise, dependencies on Rosetta need to be addressed within the documented timeframe.