Filed my own report as suggested: FB25701933
Not sure it's the exact same bug, but it looks related. My setup: MacBook Pro 16" M2 Pro (2023), macOS 27.2.1 (26B131), lid closed, one external display (ASUS PA32UCDM, 4K 240 Hz, connected over Thunderbolt, DP with DSC).
The display is running at 240 Hz but macOS only presents a new frame every 8.33 ms, so I'm stuck at 120 fps. I checked it with Metal System Trace and it's the same with Metal, OpenGL and Chrome, windowed or fullscreen, even for frames that show up as "Direct to Display". If I set the display to 120 Hz I get 120 as well.
The report has a sysdiagnose (taken while my test app was running), the exported Instruments tables and the source of the test apps.
Topic:
Graphics & Games
SubTopic:
Metal