Skip to content

Enable hw-acceleration in QEMU #4193

@septatrix

Description

@septatrix

eglinfo -B inside the VM currently always shows llvmpipe is used as a CPU/software renderer. I was able to get it to use virgl instead by simply replacing -device virtio-vga with -device virtio-vga-gl -vga none. In theory it should also be possible to set up venus for accelerated Vulkan rendering (-device virtio-vga-gl,hostmem={config.ram // 1024**2}M,blob=on,venus=on) though I could not get this to work (maybe QEMU/mesa etc. too old).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions