Files
reims-vgpu/docs
Anees Iqbal 24b37c9ac5 🐛 Keep host-copied textures out of incoherent memory on Intel
Arrow Lake-S's iGPU shares no last-level cache with the host, and ANV's one
host-cached memory type there is not coherent. metal2vulkan placed Shared and
Managed textures in it for their host copies, and the GPU read stale 64-byte
lines of them: an x86-64 macOS guest showed sparse, fully transparent 4x4-pixel
blocks in its boot logo, Dock icons and widgets, a third of the logo's interior.

metal2vulkan edb5ffd8cc takes a host-cached type for those textures only where
it is also coherent, and never one the host maps without coherence; on such a
GPU they lie in its coherent type, whose host reads are slower. Every GPU whose
cached types are coherent (NVIDIA's, RADV's, MoltenVK's, lavapipe's) keeps its
placement. A cold boot of the guest on that iGPU shows no blocks; docs/qemu.md
records the measurements.
2026-10-12 13:47:08 +03:00
..