Qubes OS exists to hold sensitive material in isolated compartments. Sending that material to a hosted language model defeats the purpose. This talk describes a production laptop that performs all of its inference locally, and the three problems that had to be solved to achieve it.
The first problem is device assignment. An NVIDIA RTX 5080 Laptop GPU, based on the Blackwell architecture, is passed through to a dedicated inference qube on Qubes R4.3. The guest cannot initialise the card, reporting GSP and FSP firmware errors, until the machine is booted with the integrated graphics disabled.
The second problem is power. A passed-through laptop GPU runs at its VBIOS floor of 80 W against a 175 W rating, and the supported override is refused by design on Blackwell laptop parts. The power budget is held in an ACPI device that the guest never receives, so the mechanism was reconstructed inside the guest: a synthetic NVPCF table, a preload shim supplying the CPU telemetry that Xen withholds from nvidia-powerd, and an ACPI battery. The enforced ceiling becomes 175 W, and prefill throughput reaches approximately 3,700 tokens per second.
The third problem follows from the second. A discrete GPU dedicated to one qube leaves the rest of the system without acceleration. The integrated Arrow Lake GPU answers this through SR-IOV, presenting a physical function and seven virtual functions that can be assigned to ordinary work qubes.
The result is two GPUs operating under two different sharing models on a single machine, with inference served to every qube over qrexec rather than over the network.