Commit Graph
22 Commits
Author SHA1 Message Date
Anees Iqbal 03c3314845 📝 Record H.264's hard data-rate limit as not held [ci skip]
A 1080p H.264 session in an x86 guest, at 8 Mbit/s with a limit of
1,000,000 bytes a second, runs 18.3% to 19.4% over the limit in its
busiest second on all three vendors. On the XTX the stream is the same,
byte for byte, as the stream without the limit. The guest's H.264
encoder is driven by macOS's AMD path: that path counts the limit but
codes no frame over again, and on our device its planning changes no
frame. The 2019 MacBook Pro's 2.3% is from macOS's Intel path, which
does code frames over again. No AMD-only Mac has been measured, so the
known issue keeps the Mac's number scoped, and B101 records the trigger,
the first step and the unfilled third length-record word as a lead only.

B100 had two claims the same rows now disprove. It said the real Mac ran
at another keyframe interval, but m3-max-77623 ran HEVC at the guest's
interval and stayed under the limit in every second. Its "the plug-in's
default" interval was the probe's 60. The HEVC paragraph in known-issues
said the runs don't compare; they now do, both on macOS's Intel path.
2026-11-27 16:40:57 -08:00
Anees Iqbal 319f54dabb 🆕 Encode an x86-64 guest's HEVC on the host's encoder
An x86-64 guest's hardware HEVC encoding never reached our GPU: macOS's HEVC
encoder plug-in drives only an Intel GPU's driver, found by name, so an app that
required hardware failed at its create (-12908) and others encoded in software
(m3-max-77632, development's set on this host). What the guest sees now, where
the host's video arm lists an HEVC encoder of Main and Main 10 with a constant
QP that codes a frame in place of the last (Linux hosts' VA-API, and NVENC where
its driver codes a frame without advancing its state):

- the accelerator publishes an IntelAccelerator child of its own with
  IOGVAHEVCEncode and IOGVAHEVCEncodeCapabilities (Main and Main 10, up to
  the encoder's level), so VideoToolbox lists a hardware HEVC encoder
  (hevc.gva);
- RgfxGate keeps the Intel driver path the plug-in loads from
  /Library/GPUBundles a hard link to the bundle's executable, at every boot;
- the bundle's video driver takes the plug-in's encode commands (function
  0x20, sub-ID 0x1000), codes each frame on the host (ENCODE_H265) at the QP
  the plug-in's rate control chose, an IRAP picture as a keyframe, Main from
  an 8-bit source and Main 10 from a 10-bit one, and hands back the access
  unit with 4-byte start codes, whose VPS, SPS and PPS make the session's
  format description;
- a frame the plug-in codes again over its data rate limit, at a higher QP,
  is sent in place of the last one (RGFX_VIDEO_ENCODE_IN_PLACE): a P
  picture of the last frame's order count and source surface; a keyframe
  coded again is sent as a new IDR picture;
- a session of a size the host does not encode is refused at its create,
  so an app that allows software encodes in software as before.

A host whose encoder has Main alone gets no nub: VideoToolbox hands the
plug-in a Main 10 session whatever profiles the nub lists, and the driver
learns a session's profile only from its first frame. Nor does one that
codes no frame in place, where a retry would predict from the frame it
replaces. H.264 encode and both decodes are as before on either. The
plug-in's per-CTU QP map (its pool 27) is not applied, and its frame
statistics record is not supplied. The route is macOS 26.7.1's plug-in's,
booted on 26.7.2. Windows hosts list no encoder, so encode in software as
before.

Rows (macOS 26.7.2 guest, 1080p, 300 frames at 8 Mbit/s, decoded back by
VideoToolbox; the rate band is vboot's RATE_BAND_PCT, 6%, both codecs), the
same with the frames in place (m3-max-77615, m3-max-77613, m3-max-77614),
byte for byte but for 205 bytes of the Iris Xe's Main stream:
- RX 7900 XTX (m3-max-77475): Main 105.1%, 45.02 dB; Main 10 104.8%, 45.17 dB
- Iris Xe (m3-max-77476): Main 103.5%, 48.04 dB; Main 10 98.1%, 48.86 dB
- RTX 3090 (m3-max-77477): Main 100.7%, 44.81 dB; Main 10 106.1%, 45.06 dB,
  where NVENC's own lands 104.6%: known-issues and video/bugs.md B97
At a data rate limit of 1 Mbyte a second, the plug-in coded 2 to 30 frames
of a session again, each sent in place: no gap in the order counts, all 300
frames decoded back, and the most bytes in a second 1.7% to 3.0% over the
limit (RX 7900 XTX m3-max-77611, RTX 3090 m3-max-77609, Iris Xe
m3-max-77627; video/bugs.md B100, to be read on a user's report). With a
keyframe every frame the stream comes to 4.1 to 5.0 times the asked rate, as
a real Intel Mac's comes to 5.7 times with the same QPs frame for frame
(m3-max-77635; design.md, known-issues); every frame decodes back.
Main 10 from a retained pool and from the app's own 8-bit buffers decodes as
from the pool taken per frame on all three. A real Intel Mac's hevc.gva
(macOS 26.7.1, m3-max-77481) replaces the session's pool at the third Main 10
frame, as ours does. Speed (Iris Xe, m3-max-77497): 94 to 118 fps at 1080p
against software's 3.3; 10.3 to 10.8 at 8K against 0.5 (B98, B99).

Tests: the kext's publish condition and its pairing with a host that codes
no frame in place (video_codecs_test: the caps of both decoders and encoders
without the flag publish no HEVC encode and the rest as before), the link's
update on real files (rgfxgate alias_test), and the driver's listing, create
refusals, settings, keyframes, write-back, failures, refused sources and the
frames it sends in place, and those it does not: never a keyframe, so a
session of keyframes from one reused surface sends none (video_driver_tests;
m3-max-77590). Development's set on this host (m3-max-77632) encodes H.264 to
the same bytes as this one and decodes as before. Docs: design.md and
devices.md, video/bugs.md B97 to B100, and known-issues.md's HEVC encoding
line, which now says which GPUs encode HEVC for an Intel Mac guest, and its
section on HEVC over the bitrate asked.
2026-11-27 16:26:01 -08:00
Anees Iqbal 40dadf7f77 📝 Document VP9 profiles 1 and 3 on arm64 guests [ci skip]
The host now takes VP9's profiles 1 and 3 and profile 2 at 12 bits where the
driver decodes them. devices.md gets a section on which hosts take which, how
the pictures land, the Iris Xe's boots and the 1080p rate; vaapi.md the
surfaces, iHD's lists and its 4:2:2 failure, and the new streams' card runs;
nvidia.md, backends.md and design.md drop the refusal of profiles 1 and 3 they
stated; known-issues.md names the formats each tested GPU decodes.
2026-11-27 16:15:45 -08:00
Anees Iqbal 9d69b44da1 🆕 Take HEVC 4:2:2 sessions on NVDEC where its caps list them
What the guest sees: on an arm64 guest of an NVIDIA host whose NVDEC lists
HEVC 4:2:2 at the stream's depth and size, as the RTX 5080 Laptop GPU's
does at 8, 10 and 12 bits, a VideoToolbox session of an HEVC 4:2:2 stream
now decodes on the GPU, each picture copied into the surface's 422v, x422
or tv22 (or full-range twin) with no conversion by the CPU. Its dsta was
refused before, and the guest decoded the stream in software. On a card
whose caps lack it, as the RTX 3090's do, the session is still refused at
its start, and its warning now names the caps ("NVDEC does not decode HEVC
4:2:2 at 10 bits") where it said "NVDEC's decoders here land no HEVC 4:2:2
pictures".

declines_range_extensions takes the caps' answer for 4:2:2 as it does for
4:2:0 and 4:4:4, the decoder's output being NV16 at 8 bits and P216
deeper, and the VideoToolbox decoder checks a picture's chroma format
against the surface's from the picture itself.

Shown on the host, not from a guest on that card: the card test
(an_hevc_picture_lands_in_its_guest_format_as_the_software_decode_has_it)
on the RTX 5080 Laptop GPU decoded our x265 streams of 4:2:2 at 8, 10 and
12 bits through the arm's VideoToolbox decoder into pool-laid surfaces,
every picture byte for byte as ffmpeg's software decode, beside 4:2:0 and
4:4:4 at each depth, and landed 1920x1080 4:2:2 pictures at 344 to 384 a
second (potluck job m3-max-77563). The seam test holds the session-start
decision on the 5080's and the 3090's recorded caps.
2026-11-27 15:43:36 -08:00
Anees Iqbal 132868d988 🆕 Offer VP9 decode to arm64 guests
The hosts' drivers list VP9 decode at profiles 0 and 2, and an arm64 macOS
26 guest has no VP9 decoder of its own: every VP9 session fails -12906
without one from the host. The previous commit gave the host VA-API
and NVDEC decoders; this one offers them to the guest.

What the guest sees: the device's video caps gain a VP9 entry, codec 3
(RGFX_VIDEO_CODEC_VP9), where the host's arm decodes VP9, listing profile 0
into NV12 and profile 2 into P010 as the driver answers them, at the arm's
sizes up to 16384 a side, and level 62 (6.2, as vpcC numbers it). On the
paravirtual route (RGFX_FEATURE_VT_MESSAGES) the host then lists a vp09
decoder, reims-vgpu-video.videodecoder.vp9, with those profiles; once a
process registers VP9 (VTRegisterSupplementalVideoDecoderIfAvailable, as on
a Mac) the guest's VideoToolbox decodes VP9 on the host's hardware. A sample
is a frame or a superframe whole, which the host splits. A stream the host
does not decode (profiles 1 and 3, 12 bits) is refused at its session's
start, as an HEVC format the arm lacks is, and the guest has no VP9 decoder
of its own to fall back on: known-issues.md says so. No encoder of VP9 is
listed.

The guest's pictures of the two libvpx streams equal vpxdec's, frame by
frame, on an RX 7900 XTX, an Iris Xe and an RTX 3090 under macOS 26.6.2 and
on the 3090 under macOS 14.6.1, and VP9 decodes as fast as HEVC on the same
route at 1080p and at 8192x4352 (devices.md, with the guest's CPU emulated).

The wire change is additive. An x86-64 guest's kexts read no caps entry past
HEVC's, and the device takes no session of codec 3. An older host's caps
have no VP9 entry, so a newer guest's VideoToolbox lists no vp09; a newer
host's caps list H.264's and HEVC's entries as before, beside VP9's
(vt_decoders_list_vp9_beside_the_others_where_the_caps_decode_it). The
header's hash moves in the option ROM's and both kext sets' source records;
their bytes are unchanged.
2026-11-27 14:57:30 -08:00
Anees Iqbal aab864f3ef 🆕 Offer arm64 guests' VideoToolbox an AV1 decoder
What changes for the guest: an arm64 guest's VideoToolbox now lists an av01
decoder, profile 0 at level 19 as Apple's own lists, wherever the arm's
capability query lists AV1 Main (VA-API's AV1Profile0, NVDEC's AV1 at
4:2:0), and decodes AV1 sessions on the host's GPU. Before, it had no AV1
decoder at all, and a session asking for one failed -12906.

A session of another profile, or past the depths or sizes the arm lists
(NVDEC's caps, VA-API's AV1 surfaces), is refused at its start with a
warning that names why. A picture the hardware reports failed reaches the
guest as a decode error, as H.264's and HEVC's do on this route.

AV1's codec number is the host's own: the device's caps, its wire and the
option ROM are unchanged, and x86-64 guests get no AV1, as AppleGVA decodes
none. Measured on a Radeon 780M, AV1 decodes at 0.87 of HEVC's rate at
1920x1080 and 1.02 at 8192x4352 (medians, emulated guest CPUs).
2026-11-27 14:37:07 -08:00
Anees Iqbal 54bb7b0b4c 🆕 Decode HEVC's range extensions for arm64 guests on the host's GPU
An arm64 guest's VideoToolbox paravirtual decoders now take HEVC's range
extensions, 4:2:0, 4:2:2 and 4:4:4 at 8, 10 and 12 bits, wherever the host
arm's own query lists a decoder of the stream. Until now they took 4:4:4 at
8 bits alone and refused the rest at the session's start.

What changes for the guest:
- dsta and dsts take a range extensions stream where VA-API lists the
  decoder of its profile with the render targets and surfaces it needs.
  iHD on an Iris Xe lists all six profiles, but its Main 12 has P012 and
  P016 surfaces alone, so 4:2:0 at 8 and 10 bits stays refused there.
- They also take it where NVDEC's caps list its chroma format, depth and
  size: 4:2:0 and 4:4:4 on an RTX 3090.
- Where nothing lists the stream, the refusal stays as before and names
  the stream and the arm's reason. radeonsi lists no decoder of them.
- Each picture lands in the format the guest's own software decoder gives
  the stream, which Dpba names: 420v/x420/tv20, 422v/x422/tv22,
  444v/x444/tv44 and their full-range forms.
- NVDEC's 4:2:2 is not built: the 3090 lists none, and those streams stay
  refused there.
- The x86-64 caps are unchanged.

The codec takes the range extensions at 4:2:0, 4:2:2 and 4:4:4 and at 8,
10 and 12 bits, with their tools. It still refuses extended precision and
high precision weighted prediction offsets past 8 bits. Its CPU tests
decode streams of each chroma format and depth, and an SPS cut at every
length or with any bit flipped is refused or decoded whole, with no panic.

VA-API decodes on the stream's range extensions profile into P012, YUY2,
Y210, Y212, XYUV, Y410 or Y412 surfaces. The CPU splits the packed ones
into the guest's two planes; the GPU still splits XYUV where its import
check passed. NVDEC's 4:2:0 lands as Main 10's, and the CPU interleaves
its 10 and 12-bit 4:4:4 planes. Each picture the CPU converts is counted
as video-pictures-cpu-converted.

CoreVideo has no format with the layout of Y210, Y212, Y410 or Y412, and
the Mac's decoders answer 422v, not yuvs, for 4:2:2 at 8 bits, so the
conversions stay. Under TCG on the Iris Xe, hardware sessions took 0.36
to 0.66 s for 30 pictures at 1080p of every listed profile, against 1.88
to 5.32 s for the guest's software decode (docs/video/devices.md). The
conformance suite decodes x265's streams of every listed profile.
2026-11-27 14:34:05 -08:00
Anees Iqbal bd2a54f3f0 📝 Say only our VMs lack the JPEG hardware the guest looks for [ci skip]
The JPEG line said any virtual machine has neither Apple JPEG nor scaler
hardware. Our boots show only that ours have neither, so the line now says that.
2026-11-27 13:20:50 -08:00
Anees Iqbal e6a0ceb632 📝 Say arm64 guests decode JPEG in software [ci skip]
Lane vjpegdec's boots of macOS 14.6.1 and 26.6.2 (780M, Iris Xe, 3090) show no
route an app uses reaching the device's JPEG decoder: ImageIO and VideoToolbox
look for Apple's JPEG and scaler drivers by name, find none, and decode in
software. The finding joins the other video formats our GPU gets no route to.
2026-11-27 13:20:14 -08:00
Anees Iqbal cf3c32173d 📝 List the video formats our GPU gets no route to [ci skip]
The owner asked for every video format the host's GPU offers to reach the
guest. For these, a boot or a read of the guest's frameworks found no route,
so the guest keeps its own software decoder, or has none:
- VP9 decode on x86-64 guests: AppleGVA sends whole frames to our driver but
  never names the picture's output surface (boots m3-max-77225, 77247);
- AV1 decode on x86-64 guests: AppleGVA and the x86 plug-ins have no AV1;
- HEVC encode on x86-64 guests: the encoder plugin picks the Intel vendor,
  even for a session that names our GPU, and -12903s (m3-max-77226);
- HEVC range extensions on x86-64 guests: AppleGVA hands our driver a 4:2:0
  destination at 10 bits or fewer, which cannot match the full picture the
  guest's software decode gives (m3-max-77246, 77257);
- MPEG-1/2, MPEG-4 Part 2, VC-1 and VP8 decode, and VP9 and AV1 encode: no
  key or codec entry in the guest's frameworks a GPU driver can serve.
2026-11-27 12:28:29 -08:00
Anees Iqbal 8a1fe8f0b1 🆕 Scroll x86-64 guests by a touchpad's own distance
A touchpad scrolled an x86-64 guest by turning its mouse's wheel, a notch per
10 points, which macOS accelerates as a wheel's: a quick swipe went several
times as far as the fingers moved. The x86-64 kext now starts a precise
scroller beside its mouse, "Reims vGPU Scroller" (product 0x5248): the mouse's
descriptor with a physical range of -1 to 1 on its wheel and pan, which macOS
reads as 127 counts a unit and so marks its events continuous and precise, in
points, as a touchpad's; and HIDSupportsScrollAcceleration false on the device,
which turns macOS's scroll acceleration off for it. SCROLL_DEVICES names it too
(RGFX_SCROLL_DEVICE_PRECISE), so the host sends a touchpad's distance in 1/256
points, and the kext makes one count of it per 10 points, the rest carried on
and started afresh where the scrolling turns back.

For the guest: a touchpad's scrolling, and a Mac host's precise scrolling with
its coasting, come from the scroller, continuous and precise, as far as the
host reports and unaccelerated, in steps of 10 points, with no gesture phases.
A wheel's notches still come from the mouse. The arm64e kext is unchanged.

Why 10 points a step: with the acceleration off a count scrolls 10 points at
any speed (120 counts made 1200 points slow, fast and in lumps, on both axes,
at 127 and 90 counts a unit; potluck jobs m3-max-75987 on 26.7.2 and
m3-max-75994 on 11.7.11). Apple's driver passes each count whole and reads no
resolution multiplier, so no descriptor makes a count worth less. With the
acceleration on, neither a flat acceleration table nor one linear curve
scrolled as far a count at every speed (m3-max-76084).

Measured in windowed walks with a wheel mouse over the window, on macOS 26.7.2
(potluck job m3-max-76127) and 11.7.11 (m3-max-76128): "Reims vGPU Scroller"
reads HIDScrollResolution 127 and HIDSupportsScrollAcceleration No down to its
event service; forty quarter-notch parts 16 ms apart (100 points) made ten
continuous, precise events of 10 points each, up and sideways, where the mouse
would have ramped; the wheel's notches and bursts read as before.
2026-11-26 22:05:15 -08:00
Anees Iqbal eed36c1d89 🐛 Keep the plain pointer through a hide the release chord ended
While the guest's screen is recorded or shared, macOS hides the cursor for the
whole recording and draws it into the picture, which the window takes for a
game's hide (lane ptrswitch, potluck job m3-max-75965: one setCursorState(x, y,
false), then no call while the pointer moved, as in a game). Captured, the
pointer then drives the guest's mouse until the share ends, and the release
chord freed it only until the next click captured again.

The person releasing capture (the release chord, or Release Input on macOS)
now leaves the rest of that hide to the tablet, captured again or not, until
the guest shows its cursor (Game::released). Losing the keyboard and the
window's end do not: a player who switches away from a game and clicks back
gets the guest's mouse as before. A player who presses the chord mid-game gets
it back once the game shows its cursor and hides it again.

The remembered hide is cleared where the guest shows its cursor, or where its
hide reads shorter than at the release (a later hide). It is not cleared at
capture's end: every show and hide of the guest's reaches Game::shown (the
window asks at each), so it cannot outlive its hide, and clearing it there
would undo the chord at the next switch away and back.

features.md, the design doc and known-issues.md say so; known-issues.md's
share entry now says to press the release chord once.
2026-11-26 21:03:22 -08:00
Anees Iqbal 52b9a4ae5d 📝 Say how the pointer changes while the guest shares its screen [ci skip]
While the guest records or shares its screen, macOS hides its cursor and
draws it into the picture, which the window takes for a game: with input
captured the pointer drives the guest's mouse from 50 ms past the first move
until the share ends. Say what the user loses then (the host's pointer
speed, the pointer held in the window, crossing to another display) and how
to keep the plain pointer.
2026-11-26 21:03:22 -08:00
Anees Iqbal 9fc288faf6 📝 Say what Task Manager's shared GPU memory for QEMU follows [ci skip]
On a Windows host, Task Manager's shared GPU memory for QEMU climbs while a
guest decodes video and stays up until QEMU exits. A user saw it pass 6 GiB.
On the lab's UHD 630 it is a counter with no memory behind it: two held 4K
HEVC plays grew it by 11.5 GiB while available memory and the commit charge
did not move. The note gives the two scales measured (a test holding every
picture of a 4K clip, and an H.264 export) and says no NVIDIA or AMD card is
measured on a Windows host.
2026-11-26 20:12:46 -08:00
Anees Iqbal 35e9da7ad6 📝 Say that animations run late on an Intel Iris Xe host [ci skip]
On a Linux host with Iris Xe Graphics (Core i9-13900H), a page that animates once
per display refresh shows about 30% of its frames a refresh late (untraced guest
walks, 27-33% in each). The host CPU runs the graphics threads at about 1.3 GHz
under its default power policy, and the walk-behind-encode form that could have
moved the take sooner did not reach its bar in a model of the traced walk.
Known-issues readers on Intel hosts should know what to expect.
2026-11-25 11:41:24 -08:00
Anees Iqbal 78cf5cb240 📝 Say what dsound's 60 ms reserve and the kick do, and what is left [ci skip]
docs/qemu.md's "Windows hosts: sound" now says what vendor/qemu 207be587
and 4d205af8 do: virtio-snd has the backend write each period as it comes,
and dsound holds 60 ms past DirectSound's write cursor. It says what the
old 92.88 ms held, why its sizing counted the timer twice, and the runs on
the mini: each replayed from every start phase, with the smallest reserve
any start needed (up to 58.0 ms busy at 60 ms), the clicks, and the fill at
a period's write (97.3 to 104.0 ms at the median, against 134.2). It also
gives the Linux host's run with the kick, and what the guest's players are
told of the latency: a constant 100-frame safety offset and no latency.

docs/known-issues.md says, for users, that sound comes about 0.1 s after
video on a Windows host, and why it isn't fixed yet. docs/lessons.md has
the trap: a margin sized as a spread plus one of its parts, and a run's own
start phase hiding its worst one.
2026-11-25 11:30:06 -08:00
Anees Iqbal 14aaf2b0d8 🆕 Turn AVX-512 state on for guests on every AVX-512 host
reims-ctl gave an x86-64 VM `x-avx512-xstate=on` only where the host's
XSAVE layout was not Intel's, which meant Zen 4 and Zen 5: on Intel's, no
gain had been measured. The owner asked for it on every host with AVX-512
(2026-11-21), so a Linux KVM host whose OS keeps the AVX-512 state now
qualifies whatever its layout. On Intel's, XNU's own copy of the state is
right, and the gain stays unmeasured: no host here has that layout.

For the guest on an Intel host with AVX-512: CPUID leaf 0xD lists the
AVX-512 state components, RgfxGate promotes each user thread to them, and
hw.optional.avx512f still reads 0. Every other host's command is unchanged
byte for byte. The test that held Intel's layout out now holds it in.
2026-11-21 10:47:47 -08:00
Anees Iqbal 81967c598b 📝 Document AVX-512 state for guests on Zen 4 hosts [ci skip]
qemu.md's CPU model section now says why a Zen 4 host runs a macOS guest's
code without its op cache, what QEMU's x-avx512-xstate property and
RgfxGate's xstate route do about it, the four conditions under which
reims-ctl adds the property, how a VM's cpu_flags turn it off for a KDK
kernel, and what was measured: op-cache shares, the route on six releases,
and the timed pairs on the 8745H.

lessons.md records the trap the route had to fix: XNU copies a thread's
AVX-512 state at Intel's XSAVE offsets, which on a Zen 4 core are not
where XSAVE put it, and nothing logs the loss.

known-issues.md tells users that a DEVELOPMENT or DEBUG kernel stops on
such a host, and how to start one.
2026-11-21 08:52:15 -08:00
Anees Iqbal 60e5ae7965 📝 List the wait for a lot of graphics memory at once [ci skip]
A take of a piece of its own length now blocks only the guest call that
asked, but that call still waits for the host driver's allocation of its
length: on the 2080, 139.5 ms of a 547 MiB take's 271.5 ms wait for its
piece, and on the RX 550, 64.4 ms of 65 ms. Those are the measurements from
before the pool's change; the next gate walk measures them again.
2026-11-20 07:43:48 -08:00
Anees Iqbal 3a13ac532f 📝 Say a Mac host copies more while apps open [ci skip]
The planner measured the copies on the M3's walk: while apps opened, from
24% to 152% of a 1080p frame's bytes; in steady animation, under 1%. On a
Mac the guest's pages reach the GPU by host pointer, and that kind of import
has no handover that keeps an image's bytes, so the platform copies them.
Linux hosts import through dma-bufs where the pages lie in one, and an
in-place form there is being built.

docs/known-issues.md's Mac section becomes "On a Mac", with the macOS 26
floor and this as its two parts. Windows is named as a fact of the code:
rt_platform/buffer.rs's import_pages takes the pages by pointer on every
host but Linux's dma-buf path (buffer.rs:1483-1491); the copy amounts are
measured on the Mac only.
2026-11-20 06:03:27 -08:00
Anees Iqbal 50a4abbb20 🐛 Say a Mac before macOS 26 starts no VM, not one without a GPU
docs/known-issues.md and install-ctl.sh's warnings said that on a Mac with
no KosmicKrisp, macOS 15 or earlier or a mesa without the driver, VMs get no
GPU. They do not start: the library's device has no GPU device to open
(reims-vgpu's GraphicsDevice::with_platform refuses with HostResources), so
rvg_graphics_device_create refuses, and QEMU's reims-graphics-pci fails its
realize, which ends QEMU before the guest runs. reims-ctl gives every arm64
VM that device, and arm64 VMs are what a Mac runs.

The doc's heading and paragraph and the installer's two warnings now say the
VMs do not start.
2026-11-20 06:03:27 -08:00
Anees Iqbal fb2a055373 📝 List what is wrong today in docs/known-issues.md [ci skip]
The cutover makes the rt platform the library's platform, and with it some
things a user meets that the README did not say: on a host of several GPUs
the VM takes a discrete GPU over an integrated one, untimed, so a host whose
integrated GPU is the faster one gets the slower card; three open bugs of 4K
H.264 video on a Windows host; the host memory the guest's Shared pool holds
beyond the VM's RAM, with its 64 MiB headroom and 5 s release delay; and on a
Mac, Mesa's KosmicKrisp, which Homebrew builds only on macOS 26 and later.

docs/known-issues.md says each in the user's voice, with how to pick the
other GPU through reims-ctl's --gpu or --env, and the README's Beta note
links it in one sentence.
2026-11-20 06:03:27 -08:00