Files
reims-vgpu/docs
Anees Iqbal f07e99e0d2 🐛 Refuse an x86-64 guest's Shared heap as its Mac makes none
The x86 Macs' Metal makes no Shared heap: newHeapWithDescriptor: of one ends
the process at the descriptor ("Heap Descriptor Validation / Shared storage
mode disallowed") on the AMD 5300M and the Intel 630 under macOS 26.7.1, for
both heap types, with and without the validation layer (m3-max-79571/79572).
The guest's bundle already ends an x86-64 guest's process there, sending
nothing, but the host made a raw HEAP_CREATE of a Shared heap over rt's
Shared memory for any guest, so once rt places textures in Shared heaps an
x86-64 guest could have had textures its Mac cannot make.

What changes for an x86-64 guest: a HEAP_CREATE of a Shared heap now stands
refused, unmade, and the platform is never asked for it, where it was made.
No bundle sends one: the x86 bundle ends the process first, and the arm64
bundle lays its Shared heaps over the pool or the region. An arm64 guest's
device still makes it, as the M3 Max's Metal does. The heaps the bundle lays
over its own Shared memory (HEAP_OVER_POOL, HEAP_OVER_HOST_MEMORY,
HEAP_OVER_PAGES), which hold its Shared buffers and the textures over them,
are made for either guest as before.

The answer lives in device_info beside the other answers about the Mac the
device imitates (makes_shared_heaps), and the device tells the decoder at its
make. a_create_the_platform_refuses_makes_nothing placed its texture in a
Shared heap of an x86-64 guest's device, now refused; it uses a Private heap.
2026-12-02 12:07:50 -08:00
..