Files
reims-vgpu/docs/graphics-kext
Anees Iqbal 7b5bae0bcc 🐛 Register the arm64 displays in turn, so display 0 is the main one
A process's notification hands it the services waiting for it last first
(read from macOS 27.0.1's kernel), and the first service WindowServer takes
is its main display. With the window alone, both services could wait at once:
an arm64 15.6.1 guest under TCG made display 1 the main display, at the left,
in one of two boots (m3-max-34945), where x86-64 guests and the earlier arm64
boots make it display 0.

The release now registers one display at a time: the next display's service
only once a process has read dfr, AppleTV or external of the one before, or
the window's deadline has passed; and a process's read of those keys of a
display waits only until the next display's service has matched, not for the
whole window. A process waiting for the services then finds them one at a
time, in display order, and takes display 0's first. The native test runs a
process that takes services last-added-first and checks it takes every
display's, by display, for two to four displays, whether it waits from before
the release or comes during it, and that a process that never reads lets
every display register by the deadline. One display opens no window, as
before.
2026-11-16 02:15:58 -08:00
..