From 4c07913bc708ec8d7b5a8a438383e99fcef95c72 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 26 Nov 2026 13:18:48 -0800 Subject: [PATCH] :memo: Say a Windows host encodes the guest's video in software on every GPU [ci skip] README.md and docs/video/devices.md said the guest encodes in software on an Intel UHD 630, as if another GPU could encode on Windows. The Windows arm opens with encodes off on every GPU (open_on_rt in graphics/vaapi.rs), since rt imports no shared Direct3D 12 texture, so no Windows host lists an encoder today. --- README.md | 4 ++-- docs/video/devices.md | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 21bfd8a0b..5b3ac08e2 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,8 @@ Studio. It installs `reims-ctl` into `%USERPROFILE%\.cargo\bin`. On an Intel Cor first install took about 20 minutes, and running it again about a minute. From a clone, `powershell -ExecutionPolicy Bypass -File scripts\install.ps1` does the same. Windows support is newer than Linux's. The guest's H.264 and HEVC video decodes on your GPU there through Mesa's VA-API -driver for Direct3D 12, which the install adds from MSYS2. On an Intel UHD 630 that driver doesn't -encode, so the guest encodes video in software there. +driver for Direct3D 12, which the install adds from MSYS2. Encoding doesn't use your GPU on Windows +yet, whichever GPU you have, so the guest encodes video in software there. ### Set up a VM diff --git a/docs/video/devices.md b/docs/video/devices.md index 6a3c52634..a754add05 100644 --- a/docs/video/devices.md +++ b/docs/video/devices.md @@ -24,8 +24,11 @@ the runtime device's GPU (the LUID Vulkan answers for it) and Mesa's VA-API driv dma-buf: its pictures decode into shared Direct3D 12 textures, which the runtime device's GPU copies into the guest's planes, or their device caches; where the device imports none, they come back through `vaGetImage` and the CPU's copy ([vaapi.md](vaapi.md), "Loading libva"). On Intel's UHD 630 (driver 31.0.101.2145) -`vaon12` decodes H.264 and HEVC Main and Main 10 and encodes nothing, so the device lists no -encoder there. +`vaon12` decodes H.264 and HEVC Main and Main 10 and encodes nothing. The Windows arm answers no +encoder on any GPU, whatever `vaon12` encodes (`open_on_rt` in +`crates/reims-vgpu/src/graphics/vaapi.rs` opens with `encodes: false`): rt imports no shared +Direct3D 12 texture, which an encoder's input would be written through. So on a Windows host the +device lists no encoder, and the guest encodes in software, on every GPU. Each arm that declines says why in one line at info. A Mac has no video arm, on either platform. Where no arm takes the device, the host writes no video caps, and the guest is offered no