pmbootstrap qemu with nvidia proprietary drivers fails (libGL error: No matching fbConfigs or visuals found)
Wanted to check out the state of PMOS for the first time, and while setup proceeds fine, it b0rks being unable to figure out a GL handle. Is there a way to disable hw accel for testing, or make the LIBGL_DRIVERS_PATH play with system installed nvidia GL blobs?
command: "pmbootstrap qemu --image-size=2G" (pmbootstrap is /usr/local/bin/pmbootstrap)
@dir: /mnt/interspace/PostmarketOS @time: Wed 25 Jul 10:53:16 CEST 2018
[sudo] password for empee584:
[10:53:22] Update package index for x86_64 (4 file(s))
[10:53:29] (native) install
[11:02:17] Running postmarketOS in QEMU VM (x86_64)
[11:02:19] (rootfs_qemu-amd64) install
[11:03:14] Setting the rootfs size to 2G
[11:03:14] Connect to the VM (telnet requires 'pmbootstrap initfs hook_add debug-shell'):
[11:03:14] * (ssh) ssh -p 2222 user@localhost
[11:03:14] * (telnet) telnet localhost 2223
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
qemu-system-x86_64: Couldn't find current GLX or EGL context.
[11:03:16] NOTE: The failed command's output is above the ^^^ line in the log file: /mnt/interspace/PostmarketOS/log.txt
[11:03:16] ERROR: Command failed: % QEMU_MODULE_PATH=/mnt/interspace/PostmarketOS/chroot_native/usr/lib/qemu GBM_DRIVERS_PATH=/mnt/interspace/PostmarketOS/chroot_native/usr/lib/xorg/modules/dri LIBGL_DRIVERS_PATH=/mnt/interspace/PostmarketOS/chroot_native/usr/lib/xorg/modules/dri /mnt/interspace/PostmarketOS/chroot_native/lib/ld-musl-x86_64.so.1
--library-path=/mnt/interspace/PostmarketOS/chroot_native/lib:/mnt/interspace/PostmarketOS/chroot_native/usr/lib /mnt/interspace/PostmarketOS/chroot_native/usr/bin/qemu-system-x86_64 -L /mnt/interspace/PostmarketOS/chroot_native/usr/share/qemu/ -kernel /mnt/interspace/PostmarketOS/chroot_rootfs_qemu-amd64/boot/vmlinuz-postmarketos-stable -initrd
/mnt/interspace/PostmarketOS/chroot_rootfs_qemu-amd64/boot/initramfs-postmarketos-stable -append 'console=tty1 console=ttyS0 PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE' -m 1024 -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::2223-:23,net=172.16.42.0/24,dhcpstart=172.16.42.1 -show-cursor -serial stdio -drive file=/mnt/interspace/PostmarketOS/chroot_native/home/pmos/rootfs/qemu-amd64.img,format=raw -device e1000,netdev=net0 -enable-kvm -vga virtio -display sdl,gl=on
[11:03:16] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.
"pmbootstrap qemu --image-size=2G" exited after 10 minutes and 0 seconds
exit status 1 at Wed 25 Jul 11:03:16 CEST 2018
[r] to respawn, [any] other key to exit