📝 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.
This commit is contained in:
1 parent
07fd48623d
commit
4c07913bc7
2 files changed
+7
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user