I’m having trouble allocating more VRAM to my QEMU virtual machine. Currently, I’m using the following command to launch my VM:

qemu-system-x86_64 -enable-kvm -boot menu=on -drive file=QEMU -m 2G -cpu host -vga virtio

Can anyone help me figure out how to increase the VRAM allocation in QEMU?

Solution by lnxtx@feddit.nl qemu-system-x86_64 [...] -vga qxl -global qxl-vga.vram_size_mb=128 -global qxl-vga.ram_size_mb=128

  • InverseParallax@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 days ago

    Qxl does, it’s fairly modern.

    Otherwise you have virtio and virglrenderer, which are as modern as it gets this side of pcie pass through or intel’s sriov.