120 Hz report · · MacBook Pro M5 Max, macOS 26.6.2, Chrome 158.0.8127.91, built-in 120 Hz panel plus a Dell U3219Q at 60 Hz · three sessions of recordings: 2 Dec at 17:25 and 22:44, 3 Dec at 09:47 with the panel set to 60 Hz

On the M5, the 120 Hz panel skips frames when the other screen redraws

The sync test showed a climbing JS STREAK while the VSYNC pad visibly flashed. Both were right. The page drew every frame on time, Chrome handed every frame to macOS on time, and the window server still left some of them off the screen: the ones due just before the Dell's refresh, whenever the Dell had something to redraw. A plain native app loses frames the same way, so this is macOS and not Chrome. Nothing a page can read reports it, and a page cannot record its own screen well enough to find out, so the fix is a recorder outside the browser that reads the screen and tells the page. With the panel set to a fixed 60 Hz, the same Dell animation costs about one frame every 7 seconds instead of about 13 a second.

22.5 /s
frames never shown on the built-in panel while the Dell ran a 60 fps animation
1.1 /s with the Dell still
48 %
of built-in refreshes passed over when a new Dell frame followed 5 to 6 ms later
1 in 1,216 when none did
16.9 /s
lost by a native Core Animation app under the same 60 fps Dell: not Chrome's doing
1.1 /s with the Dell still
0
rAF intervals longer than 1.5 refreshes, in 100,294 frames over 27 runs

Every frame was drawn on time; one in five never appeared

PagerAF interval(ms) 8.3 Screeneach box isone refresh 1107 1111 1115 1119 1123 1127 1131 1135 1139 1143 a new frame appeared nothing new: the frame due here never appeared frame
Forty consecutive refreshes (a third of a second) from the run with a 60 fps animation on the Dell. Top: the page's rAF intervals, all between 6.7 and 9.7 ms. Bottom: what the window server put on the built-in display. Nine refreshes repeated the previous frame; the frames due then (all even-numbered) were replaced by their successors before they could be shown.

A page draws a small code strip holding its frame counter. A recorder built on ScreenCaptureKit reads the strip from every frame the window server composites, at the display's own rate. For a refresh with nothing new, the window server delivers an explicit idle notice instead of a frame, so a held refresh is observed, not inferred: 417 of the 450 missing frames in this run have that notice in the right place.

The frames are lost after Chrome has handed them over

0 msDisplay tick. Chrome's compositor draws the frame the page finished during the previous interval.
+0.3 msChrome commits that frame to Core Animation. This is the hand-over to macOS.
+0.4 msThe page's rAF callback runs and draws the next frame; it reaches the compositor at +1.6 ms and waits for the next tick.
+12 msThe frame is due on the display. Usually it appears. Sometimes the window server shows the old one again.
6 ms 7 ms 8 ms 9 ms 10 ms 11 ms next display tick (8.33) shown (1437 frames) 8.65 never shown (68 frames) 8.64 ms after the frame's own vsync timestamp (bar: 5th to 95th percentile, dot: median)
Run 2, with a Chrome trace: 1505 frames matched one to one between the page, the trace and the recording. Chrome handed over the 68 frames that never appeared exactly as early as the others, about 11.2 ms before the refresh it was aiming for.

So the page is not late and Chrome is not late. The window server had the frame and did not use it.

A native app loses them too, and no Chrome flag avoids it

Dell showing a 60 fps animation Chrome, default 37.3 Chrome, default (150 s later) 25.2 Chrome, VSyncAlignedPresentation 30.1 Chrome, CADisplayLinkInGpu 37.1 Native Core Animation app 16.9 Dell covered by a still window Chrome, default 2.6 Chrome, default (150 s later) 1.3 Native Core Animation app 1.1 frames per second that never reached the built-in display
Second session, six minutes of runs. The native control is a plain Core Animation app that draws the same strip once per display-link callback (its callbacks: 7.3 to 9.3 ms apart, none late). The two flags change how Chrome times its hand-over; neither helped, and the first raised latency from 3.5 to 6.5 refreshes.

The skips follow the second screen

Dell showing a 60 fps animation (run 7) 22.5 Dell as found (run 2) 5.5 Dell as found (run 1) 4.0 Dell as found (run 5) 1.2 Dell covered by a still window (run 6) 1.1 frames per second that never reached the built-in display (120 drawn per second)
Same page, same Chrome, 12 to 20 seconds each. Only the Dell changed: covered by a still window, left as it was, or covered by a window with a small 60 fps animation. The three "as found" runs were taken at different minutes.

Repeated five hours later on the fork page itself, interleaved: Dell still 2.6 and 1.3 a second, Dell at 60 fps 37.3 and 25.2. Three more observations tie the skips to the Dell's refresh, not to load in general.

They fall on the Dell's 60 Hz grid

RunSkipsGaps between skips that are a whole number of Dell refreshes
2 (Dell as found)6766 of 66
5 (Dell as found)2419 of 23
6 (Dell still)2221 of 21
7 (Dell at 60 fps)438432 of 437

The built-in panel refreshes twice per Dell refresh. If skips were unrelated to the Dell, half the gaps between them would be odd numbers of 120 Hz refreshes.

A refresh is passed over when a new Dell frame is about to appear, and otherwise not

Run 4 · Dell behind a still window, 30 updates a second a new Dell frame appears 5 to 6 ms after this refresh 47.6%291 of 611 a new Dell frame appeared 2 to 4 ms before this refresh 0.0%0 of 610 no new Dell frame within 9 ms 0.1%1 of 1216 Run 3 · Dell as found, 60 updates a second a new Dell frame appears 5 to 6 ms after this refresh 25.9%311 of 1201 a new Dell frame appeared 2 to 3 ms before this refresh 1.6%19 of 1200 share of the built-in display's refreshes that showed nothing new
The two runs where every update of the Dell was logged as well. The built-in panel's refreshes alternate between two positions relative to the Dell's: 5 to 6 ms before one, or 2 to 4 ms after one. In run 4 the Dell got a new frame on only half of its refreshes, which gives a control inside the same 20 seconds: with no new Dell frame nearby, 1 built-in refresh in 1,216 was passed over.

The Dell is almost never still

Even behind a full-screen still window the Dell was updated about 30 times a second; the changing region was the power and network readouts in its menu bar. With its windows as found, the Dell was updated on every one of its refreshes, over most of its area. The two displays also run on separate clocks: the Dell's period measured 16.6676 ms against 2 × 8.3333 ms, a drift of 56 µs per second, so the position of the Dell's refresh between the built-in panel's refreshes slides through a full cycle every 149 seconds.

The rate swings by the minute

0 10 20 30 20 0 s 14 8 9 30 s 10 4 11 60 s 17 29 16 90 s 13 7 6 120 s 13 16 23 150 s 8 5 seconds into the run; bars: frames never shown per second in that ten seconds
One three-minute run with a constant 60 fps animation on the Dell. Nothing changed but the slow slide of one display's clock against the other's: the loss went from 29 frames a second to 4 and back, peaking about every 75 seconds. Three minutes earlier, under the same animation, a 20-second run lost 1.5 a second (run 17).

Why nothing in the page saw it

SignalWhat it measuresSees a frame the window server dropped?
rAF timestamps, performance.now(), dispatch lagWhen the page was asked to drawNo. Intervals stayed within 6.3 to 10.3 ms in every run.
Post-rAF commit probe, long animation framesHow long the main thread tookNo. The page's work took about 0.1 ms a frame.
presentationTime (Element Timing, paint timing)Chrome's estimate of the refresh a frame will land onNo. See below.
The page capturing its own screen (getDisplayMedia)The composited screen, through Chrome's captureNo. The capture itself loses about one frame in eight. See below.
A recorder outside the browserWhat the window server showed, refresh by refreshYes.

Chrome 158 exposes a per-frame presentation time to pages, and it is tempting to trust it. On macOS it is not a measurement. Chrome gets no report from the window server; it computes the time from its own commit time and a fixed assumption about how late a commit can be (1.5 ms before a display time) and still make the following refresh (GetDisplaytime, whose comment notes the outcome is inconsistent near that margin). Checked frame by frame against the recording:

RunReal skipsReported by ChromeReal ones among themPhantom
7 (Dell at 60 fps)450000
2 (Dell as found)68413
5 (Dell as found)2511410104

It misses real skips and, when Chrome's commit time wanders around its assumed margin, reports ones that did not happen. The fork page offers it as an optional readout (Pres probe), labelled as an estimate.

A page cannot record itself either

The first version of the fork shared its own screen and read the strip from the captured frames. Run side by side with the recorder for 20 seconds, the recorder saw 5 frames never shown and the page reported 137. Chrome's screen capture is the reason: asked for 120 frames a second from a display showing 120, it delivered 95 to 107 even when the page only counted the frames and discarded them, and a frame the capture missed looks exactly like a frame the display skipped. That version was withdrawn.

The metric: a recorder outside the browser

One instrument, used two ways. Both read the same code strip with ScreenCaptureKit, at twice the display's rate, from a rectangle just large enough to hold it.

Live, in the page

node tools/frame-truth/live.mjs

Start that in a terminal on the Mac, open http://127.0.0.1:8947/ (the recorder serves the fork page itself) and press Screen check. The Pages copy works too; Chrome then asks once whether the page may access other apps and services on this device, because a web page is reaching a program on the same Mac. The recorder follows the strip above the VSYNC pad and tells the page each time the cadence breaks; the page adds a third HUD line, SCREEN … SKIP n (x/s) … lost m … SHOWN STREAK, flashes the lamp SCREEN SKIP, marks the scope in pink, and matches Saw Jerk against it. Without the recorder the line says SCREEN UNCHECKED, so a long JS STREAK can no longer be read as a clean screen. Checked on the real screen with a 60 fps window on the Dell: in 20 seconds the recorder counted 156 refreshes off cadence and 139 frames never shown, the page showed 156 and 139, and the page's own JavaScript lines showed 0 hard drops.

From the command line, for any page

node tools/frame-truth/measure.mjs --url http://localhost:8936/your-page.html --inject --seconds 300

It opens the page in a plain Chrome window on the built-in display, adds the strip if the page has none, records, and prints frames shown, refreshes held, frames never shown (and how many of them the window server also announced with an idle notice), frames off cadence, the page's own rAF statistics, and for each missing frame whether the page's rAF was late. --other still covers the other display with a still window for the duration; --other anim does the opposite. For the shape pages, compare never shown and off cadence per second between two versions under --other still: what remains above the still-Dell floor (one to three a second in the four runs taken at 120 Hz) is the page's and Chrome's own doing. With two displays the tool also reads both clocks and prints how long they take to realign (about 150 seconds with the panel at 120 Hz, 296 at 60 Hz), what share of that the recording saw, and each kind of break by alignment. A figure for comparison should come from a recording that saw a whole cycle. A stretch where the strip cannot be read, because a window was moved or covered, is cut out and listed.

Set to 60 Hz, the panel shows nearly every frame

On 3 Dec the built-in panel was switched from ProMotion to a fixed 60 Hz (System Settings, Displays, Refresh rate) and the fork page measured again, five minutes per condition. Under the 60 fps animation on the Dell that had cost 4 to 29 frames a second at 120 Hz, the panel lost 44 frames in 328 seconds: 0.13 a second, one frame in 448, against one in 9 at 120 Hz. With the Dell left as found it lost 0.42 a second, and behind a still window 0.49.

Panel at 120 Hz (2 Dec) Dell showing a 60 fps animation, 3 min 12.7 Dell as found, 20 s 15.3 Dell behind a still window, 20 s 2.6 the same, three minutes later 1.3 Panel at 60 Hz (3 Dec), five minutes each Dell showing a 60 fps animation 0.13 Dell as found 0.42 Dell behind a still window 0.49 frames per second that never reached the built-in display
Frames never shown per second on the built-in panel, all on the fork page. The 60 Hz rows are five-minute recordings, long enough for the two displays' clocks to pass through every alignment once (below). The still-window run at 60 Hz was taken on a busier machine than the other two: the page's JavaScript lines counted 16 hard drops over it (a callback that ran late, or a long frame), against 2 and 1, and for 8 seconds the strip could not be read (a window was moved or laid over it); those seconds are left out.

The page's part did not change. In the 9 runs at 60 Hz its rAF intervals stayed within 15.5 to 17.8 ms. Of the frames that never appeared, 190 have the page's timing on record and every one of them was drawn on time; the other 182 were older than the page's trace. The live Screen check holds at this rate too: over 30 seconds with the Dell as found the recorder counted 27 refreshes off cadence and 27 frames never shown, the page showed 27 and 27, and its JavaScript lines showed 0 hard drops.

What is left comes one refresh at a time, in two forms

A break at 60 Hz lasts one refresh and costs one frame. In the first form the screen keeps the old frame for a refresh and the frame due then never appears, as at 120 Hz. In the second the next frame appears a refresh early, in place of the one due, and then stays for two. The three five-minute runs had 196 of the first form, 67 of the second, and 23 that combined the two or lasted a refresh longer.

kept the old frame next frame a refresh early mixture Dell showing a 60 fps animation 0 50 100 0 2 4 6 8 10 12 14 16 Dell as found 0 50 100 0 2 4 6 8 10 12 14 16 Dell behind a still window 0 50 100 0 2 4 6 8 10 12 14 16 ms from a refresh of the panel to the Dell's next refresh; bars: breaks per minute spent at that alignment
Breaks per minute against the alignment of the two displays' clocks: how long before the Dell's next refresh a refresh of the panel falls. The alignment slides through its whole range once in 296 seconds, so each bar is about 18 seconds of recording. 138 of the 196 kept frames fell 4 to 10 ms before the Dell's refresh, and 46 of the 67 early frames 12 ms or more before it, which is just after the Dell's previous one.

So the cause has not gone; it has become rare. At 120 Hz a refresh that fell 5 to 6 ms before a new Dell frame was passed over about half the time. At 60 Hz, in the worst millisecond of the worst run, 17 refreshes in 1,065 were. The loss still comes in spells, while the clocks pass through that alignment: the run with the Dell as found lost 2.0 frames a second in its worst ten seconds and 0.3 in its median ten.

Why 60 Hz and not 59.94

The two displays do not run at the same rate, and no setting makes them. The system's timing tables (display-timings.py) give the Dell one 60 Hz timing at 3840 × 2160: a pixel clock of 533.25 MHz over a raster of 4000 × 2222, which is 59.9966 Hz. The panel's settings are 60, 59.9401, 50, 48 and 47.952 Hz. Read on the running displays with a display link on each (gtcap clocks; it agrees with the recorder's timestamps to a microsecond), the Dell refreshes at 59.9967 Hz and the panel, set to 60 Hertz, at 60.0001 Hz. Over the half hour of runs both rates wandered against the Mac's clock by 0.5 parts in a million, and together: the panel's gain on the Dell was 56.3 µs a second in each of the 6 runs that read the clocks. That is what two rates taken from one oscillator do, so the difference between them is set by the tables and does not drift.

At that rate each alignment of the two returns after 296 seconds. Set to 59.94 Hertz, the panel would run 0.057 Hz below the Dell instead of 0.0034 Hz above it, and each alignment would return after about 18 seconds: the same spells, about 17 times as often and as much shorter. 60 Hertz is the setting nearest the Dell's rate. The 59.94 setting was not measured.

The price is latency, and a break twice as long

A break at 60 Hz lasts 16.7 ms instead of 8.3. Frames also take longer to arrive. From the rAF timestamp to the refresh that first showed the frame took 1.5 to 4.5 refreshes at 60 Hz, which is 24 to 75 ms, against 20 to 37 ms at 120 Hz (2.4 to 4.4 refreshes). The depth is steady within a run and differs from run to run; why a run settles where it does was not found. Reading the clocks is not the cause: read in the middle of a run, they changed nothing.

What this means for 120 Hz work on this Mac

Not established

The runs

First session, 17:25 to 17:35, nobody at the machine

RunDellSecondsNever shownPer secondWith idle noticerAF interval, msrAF over 1.5 refreshesCaught by Chrome's estimateNote
1as found20.2803.96307.30 to 9.40013 of 80
2as found12.2685.55617.34 to 9.3301 of 68Chrome trace recorded
3as found20.134016.872946.33 to 10.3400 of 340Dell recorded too
4still window20.329514.512886.34 to 10.3300 of 295Dell recorded too
5as found20.4251.22226.33 to 10.34010 of 25
6still window20.1221.09226.33 to 10.3400 of 22
760 fps animation20.045022.534176.37 to 10.3200 of 450

A 1100 × 520 px WebGL canvas drawing the strip, a colour flip and 30 moving bars (tools/frame-truth/pages/mini.html), in a Chrome window on the built-in display, 120 frames a second, JavaScript about 0.1 ms a frame.

Second session, 22:44 to 23:00, the owner at the machine with his own windows on both displays

RunDellSecondsNever shownPer secondWith idle noticerAF interval, msrAF over 1.5 refreshesCaught by Chrome's estimateNote
8as found20.631415.262347.30 to 9.400n/a22:44
9still window20.3532.61217.30 to 9.400n/a22:44
1060 fps animation20.275237.294117.20 to 9.400n/a22:44
11still window20.3261.28127.30 to 9.500n/a22:47
1260 fps animation20.250925.252707.30 to 9.400n/a22:47
1360 fps animation20.534616.90253n/an/an/a22:50, native app, no browser
14still window20.6221.0721n/an/an/a22:50, native app, no browser
1560 fps animation19.659030.094167.30 to 9.400n/a22:51, Chrome with VSyncAlignedPresentation
1660 fps animation20.375537.125678.20 to 8.500n/a22:51, Chrome with CADisplayLinkInGpu
1760 fps animation20.1311.54107.20 to 9.400n/a22:54
18as found20.550.2447.30 to 9.400n/a22:55, the page also capturing its own screen
1960 fps animation179.3228212.738717.20 to 9.500n/a22:57, three minutes

The fork page itself (120hz-sync-test-fable.html, WebGL2, JavaScript about 0.2 ms a frame), opened and recorded by tools/frame-truth/measure.mjs; runs 13 and 14 are native-strip.

Third session, 3 Dec, 09:47 to 10:18, the panel at 60 Hz, the owner at the machine and other agent sessions drawing on both displays

RunDellSecondsNever shownPer secondKept old frameNext frame earlyOther breaksrAF interval, msJS hard dropsrAF to screen, msStarted, note
2060 fps animation19.730.1512015.6 to 17.704109:47
21as found7.310.1400115.6 to 17.717509:50, Dell recorded too
2260 fps animation328.4440.131925015.5 to 17.827409:52, one cycle of the clocks
23still window291.11420.4999171415.6 to 17.8162410:00, one cycle; 7.9 s left out; page timing for the last minute only
24as found39.0170.44134015.6 to 17.814110:08, clocks read in mid-run
25as found19.0231.21715115.6 to 17.715810:10
26as found19.0100.53100015.6 to 17.715810:10
27as found19.070.3770015.6 to 17.727410:11
28as found299.01250.427825915.6 to 17.814110:12, one cycle of the clocks

The fork page again. Kept old frame and Next frame early are the two forms of break described above; Other breaks combine them or last a refresh longer. JS hard drops is the page's own count since it loaded: a callback that ran about 2 ms later than usual, or a long frame. rAF to screen is the median time from a frame's rAF timestamp to the refresh that first showed it. Recordings, traces and the analysis scripts are in tools/frame-truth; the raw files are on the M5 under ~/drive.unsynced/artifacts/120hz-fable/runs and tools/frame-truth/runs.