Video routes show a technical error

Symptoms

  • Zwift shows a technical error when you select Video in the route list
  • Log.txt contains Video decode context not supported on this hardware

Cause

Zwift checks for H.264 decoding through Direct3D 11 when you log in. In the container, wine provides this using Vulkan Video, so your GPU driver needs to support VK_KHR_video_decode_h264.

Solution

  1. Make sure you are using the latest image
  2. Use ZWIFT_LOG_DIR to access Log.txt and search for VideoDecoderContext:

    Log message Meaning
    hardware decode supported on '...' The check passed
    device creation failed (0x887A0004) Your driver doesn’t expose Vulkan H.264 decoding
    CreateDXGIFactory1 failed wine didn’t find a usable Vulkan driver
  3. If the log shows device creation failed for llvmpipe even though your GPU supports Vulkan Video, the container can’t open your GPU’s render node. Run ls -l /dev/dri on the host. If renderD* is 0660 (e.g. Debian), add your user to the group that owns it, usually render, then log out and in again:

    sudo usermod -aG render "$USER"
    

    The container user gets the same groups as your host user, with both docker and podman. On podman this needs the crun runtime, since runc ignores --group-add keep-groups. This prints the runtime podman uses:

    podman info --format '{{ .Host.OCIRuntime.Name }}'