{"slug": "local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov", "title": "Local AI Inference on Qubes OS with an Unlocked Blackwell GPU and iGPU SR-IOV [video]", "summary": "A production Qubes R4.3 laptop now runs all language-model inference locally, passing an NVIDIA RTX 5080 Laptop GPU (Blackwell) through to a dedicated inference qube and serving results to every qube over qrexec rather than the network. The build required booting with integrated graphics disabled to clear GSP and FSP firmware errors, and reconstructing the withheld power mechanism inside the guest — a synthetic NVPCF table, a preload shim for nvidia-powerd CPU telemetry, and an ACPI battery — to lift the card from its 80 W VBIOS floor to its 175 W rating, reaching approximately 3,700 tokens per second in prefill. The integrated Arrow Lake GPU is exposed via SR-IOV as one physical and seven virtual functions for ordinary work qubes, giving the machine two GPUs under two different sharing models.", "body_md": "[qubesos26-eng](https://media.ccc.de/c/qubesos26/qubesos26-eng)Playlists:\n\n['qubesos26' videos starting here](https://media.ccc.de/v/qubesos26-110899-local-ai-inference-on-q/playlist)/\n\n[audio](https://media.ccc.de/v/qubesos26-110899-local-ai-inference-on-q/audio)\n\nQubes 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.\n\nThe 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.\n\nThe 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.\n\nThe 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.\n\nThe 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.", "url": "https://wpnews.pro/news/local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov", "canonical_source": "https://media.ccc.de/v/qubesos26-110899-local-ai-inference-on-q", "published_at": "2026-11-27 12:14:35+00:00", "updated_at": "2026-11-27 12:44:23.134029+00:00", "lang": "en", "topics": ["ai-infrastructure", "ai-tools", "artificial-intelligence"], "entities": ["Qubes OS", "NVIDIA", "RTX 5080 Laptop GPU", "Blackwell", "Arrow Lake", "Xen", "nvidia-powerd", "qrexec"], "also_reported_by": [], "takeaway": "Passing a Blackwell laptop GPU into a Qubes inference qube requires booting with the iGPU disabled to avoid GSP/FSP firmware errors, and rebuilding the power budget in-guest (synthetic NVPCF table, nvidia-powerd telemetry shim, ACPI battery) to move from the 80 W VBIOS floor to 175 W and roughly 3,7", "recommendation": {"advice": "When a passed-through Blackwell laptop GPU is stuck at its 80 W VBIOS floor, reconstruct the ACPI power budget inside the guest with a synthetic NVPCF table and a telemetry shim for nvidia-powerd to reach the 175 W rating.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov", "markdown": "https://wpnews.pro/news/local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov.md", "text": "https://wpnews.pro/news/local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov.txt", "jsonld": "https://wpnews.pro/news/local-ai-inference-on-qubes-os-with-an-unlocked-blackwell-gpu-and-igpu-sr-iov.jsonld"}}