🐎 Present the x86 guests' frames without waiting on each
The apv-arm64-port GPU kext's type-4 display pipe made WindowServer wait on each present's fence before it sent the next. paravirt-x86-guest's 6829152 (its plan.md, Decided 18) submits command 8 at once and keeps at most two presents outstanding, as Apple's x86_64 driver does. The host's messages are unchanged. These are that build's two changed executables, written by its deploy.sh from 5ba2290 (the commits after 6829152 change docs alone): AppleParavirtGPUIOGPUFamily 6fb01accfb04f83dbbac9f7d0e18f185b9aba8131b0e8829053a026783d1fe50 AppleParavirtGPULoader 8f16ab488d72b3a6d9d77db6a1229e2d22d60e9794a1f3cdca52c2656864f801 The loader changes because its stage 1 compiles in the GPU kext's sites. The other five bundles and every Info.plist came out byte-identical. Checked on msi's RTX 5080 under reims-vgpu with a macOS 26 guest (run perf-rvg-vm-macos-26-async0-014914): drag went from 55-59 fps to 89.5 and ufo to 89.8, webgl and video stayed about even, the queue never went past two, no present failed and nothing panicked, and metalwin passed 3 of 3. Upstream, make check STRICT=1, the arm64e gate and deploy.sh's checks (no /Users/, worktree paths, HEAD hash or stabs) passed.
This commit is contained in:
1 parent
8a8a85210b
commit
6e9f41a99b
2 files changed
No files matched your search
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user