-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.1 VirGL crashes the QEMULauncher (pointer being freed was not allocated) #3053
Comments
What commands did you run in Ubuntu to reproduce it? |
And is it possible to test with https://gist.github.com/akihikodaki/87df4149e7ca87f18dc56807ec5a1bc5 |
I tried to play SuperTuxKart, froze after clicking on "Singleplayer" in the main menu, after which a menu is loaded that contains 3D rendering. And I will take a look at that, sure. |
And it ran fine with Metal (aside from the memory leak issues)? Maybe we a clue to the ANGLE memory leak then... |
Yes the game worked fine using the previous beta. (apart from the memory usage) |
A very similar crash occurred when using the https://gist.github.com/akihikodaki/87df4149e7ca87f18dc56807ec5a1bc5 installed via brew https://github.com/knazarov/homebrew-qemu-virgl . From the crash log:
And this is the command I used to run the VM: qemu-system-aarch64 -nodefaults -device virtio-gpu-gl-pci -cpu host -smp cpus=4,sockets=1,cores=4,threads=1 -machine virt-6.1,highmem=off -accel hvf -bios /Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd -m 4096 -device ich9-intel-hda -device hda-duplex -name "Ubuntu ARM 2.2.0" -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device qemu-xhci,id=usb-controller-0 -device usb-storage,drive=drive0,removable=true,bootindex=0 -drive if=none,media=cdrom,id=drive0 -device virtio-blk-pci,drive=drive1,bootindex=1 -drive "if=none,media=disk,id=drive1,file=/Users/chris/Library/Containers/com.utmapp.UTM/Data/Documents/Ubuntu ARM 2.2.0.utm/Images/disk-0.qcow2,cache=writethrough" -device virtio-net-pci,mac=9E:FF:F7:C9:01:AF,netdev=net0 -netdev user,id=net0 -uuid E582C6D5-8ABB-4C23-8F5E-075C842F14B0 -rtc base=localtime -display cocoa,gl=es |
Okay so as expected this is an ANGLE bug. I'll have to look more into it. Is this something that happens often or just with supertuxkart? |
It crashes in the same way when running the "piglit" test. |
Just going to leave the full terminal output here in case it's helpful: terminal output running piglit
|
@conath Can you try with one 1 core ( |
The behavior is the same when just using one CPU core. Debug Log
|
FYI with UTM 3.0.1 Beta it doesn't crash when using the virtio-ramfb-gl display device and playing SuperTuxKart, but there are a lot of rendering glitches. |
Right but that’s “expected” due to the software being not mature |
While testing a 3D game in my Ubuntu ARM VM it slowed down to a crawl when the 3D started to render (first frame) and the guest became unresponsive. After a few seconds, the VM's QEMULauncher crashed.
Configuration
Crash log (symbolicated)
Full log: virgl-crash-2.2.1.log
Debug log
debug.log
Upload VM
mega.nz
The text was updated successfully, but these errors were encountered: