arindas / mac-on-linux-with-qemu

Runs macOS on linux with qemu.
MIT License
196 stars 18 forks source link

Install-MacOS script aborts after a few seconds #33

Closed djfjfofoc3 closed 2 years ago

djfjfofoc3 commented 2 years ago

QEMU aborts with the following output:

qemu-system-x86_64: -drive if=pflash,format=raw,readonly,file=packaged-firmware/OVMF_CODE.fd: warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
qemu-system-x86_64: ../qemu-7.0.0/ui/console-gl.c:105: surface_gl_update_texture: Assertion `gls' failed.
./launch-macos.sh: line 32: 35265 Aborted                 (core dumped) qemu-system-x86_64 -enable-kvm -m 2G -machine q35,accel=kvm -smp 4,cores=2 -cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc -device isa-applesmc,osk="$OSK" -smbios type=2 -object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-pci,rng=rng0 -serial mon:stdio -drive if=pflash,format=raw,readonly,file=packaged-firmware/OVMF_CODE.fd -drive if=pflash,format=raw,file=firmware/OVMF_VARS-1024x768.fd -device virtio-vga-gl -display sdl,gl=on -vga std -L /usr/share/seabios/ -L /usr/lib/ipxe/qemu/ -audiodev pa,id=pa,server="/run/user/$(id -u)/pulse/native" -device ich9-intel-hda -device hda-output,audiodev=pa -usb -device usb-kbd -device usb-mouse -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0 -drive id=ESP,if=virtio,format=qcow2,file=ESP.qcow2 -drive id=SystemDisk,if=virtio,file=macos.qcow2

Neofetch (for things such as kernel version, etc...):


██████████████████  ████████   user@device 
██████████████████  ████████   ----------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: MS-7B86 3.0 
████████            ████████   Kernel: 5.18.0-1-rt11-MANJARO 
████████  ████████  ████████   Uptime: 22 mins 
████████  ████████  ████████   Packages: 1656 (pacman), 11 (snap) 
████████  ████████  ████████   Shell: bash 5.1.16 
████████  ████████  ████████   Resolution: 1920x1080, 1920x1080 
████████  ████████  ████████   DE: Plasma 5.24.5 
████████  ████████  ████████   WM: KWin 
████████  ████████  ████████   WM Theme: K01-d 
████████  ████████  ████████   Theme: Breath Light [Plasma], Breeze [GTK2] 
████████  ████████  ████████   Icons: Planet-dark [Plasma], Planet-dark [GTK2/3] 
                               Terminal: konsole 
                               Memory: 3884MiB / 64300MiB