qemu-system-aarch64: warning: gic-version=host not relevant with kernel-irqchip=off as only userspace GICv2 is
supported. Using v2 ...
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 95
Current serial number in output stream: 94
root@ziomario-desktop:# find / -name swrast_dri.so
/usr/lib/aarch64-linux-gnu/dri/swrast_dri.so
/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so
this error does not depend about the kvm aosp jetson nano github. Infact I get the same error trying to virtualize windows 10 arm64 with this command :
root@ziomario-desktop:# qemu-system-aarch64 -M virt-2.12 -enable-kvm -cpu host -smp 2 -m 2048 -device qemu-xhci -device usb-kbd -device usb-mouse -drive file=/root/Scrivania/Work/isoarm/win10arm.qcow2,if=virtio -nic user,model=virtio -device usb-storage,drive=install -device usb-storage,drive=drivers -drive file="/root/Scrivania/Work/isoarm/$isoname1",if=none,id=install,media=cdrom,readonly=on -drive file="$virtio",if=none,media=cdrom,readonly=on,id=drivers -bios /root/Scrivania/Work/I9/win10arm/QEMU_EFI.fd -device virtio-gpu-pci,virgl=on,xres=1280,yres=720 -display sdl,gl=on
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/aarch64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 95
Current serial number in output stream: 94
as u can see in this case I’m not using the kvm aosp jetson nano github at all. So,the problem is not related to it. Take in consideration that I have installed the Kernel Version: 4.9.201+ recompiled with the patches gotten from here :