Open kode54 opened 3 years ago
@kode54 What are you trying to run? If possible can you upload the .utm?
Just trying to run Ubuntu Server 21.04 that has been configured to enable ubuntu-desktop. ARM version, on an M1 Mac mini. The problem with the cookie error doesn't happen very often now, but the performance of the virgl is atrocious, getting just over 106fps in non-vsync-constrained glxgears.
What do you expect the performance to be? What do you get with QEMU?
I guess if I want Linux to run with gaming level performance on ARM hardware, I should buy a Linux specific ARM machine.
I could not reproduce a crash, but I do see the slow drawing of the console before graphics mode starts. When I use that display driver it has buttery smooth graphics (I only played a music video, no gaming). Here are some details about my setup. Maybe we can track down differences.
UTM: Version 2.2.4 (36) OS: 11.5.2 (20G95) Apple Silicon
My guest is Debian Buster installed on UTM (not converted from another virtualization program) Now some supporting documentation
Debug log: debug.log
UTM vm config config.plist.txt
A video clip of the slow drawing on the console https://user-images.githubusercontent.com/7477095/133010506-f0c90a03-a57f-4f1c-ba63-d553f9939450.mp4
I doubt this is a UTM issue though.
Nope, I've gathered that virgl is not really all that performant. I've found it to actually be less performant at anything GPU heavy than llvmpipe.
I changed my Display to virtio-ramfb and that fixed it.
v 4.1 Updates in the Note Section
Newly created Linux VMs will now use virtio-gpu-gl-pci by default. It is recommended that you change the display card of existing QEMU backend Linux VMs to this card in order to take advantage of the improved renderer backend. This should result in improved performance in GUI rendering. Note that some applications (particularly 3D applications) may lock up or crash UTM and if you are experiencing issues, you can go back to virtio-ramfb or virtio-vga.
Describe the issue The newly added GL support in 2.2.2 beta is not working properly.
virtio-gpu-gl-device
gets stuck at a black screen before even reaching firmware.virtio-gpu-gl-pci
runs really slowly, as if each individual GL draw operation is gated by a vsync or flip operation, then eventually errors out when the guest reaches the GPU state.virtio-ramfb
seems to run as if its "accelerated" GL is actually a softgpu.Configuration
Crash log Ah, there is a crash: QEMULauncher_2021-09-03-184719_Christophers-Mac-mini.crash.zip QEMULauncher_2021-09-05-134849_Christophers-Mac-mini.crash.zip
Debug log [missing]
Upload VM Here is the config file for the VM: config.plist.zip