From 35b9b69c6d10a3959eb04fcab206705a37ef2a7d Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 2 Mar 2025 20:40:16 +0100 Subject: [PATCH] Fix qemu config for multi-head gpu The old config would create two separate VGA compatible graphics adapters. Redox currently only supports this when the firmware initializes both graphics adapters as boot framebuffers. Only UEFI supports this however. Using a single multi-head virtio-gpu graphics adapter makes it work on BIOS too. --- mk/qemu.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/qemu.mk b/mk/qemu.mk index 6eedf78a7..0a2a479a8 100644 --- a/mk/qemu.mk +++ b/mk/qemu.mk @@ -162,7 +162,7 @@ endif ifeq ($(gpu),no) QEMUFLAGS+=-nographic -vga none else ifeq ($(gpu),multi) - QEMUFLAGS+=-display sdl -vga std -device secondary-vga + QEMUFLAGS+=-display sdl -vga none -device virtio-gpu,max_outputs=2 else ifeq ($(gpu),virtio) QEMUFLAGS+=-vga virtio else ifeq ($(vga),virtio-gpu-pci)