vainfo -a on the UHD 630 (m3-max-78560) lists vaon12's decoders: H.264, HEVC Main and Main 10, and VP9 profile 0 and profile 2 at 10 bits, 4:2:0 up to 8192x4352, and no encoder, AV1 or range extensions. The Windows column's open cells (Q3) now say that, and Q3 is gone. The planner kept the restore of H1: the decode's wait VA-API asks for before a read stays. Its remainder on the Iris Xe against issuing the runs with no wait, 0.2 to 0.7 ms a decode with the guest's numbers equal (m3-max-78524), is recorded in B95 as its cost.
13 KiB
Every video format, by guest and host route
This table lists, for each format a lab card's driver decodes or encodes, what the reims-graphics device gives each guest. The two guest routes are:
- x86-64: AppleGVA's vendor-driver route, over our Metal bundle's video driver.
- arm64: VideoToolbox's paravirtual route, over the arm64e kext.
devices.md, "Which hardware", describes both routes.
What each card lists comes from the drivers' own answers:
- The Radeon 780M, RX 7900 XTX, Iris Xe and RTX 3090:
vainfo -a, and for the 3090cuvidGetDecoderCapsand NVENC's queries, run on 2026-11-27 in potluck jobs m3-max-77185 to m3-max-77188. - The UHD 630 on Windows: its list in devices.md, "Which hardware".
What the device offers comes from the code:
- Each arm's caps:
caps_ofandguest_encodersingraphics/vaapi.rs, andvp9_caps,decode_capsandguest_encodersingraphics/nvidia.rs. - The x86-64 kext's keys:
guest/kext/src/RgfxVideoCodecs.hpp. - The paravirtual decoders and their
dstarefusals:graphics.rsandgraphics/vt.rs.
The key, for each cell:
- offered: the guest decodes or encodes the format on the host's GPU.
- none listed: the card's driver lists no decoder or encoder for the format.
- guest's own: the guest's frameworks never ask a GPU for the format, so whatever the guest does with it, it does as it would on a Mac of its architecture, and the host's card plays no part.
- Fn: a finding, a reason no route carries the format, with its evidence below.
- Nn: not built, with its reason below.
- Qn: not studied.
Each offered cell says how it was shown:
- a number is the potluck job, m3-max-n, of a run in which the guest decoded or encoded the format on that card. Where a column holds two cards, the card is named.
- listed, not run: it rests on the driver's listing and the unit tests alone.
- card test n: the card's own decoder test on the host, in job m3-max-n, with no guest run.
- no run on file: no doc or commit names a job of a run that showed it.
x86-64 guests
| format | dir | 780M, XTX (radeonsi) | Iris Xe (iHD) | RTX 3090 (NVDEC, NVENC) | UHD 630, Windows (vaon12) | Mac host |
|---|---|---|---|---|---|---|
| H.264 Constrained Baseline, Main, High, 4:2:0 8-bit | decode | offered (780M: 78268) | offered (78259) | offered (78258) | offered (no run on file) | N2 |
| H.264 Constrained Baseline, Main, High | encode | offered (XTX: 77530) | offered (77627) | offered (77609) | N1 | N2 |
| H.264 High 10, 4:2:2, 4:4:4 | decode | none listed | none listed | none listed | none listed | N2 |
| H.264 High 4:4:4, Stereo | encode | none listed | none listed | F5 | none listed | N2 |
| HEVC Main, Main 10, Main Still Picture | decode | offered (780M: 78304, Main alone) | offered (no run on file) | offered (78305, Main alone) | offered (no run on file) | N2 |
| HEVC Main, Main 10 | encode | offered (XTX: 77475) | offered (77476) | offered where NVENC codes a frame in place (77477) | N1 | N2 |
| HEVC Main 12, 4:2:2, 4:4:4 (range extensions) | decode | none listed | F2 | F2 | none listed | N2 |
| HEVC range extensions, SCC | encode | none listed | guest's own (F10) | guest's own (F10) | none listed | N2 |
| VP9, every profile | decode | F3 | F3 | F3 | F3 | N2 |
| VP9 | encode | none listed | F5 | none listed | none listed | N2 |
| AV1 | decode | F4 | F4 | F4 | none listed | N2 |
| AV1 | encode | F5 | none listed | none listed | none listed | N2 |
| JPEG | decode, encode | guest's own (F6) | guest's own (F6) | guest's own (F6) | guest's own (F6) | N2 |
| MPEG-1, MPEG-2, MPEG-4 Part 2, VC-1, VP8 | decode | none listed | F5 | F5 | none listed | N2 |
| ProRes | decode, encode | none listed | none listed | none listed | none listed | N2 |
The x86-64 guest's two encoders reach the device by different paths in AppleGVA. H.264 takes its
path for an AMD GPU's driver (h264.gva, through our bundle's video driver). HEVC takes its path
for an Intel GPU (hevc.gva), on the IntelAccelerator child the kext publishes where the host's
HEVC encoder codes a frame in place (commit 319f54dabb; bugs.md, B100 and B101). ProRes
has no route on either guest: no lab card's driver lists it, and the guest's own ProRes codec runs
in software.
arm64 guests
| format | dir | 780M, XTX (radeonsi) | Iris Xe (iHD) | RTX 3090 (NVDEC, NVENC) | UHD 630, Windows (vaon12) | Mac host |
|---|---|---|---|---|---|---|
| H.264 Constrained Baseline, Main, High, 4:2:0 8-bit | decode | offered (780M: 38882, 38778) | offered (no run on file) | offered (no run on file) | offered (no run on file) | N2 |
| H.264 Constrained Baseline, Main, High | encode | offered (780M: 38882, 38778) | offered (no run on file) | offered (no run on file) | N1 | N2 |
| H.264 High 10, 4:2:2 | decode | none listed | none listed | none listed | none listed | N2 |
| HEVC Main, Main 10, Main Still Picture | decode | offered (780M: 77412; XTX: 77361) | offered (77302, 77386) | offered (77315, 77410) | offered (no run on file) | N2 |
| HEVC Main, Main 10 | encode | offered (780M: 38882, 38778) | offered (no run on file) | offered (no run on file) | N1 | N2 |
| HEVC range extensions, 4:2:0 at 8 and 10 bits | decode | none listed | N3 | offered (listed, not run) | none listed | N2 |
| HEVC Main 12 (4:2:0, 12 bits) | decode | none listed | offered (77302, 77338) | offered (77315, 77572) | none listed | N2 |
| HEVC 4:2:2 at 8, 10 and 12 bits | decode | none listed | offered (77302, 77338) | none listed | none listed | N2 |
| HEVC 4:4:4 at 8, 10 and 12 bits | decode | none listed | offered (77302, 77338) | offered (77315, 77572) | none listed | N2 |
| HEVC Main 4:2:2 10 | encode | none listed | N4 | none listed | none listed | N2 |
| HEVC 4:4:4, 12 bits, SCC | encode | none listed | guest's own (F10) | guest's own (F10) | none listed | N2 |
| VP9 profile 0 (4:2:0, 8 bits) | decode | offered (XTX: 77354; 780M: 77433) | offered (77382) | offered (77355, 77373) | offered (no run on file) | N2 |
| VP9 profile 2 at 10 bits | decode | offered (XTX: 77354) | offered (77382) | offered (77355, 77373) | offered (no run on file) | N2 |
| VP9 profile 2 at 12 bits | decode | none listed | offered (77567, 77606) | offered (card test 78301) | none listed | N2 |
| VP9 profiles 1 and 3, 4:4:4 | decode | none listed | offered (77567, 77606) | none listed | none listed | N2 |
| VP9 profiles 1 and 3, 4:2:2 | decode | none listed | F8 | none listed | none listed | N2 |
| VP9 | encode | none listed | F5 | none listed | none listed | N2 |
| AV1 Main (4:2:0, 8 and 10 bits) | decode | offered (780M: 77412; XTX: 77361) | offered (77386) | offered (77410, 77531; F9) | none listed | N2 |
| AV1 Professional, 4:2:0 at 12 bits (the XTX) | decode | F7 | none listed | none listed | none listed | N2 |
| AV1 | encode | F5 | none listed | none listed | none listed | N2 |
| JPEG | decode, encode | guest's own (F6) | guest's own (F6) | guest's own (F6) | guest's own (F6) | guest's own (F6) |
| MPEG-1, MPEG-2, MPEG-4 Part 2, VC-1, VP8 | decode | none listed | F5 | F5 | none listed | N2 |
| ProRes | decode, encode | none listed | none listed | none listed | none listed | N2 |
Findings
- F2. HEVC's range extensions on x86-64 guests. AppleGVA calls our driver for every range
extensions profile, but it always hands over a 4:2:0 destination: 10 bits in two planes for
10- and 12-bit streams, and 8 bits for 8-bit 4:2:2 and 4:4:4. A picture can't land whole in
it, so the guest keeps its software decoder, which keeps the full picture. Evidence: boots
m3-max-77246 and m3-max-77257 (Iris Xe), and commit
cf3c32173d. - F3. VP9 decode on x86-64 guests. AppleGVA hands our driver whole frames but never names each picture's output surface: in boot m3-max-77247 (Radeon 780M), 0 of 60 outputs were named. It refuses profiles 1 and 3 at the session's create (−12910). Boots m3-max-77225 (RTX 3090) and m3-max-77247. VideoToolbox's paravirtual service, which x86-64 guests are kept off, decoded VP9 for an asynchronous caller and failed a synchronous one (devices.md, "VideoToolbox's paravirtual path on x86-64 guests"; boot m3-max-78509, Radeon 780M).
- F4. AV1 decode on x86-64 guests. Neither AppleGVA nor the x86-64 plug-ins have an AV1 decoder (devices.md, "AV1 on arm64 guests"). VideoToolbox's paravirtual service, which x86-64 guests are kept off, decoded AV1 for an asynchronous caller and failed a synchronous one (devices.md, "VideoToolbox's paravirtual path on x86-64 guests"; boot m3-max-78509, Radeon 780M).
- F5. MPEG-1, MPEG-2, MPEG-4 Part 2, VC-1 and VP8 decode; VP9 and AV1 encode; H.264 High 4:4:4
and Stereo encode. On either guest, no key or codec entry in the guest's frameworks lets a GPU
driver take these (known-issues.md, "Some video formats don't use your
GPU", and commit
cf3c32173d). - F6. JPEG.
- On arm64 guests, the guest's image path looks up Apple's own JPEG and scaler services by
name, finds neither, and decodes in software. No route an app uses sends a decode, though the
device's JPEG decoder answers within 1 of the reference when called directly. JPEG encode is
closed with it. Evidence: boots m3-max-77292, m3-max-77293 and m3-max-77294, and commits
e6a0ceb632andbd2a54f3f0. - On x86-64 guests, VideoToolbox's JPEG decoder and encoder are the same two plug-ins as on
arm64 (
JPEGVideoDecoderandJPEGVideoEncoder, built for x86_64 and arm64e). They load only where the registry holdsAppleJPEGNumCores, and they need noIOGVAkey. The shared cache's other hardware JPEG paths, ImageIO'sAppleJPEGReadPluginandVPA_HWJPEG_*, nameAppleJPEGDriver. On an Intel MacBook Pro of 2019 running macOS 26.7.1, the registry has noAppleJPEGDriverservice and noIOGVAkey for JPEG, so a real Intel Mac also decodes JPEG in software. The one user of AppleGVA's JPEG decoder that the read found is a USB camera's MJPEG decode (UVCFrameProcessorMJPEGDecodeGVA), which first asksAVFJPG_GetJPEGDecodeAvailability. No route here brings a camera to a guest. Evidence: the read of that Mac's plug-ins, registry and shared cache in potluck job m3-max-78260, read only and not run in a guest.
- On arm64 guests, the guest's image path looks up Apple's own JPEG and scaler services by
name, finds neither, and decodes in software. No route an app uses sends a decode, though the
device's JPEG decoder answers within 1 of the reference when called directly. JPEG encode is
closed with it. Evidence: boots m3-max-77292, m3-max-77293 and m3-max-77294, and commits
- F7. AV1 beyond 4:2:0 at 8 and 10 bits. The guest's AV1 decoder takes 4:2:0 at 8 and 10 bits. A 12-bit picture would lose two bits on its way to the guest, and macOS in a VM has no AV1 decoder of its own (known-issues.md).
- F8. VP9 4:2:2 on iHD. iHD's profile 1 and 3 decoders make 4:2:2 render targets but list no 4:2:2 surfaces, and they fail a 4:2:2 frame's decode into any surface (devices.md, "VP9's profiles 1 and 3 on arm64 guests").
- F9. AV1 superres on NVDEC. The RTX 3090's decoder fails each frame of a superres stream that references earlier frames (known-issues.md). Other AV1 streams are offered.
- F10. HEVC range extensions and SCC encode. VideoToolbox has a profile constant for only one
range extensions profile,
kVTProfileLevel_HEVC_Main42210_AutoLevel, and none for 4:4:4, 12 bits or SCC (the SDK'sVTCompressionProperties.h). No guest app can ask for those.- On x86-64 guests, no HEVC encoder takes 4:2:2 either. Of VideoToolbox's three HEVC encoders, Apple's AVE lists profiles 1 and 2, and the software encoder lists 1, 2 and 3. AppleGVA's encoder, the one our driver serves, names no 4:2:2 profile or pixel format in its strings. Evidence: the Intel Mac read in potluck job m3-max-78260, read only and not run.
- On arm64 guests, VideoToolbox's paravirtualization-aware HEVC encoder lists profiles 1, 2
and 4. That reaches Main 4:2:2 10, which is N4 below. Evidence: its
Info.plistas macOS 27.0.1 ships it, read on the M3 host on 2026-12-02, not in a guest.
- F1. H.264's other formats need no finding here, since no lab card lists them. On an x86-64 guest, AppleGVA's session create fails for 4:2:2, 4:4:4, monochrome, lossless and interlaced streams, as it does on a Mac. High 10 decodes wrongly on a Mac (bugs.md, D25).
Not built
- N1. Encode on Windows hosts. The Windows arm opens with no encoder (
open_on_rt,encodes: false), because the runtime imports no shared Direct3D 12 texture to write an encoder's input through. On the lab's Windows GPU there is also nothing to encode with: the UHD 630'svaon12lists no encoder entrypoint (devices.md, "Which hardware"; potluck job m3-max-78560). Its decoders, and so the Windows column's cells, are the same paragraph's. - N2. Mac hosts. A Mac has no video arm. A VideoToolbox arm waits on the owner's word for a guest disk on the M3.
- N3. HEVC's range extensions profiles at 4:2:0, 8 and 10 bits, on iHD. iHD's Main 12 decoder lists P012 and P016 alone, so these streams have no 8- or 10-bit surface. They need a conversion path of their own. Ordered as part 4's V12, not yet built.
- N4. HEVC Main 4:2:2 10 encode on arm64 guests, on iHD. The guest's encoder can ask for it
(F10), and among the lab's cards only the Iris Xe lists a 4:2:2 HEVC encoder. It waits on the
planner. Serving it needs four things:
- a Main 4:2:2 10 profile in the encoder's list and in its SPS, which
codec/encode/hevc.rswrites withchroma_format_idc1 today; - the guest's 4:2:2 10-bit source frames, which
vt_encode.rsrefuses today (it takes420v,420f,x420andxf20); - those frames landed into a surface that iHD's
VAProfileHEVCMain422_10encoder takes; - tests and a proof run of an arm64 guest on the Iris Xe.
- a Main 4:2:2 10 profile in the encoder's list and in its SPS, which