Commit Graph
5 Commits
Author SHA1 Message Date
Anees Iqbal 6fb33ecd27 🎨 Rename the reims-graphics crate to reims-vgpu-graphics
The crate that holds the reims-graphics device's wire and transport now
carries the library's prefix, as reims-vgpu-video does: its directory is
crates/reims-vgpu-graphics, its package reims-vgpu-graphics, and its Rust
path and log target reims_vgpu_graphics. The guest's, the option ROM's and
Ambrosia's Makefiles include the wire header from the new directory, and the
prebuilt records name it there.

Nothing changes for the guest or the host. The device keeps its name
(reims-graphics, QEMU's reims-graphics-pci, PCI 1234:5247), and the wire
header keeps its file name and RGFX_ symbols. The C API header is unchanged,
and the prebuilt kexts and option ROM are byte-identical; only the records'
paths and source hashes move. A log filter names the crate's lines by its
new target (REIMS_VGPU_LOG=info,reims_vgpu_graphics=trace), a diagnostic.
2026-11-08 01:37:50 -08:00
Anees Iqbal 7f5af36022 📝 Tie the 5080's slow frame cases to the core clock [ci skip]
The note blamed P4 and its 9001 MHz memory. Sampling every 100 ms through
eight starts from idle and three sustained runs shows the slow repetitions
come when the driver holds the core at about 1.2 to 1.5 GHz under its power
cap. Fill runs at full rate in P4 whenever the core is at 2.8 GHz, whatever the
memory clock. That low clock comes 2 s into some starts and again about 10 s
into sustained load, for up to 12 s, so a warm-up does not avoid it. The note
now says what the clocks show, so the gate's reading of those numbers starts
from the right cause.
2026-11-05 21:59:25 -08:00
Anees Iqbal f5145253d9 📝 Name the P4 hold behind the 5080's slow frame cases [ci skip]
The lane gate saw frag.fill.2160p land at about 256 or 134 Gpix/s from boot to
boot, with frag.alu unchanged. nvidia-smi on the host shows why: the slow runs
are the driver's P4 state (core 1222 to 1447 MHz, memory 9001 MHz), which it
holds for 1 to 8 s under full load. In a cold start it began after a spike
over the part's 115 W power cap. A host process with no VM shows it too, and so
do both lanes. Fill at P0 did not change with the target's image or its
placement. The gate's 3 s cases land in either state, and its alu cases ran
in P4 every time, so the note says so for whoever reads those numbers next.
2026-11-05 21:59:25 -08:00
Anees Iqbal 03a27c1ae3 📝 Describe the display's refresh times and record the present fix [ci skip]
design.md says how the kext times display pipe completions and VBL answers
from the host's VBLANK stamps, and where drawables are presented; the
benchmark note records that the on-screen case now presents at the display's
rate.
2026-11-05 21:59:22 -08:00
Anees Iqbal c116e83594 📝 Record the GPU-heavy benchmark of both lanes on the RTX 5080 [ci skip]
What our graphics lane gives over the paravirt lane under GPU-heavy work,
measured on one host build, guest and display mode, beside an M3 Max and a
2019 MacBook Pro's AMD and Intel GPUs. GPU-bound cases match. Ours is 47x on
a Private blit, 4.3x on sampling, 10-19x on MPS SGEMM and 2x on Shared
transfers. Draw calls are host-bound in both lanes. On-screen, paravirt is
host-CPU-bound at 41-42 fps, while ours gives apps no present feedback or
display-rate back pressure.
2026-11-05 21:59:22 -08:00