Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-70052

Support Video Card with 3D Acceleration on OCP VMs

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False

      1. Proposed title of this feature request
      Support for Virtual Video Card with 3D Acceleration in OpenShift Virtualization VMs

      2. What is the nature and description of the request?
      Currently, OpenShift Virtualization (OCP-V) VMs do not provide a virtual video card option similar to VMware. Some customer applications require a basic 3D-accelerated virtual GPU to function (leveraging OpenGL libraries inside the guest).

      Without such support, these applications either fail to launch or crash.
      The only existing workaround is to manually switch the VM display device from bochs (default) to virtio via a sidecar, then install Mesa3D (virgl) drivers inside the guest. This approach is not officially supported, not stable, and works inconsistently.

      We request native support for a virtual video card with 3D acceleration in OCP VMs (Windows/Linux) (using virtio/virgl or equivalent), without requiring passthrough vGPU hardware.

      3. Why does the customer need this? (List the business requirements here)

      • Customer is migrating workloads from VMware to OpenShift Virtualization.
      • A subset of workloads rely on applications that require OpenGL libraries exposed via a virtual video card.
      • These applications are lightweight and do not justify costly vGPU investments.
      • Without this feature, these workloads cannot be migrated, blocking customer's infrastructure modernization and cloud adoption initiatives.
      • This gap may also impact customer adoption of OCP-V in use cases involving lightweight 3D rendering, visualization, or testing workloads. 

      4. List any affected packages or components.

      • OpenShift Virtualization (kubevirt/cnv) display device emulation
      • QEMU / virtio GPU device support (virtio-vga, virtio-gpu-pci)
      • Guest drivers (mesa3d / virglrenderer) - workaround options
      • OCP-V UI (VM creation wizard defaulting to bochs instead of virtio) - we have an existing Jira to make it default

      5. Current Workarounds

      • Install Mesa3D drivers in guest VM to enable virgl-based OpenGL:

      These workarounds are unsupported, not reliable, and work only on a best-effort basis, hence not suitable for enterprise production environments.

        1. image-2025-09-29-20-30-27-690.png
          1.04 MB
          Anto Padickal Joseph
        2. image-2025-09-29-20-30-46-400.png
          84 kB
          Anto Padickal Joseph
        3. image-2025-09-29-20-31-46-405.png
          71 kB
          Anto Padickal Joseph
        4. image-2025-09-29-20-32-00-599.png
          469 kB
          Anto Padickal Joseph

              rh_pelauter@redhat.com Peter Lauterbach
              rh-ee-ajoseph Anto Padickal Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: