[neon/ubuntu-core] /: Enable GL acceleration

Kevin Ottens null at kde.org
Tue Apr 23 22:35:17 BST 2024


Git commit b7475e7e49dfdd4db325247d1c1caf1a9acfbc84 by Kevin Ottens.
Committed on 23/04/2024 at 21:28.
Pushed by ervin into branch 'master'.

Enable GL acceleration

M  +3    -1    run-image.sh

https://invent.kde.org/neon/ubuntu-core/-/commit/b7475e7e49dfdd4db325247d1c1caf1a9acfbc84

diff --git a/run-image.sh b/run-image.sh
index 8bb39b1..789bf52 100755
--- a/run-image.sh
+++ b/run-image.sh
@@ -26,7 +26,9 @@ OVMF_BIN=`find_ovmf_bin`
 echo "If you need to access local-snaps from the guest run: mount -t 9p host_share /mnt"
 qemu-system-x86_64 -smp 2 -m 2048 -machine accel=kvm \
       -display gtk,gl=on \
-      -net nic,model=virtio -net user,hostfwd=tcp::8022-:22 \
+      -device virtio-vga-gl \
+      -net nic,model=virtio \
+      -net user,hostfwd=tcp::8022-:22 \
       -drive file=$OVMF_BIN,if=pflash,format=raw,unit=0,readonly=on \
       -drive file=$IMAGE,cache=none,format=raw,id=main,if=none \
       -device virtio-blk-pci,drive=main,bootindex=1 \


More information about the Neon-commits mailing list