knazarov / homebrew-qemu-virgl

A homebrew tap for qemu with support for 3d accelerated guests
415 stars 68 forks source link

Segmentation fault: 11 #54

Open colourfullyy opened 3 years ago

colourfullyy commented 3 years ago

hi, when I try to start the virtual machine the first time (to install from cd image), I get this strange error. I'm not very familiar with anything qemu related so I would appreciate any help! Here's the command I ran + the output:

qemu-system-aarch64 \ -machine virt,accel=hvf,highmem=off \ -cpu cortex-a72 -smp 2 -m 4G \ -device intel-hda -device hda-output \ -device qemu-xhci \ -device virtio-gpu-gl-pci \ -device usb-kbd \ -device virtio-net-pci,netdev=net \ -device virtio-mouse-pci \ -display cocoa,gl=es \ -netdev user,id=net,ipv6=off \ -drive "if=pflash,format=raw,file=./edk2-aarch64-code.fd,readonly=on" \ -drive "if=pflash,format=raw,file=./edk2-arm-vars.fd,discard=on" \ -drive "if=virtio,format=raw,file=./hdd.raw,discard=on" \ -cdrom Fedora-Workstation-Live-aarch64-34-1.2.iso \ -boot d Segmentation fault: 11

log: https://pastebin.com/Adeq2Kxz

knazarov commented 2 years ago

Hi! And sory for the late answer. Which type of hardware did you try to run on?

Do you have MacOS updated to the latest version?

Try running with gl=off instead of gl=es. Let's see if it allows us to narrow down the problem.

colourfullyy commented 2 years ago

I'm using big sur 11.6, on an m1. I tried with gl=off and had to change video device to virtio-gpu-pci. And the machine was able to start without any issues.

DUOLabs333 commented 2 years ago

You should close this now.