apsun / loliOS

Lightweight & operational Linux-inspired OS.
33 stars 1 forks source link

vgabios.bin not present in Arch Linux seabios package #38

Open apsun opened 8 months ago

apsun commented 8 months ago

isa-vga looks for vgabios.bin which doesn't come with the seabios package on Arch (it's called vgabios-isavga.bin instead). VGA (pci-vga) on the other hand looks for vgabios-stdvga.bin which works.

Current workaround is:

sudo ln -sf /usr/share/qemu/vgabios-isavga.bin /usr/share/qemu/vgabios.bin

But obviously I'd prefer not to maintain that hack.

Switching to pci-vga is currently blocked on (obviously) PCI support, since using isa-vga is what makes hard-coding the framebuffer address work. The PCI variant requires reading the address from the BAR.

apsun commented 8 months ago

In the QEMU Makefile there's a special case for vgabios-isavga.bin specifically, so I'm fairly sure the right thing to do is to fix the Arch PKGBUILD.

apsun commented 8 months ago

Filed upstream as https://gitlab.archlinux.org/archlinux/packaging/packages/seabios/-/issues/1