There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

QEMU: How to increase VRAM allocation?

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


<span style="color:#323232;">qemu-system-x86_64 -enable-kvm -boot menu=on -drive file=QEMU -m 2G -cpu host -vga virtio
</span><span style="color:#323232;">
</span>

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

lnxtx ,
@lnxtx@feddit.nl avatar

Not sure, but maybe the QXL driver will help:


<span style="color:#323232;">qemu-system-x86_64 [...] -vga qxl -global qxl-vga.vram_size_mb=128 -global qxl-vga.ram_size_mb=128
</span>
InverseParallax ,

Vga is fixed iirc, the original frame buffer was tiny, the emulated one gives you 16mv

Cirrus logic gives you 16mb too iirc, then you can use other drivers that give you more,

www.kraxel.org/blog/…/display-devices-in-qemu/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines