Ubuntu 26.04: Please enable VirGL video acceleration (virglrenderer + QEMU flags)

Ubuntu Version: 26.04 (daily / pre-release)

Desktop Environment (if applicable): N/A (host is used for KVM/QEMU; desktop doesn’t matter much)

Problem Description:
I’d like Ubuntu 26.04 to ship VirGL “video acceleration” enabled for virtio-gpu/virgl guests (where supported by the host stack). This requires two changes in Ubuntu packaging:

  1. virglrenderer is currently built with VirGL video support disabled (-Dvideo=false).
    Bug: LP #2141692
    https://bugs.launchpad.net/ubuntu/+source/virglrenderer/+bug/2141692

  2. Even if virglrenderer is built with video enabled, QEMU needs to pass the runtime flag to virglrenderer (VIRGL_RENDERER_USE_VIDEO) when initializing virgl for virtio-gpu (preferably as an opt-in device property to minimize regression risk during the LTS cycle).
    Bug: LP #2141694
    https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2141694

Goal: make it possible for virtio-gpu/virgl guests to expose VA-API video encode/decode capabilities (when the host supports it), improving VM multimedia workloads and “VDI-like” interactive VM desktop use cases.

Relevant System Information:
Host hardware: Intel/AMD (iGPU/Radeon/NVIDIA)
Virtualization: libvirt/QEMU/KVM, virt-manager
Guest type: Ubuntu VM with virtio-gpu + virgl/virtio-gl (3D acceleration enabled)

Screenshots or Error Messages:
N/A - this is a packaging/feature enablement request for 26.04 rather than a single error log issue.

What I’ve Tried:
Opened the two Launchpad bugs above to track the required changes for 26.04.

Before Posting:
I searched Discourse/Launchpad/Debian and found historic discussion around disabling virglrenderer video; these two bugs are intended to track getting it enabled for 26.04 specifically.

2 Likes

Moved to Project Discussion > Pre-Release Discussion
More appropriate location for Ubuntu 26.04

2 Likes

Hey folks! I see that Ubuntu is frozen now for the 26.04 release but, is it still possible to change this and enable VirGL video acceleration? :folded_hands: