Use Alpine's qemu "pmbootstrap qemu"
Created by: Decatf
Use Alpine's QEMU rather than the host system QEMU (as described in issue #1158 (closed)). The QEMU GTK/SDL version and Spice version are working as previously.
This also partially addresses #534. It forks Alpine's QEMU with two changes:
- Compile with
virglrenderer
- Add patch to use
QEMU_MODDIR
env variable as a search path for QEMU modules which is required for GTK and SDL display.
There are two new pmbootstrap
--device
and --vga
arguments which are passed to qemu's equivalent args. The virgl renderer is a buggy from my testing. These two parameters are the relevant ones used for testing virgl. Run it with:
pmbootstrap qemu --display sdl,gl=on --device (virtio-vga|virtio-gpu-pci),virgl=on --vga virtio
Sometimes it's useful to omit one or the other argument depending on the graphical environment I've had different results depending on which.
[x] Merge on GitHub (see https://postmarketos.org/merge)