-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Graphics artifacts on Apple Silicon host (high screen tearing and mouse disappearing) #2569
Comments
Is this before or after installing the graphics drivers? Or both? |
Both, during configuration it wasn't that crazy, but after configuration, even without installing drivers and rebooting, this stuff happens |
Also I forgot to mention that I've tried also previous versions of UTM, but I have the same issue |
Same issue on all versions. |
I see this same exact artifact, but only when trying to watch a video. Using a standalone qemu, I don’t see this issue. I’ve linked my qemu settings in #2557 |
I see the same problem under MacOS 11.4 with Apple Silicon. It seems to be tied to using virtio-ramfb display card. Using ramfb is better, though not perfect. Of note using ACVM with the virtio-gpu drivers doesn't appear to have that problem. Though I can't adjust the resolution as the display settings immediately close with those drivers. See https://github.com/ubenmackin/ACVM |
I tried also older versions and they all have the same problem. I don't remember which versions I tried exactly (I believe they were 2.0.15, 2.0.16, 2.0.17, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.25 and 2.0.28), but I had the same tearing issue |
Same issue here - using 2.1.1 - the tearing is bad and the mouse is always disappearing. Edit: Changing OVMF boot settings to highest resolution helped with the mouse, but I am still getting mad tearing. |
This comment has been minimized.
This comment has been minimized.
Can confirm screen tearing on current and previous versions of UTM and MacOS since 11.2. I just assumed that this was due to UTM not fully mature for Apple silicon. Mouse disappearing is definitely a very big problem for me personally. |
Since ACVM uses "ramfb" video device, have you tried changing the Display configuration to that? By the way, when using ramfb you will have low resolution, unless you use custom EFI (you want
This indicates you were using |
Yes I tried to switch the graphics, but I think it didn't even show the booting screen. Anyway I'm going to try both solutions today. |
I don't have Apple Silicon Mac to test so my results may differ because of that. Mine shows the boot screen fine, however I am using my custom EFI. (you want QEMU_EFI-AARCH64-HighRes-UTM-logo.fd, import as "BIOS" or "Disk Image" with "PC System Flash" interface): https://chrisp.cafe/OVMF/ Note that that file is going to overall reduce performance, as it was compiled in Debug mode. It's not intended as a permanent solution. |
Ok, I tried and it is way better than virtio-ramfb. I will still try the other method you mentioned, to see if it works better |
Ok, just tried the other method and it still has tearing and disappearing mouse. Only RAMFB has the lowest amount of tearing and the mouse does not disappear |
Can confirm this issue on M1, OS 11.4, UTM 2.1.1 (had this also with 2.0.27), virtio-ramfb, Windows 10 ARM64 Build 21354. Also noticed that the cursor icon colors are inverted (blue loading animation in cursor is orange, the cursor itself is still white). For now the best workaround I've come up with is to Port forward :3389->:3389 and use Microsoft Remote Desktop app to RDP locally into the virtual machine. |
Not sure if this is Windows-specific, because this also happens when running Ubuntu 20.04 ARM64 guest on Apple M1, OS 11.4, UTM 2.1.1 (and older versions of UTM). |
I am having similar problem on MacBook Air (Big Sur 11.4) for Ubuntu 20.04 ARM 64 as guest. |
This issue seems to be universal across all virtual machines. |
Having the same issue when using a Debian based VM. MacOS 11.4, UTM v2.1.1 , Apple Silicon. Tried to install the SPICE tools and switching from virtio-ramfb to virtio-gpu-pci. I don't have the issue with bare QEMU. It is not completely fluent then but there is no tearing and it taking seconds to images the window when it has moved position. I installed this patch for normal QEMU, maybe it will work when incorporating it with UTM: https://github.com/knazarov/homebrew-qemu-virgl |
I'm experiencing the same issues on MacBook Air with M1 structure and 16 GB of memory. |
Just fixed my issue with Kali Linux by changing the Settings>Display>Emulated Display Card to |
Describe the issue
Windows 10 boots and I'm able to set it up, but there are many tearing problems, and sometimes the mouse cursor disappears, and this just in idle and by moving some windows. I have not encountered these problems by using ACVM
Here are some screenshots:
In the last screenshot is difficult to spot, but I'm dragging my mouse around, and the selecting area is showing, but not the cursor
Configuration
Debug log
debug.log
Upload VM
VM made with Gallery guide for windows 10 ARM
The text was updated successfully, but these errors were encountered: