QEMU: How to increase VRAM allocation?
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:
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
You're viewing a single thread.
View all comments
8
comments
Not sure, but maybe the QXL driver will help:
qemu-system-x86_64 [...] -vga qxl -global qxl-vga.vram_size_mb=128 -global qxl-vga.ram_size_mb=128
7 0 ReplyIt's an improvement, but 500MB+ would be perfect.
3 0 ReplyReplace the value 128 to 512. And try again :)
4 0 ReplyI was under the impression that QXL driver were capped at 256MB too, thanks.
4 0 Reply
You've viewed 8 comments.
Scroll to top