You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
5.0.9 regression: Retina mode appears blurry in Windows and Debian #8191
Enable Retina mode for a virtual display (currently tested on Windows and Debian)
Start the VM and look at text and other UI elements
Expected behavior
Text and UI elements should appear sharp with Retina Mode enabled, as they did before the update.
Actual behavior
The guest display looks noticeably softer or blurrier, including text.
Below are two screenshots for comparison: one from 5.0.8, and one from 5.0.9. Both displays are set to virtio-gpu-gl-pci with 3D acceleration enabled, Retina Mode enabled, and outputting 3024x1898.
Same thing on my Windows 11 installation. Visuals got significantly blurrier on all tested settings upon updating to 5.0.9 (though the refresh rates did update properly, I can get the full 100Hz of my external monitor).
Thanks for the side-by-side screenshots. I reproduced this and found the cause.
Tested: MacBook Pro (M2 Max) with its built-in Retina display, macOS 27.2, the 5.0.8 and 5.0.9 releases. Configuration matching yours: QEMU, an Ubuntu 26.04 arm64 GNOME guest, virtio-gpu-gl-pci with GPU acceleration, Retina mode on, dynamic resolution on. I captured the VM window at full pixel size and measured edge contrast (mean difference between neighbouring pixels) over the same text in the guest's top bar:
Build
horizontal / vertical
5.0.8
19.7 / 12.3
5.0.9
14.6 / 9.6 (about 25% softer)
5.0.9 code + fix
19.7 / 12.3
Cause: since 5.0.9 the QEMU display window draws from a CAMetalDisplayLink, which keeps the Metal view's own draw loop paused, and that loop is the only place MTKView copies its drawable size to its layer. The layer therefore kept the size it had when the window opened (logged here: 1600x1264) while the guest image was 1280x800. Every frame was rendered at the wrong size and scaled into the window, so a Retina display was never 1:1 (Platform/macOS/Display/VMDisplayQemuMetalWindowController.swift, metalDisplayLink(_:needsUpdate:), with Platform/macOS/Display/VMMetalView.swift). This is on the host side, so it affects every guest, which is consistent with the Windows 11 report in the comment above.
Fix:#8195 keeps the layer's drawable size in step with the view whenever the view's size or scale changes while the display link draws. It also skips a frame taken at the old size during a resize. With it the measurement matches 5.0.8 exactly, and Retina mode off still renders normally. Screenshots and details are in the PR.
I have the same problem. This is obviously a major regression and I wonder how this even passed QA.
Test on Macbook Pro M1 Pro host with Ubuntu 26.04.1 as guest OS. Desired behaviour: Setting 4k resolution (16:9) with retina mode enabled produces crisp image on external monitor. Actual behaviour: No HiDPI output and visuals look grainy
Since @osy closed this as completed via a change, I can assume this is going to be addressed in a patch release (some 5.0.10 or 5.1.0 update, perhaps in beta).
Activity
trey-a-12 commentedon Nov 17, 2026
Same thing on my Windows 11 installation. Visuals got significantly blurrier on all tested settings upon updating to 5.0.9 (though the refresh rates did update properly, I can get the full 100Hz of my external monitor).
UTMapp-bot commentedon Nov 17, 2026
Thanks for the side-by-side screenshots. I reproduced this and found the cause.
Tested: MacBook Pro (M2 Max) with its built-in Retina display, macOS 27.2, the 5.0.8 and 5.0.9 releases. Configuration matching yours: QEMU, an Ubuntu 26.04 arm64 GNOME guest,
virtio-gpu-gl-pciwith GPU acceleration, Retina mode on, dynamic resolution on. I captured the VM window at full pixel size and measured edge contrast (mean difference between neighbouring pixels) over the same text in the guest's top bar:Cause: since 5.0.9 the QEMU display window draws from a
CAMetalDisplayLink, which keeps the Metal view's own draw loop paused, and that loop is the only placeMTKViewcopies its drawable size to its layer. The layer therefore kept the size it had when the window opened (logged here: 1600x1264) while the guest image was 1280x800. Every frame was rendered at the wrong size and scaled into the window, so a Retina display was never 1:1 (Platform/macOS/Display/VMDisplayQemuMetalWindowController.swift,metalDisplayLink(_:needsUpdate:), withPlatform/macOS/Display/VMMetalView.swift). This is on the host side, so it affects every guest, which is consistent with the Windows 11 report in the comment above.Fix: #8195 keeps the layer's drawable size in step with the view whenever the view's size or scale changes while the display link draws. It also skips a frame taken at the old size during a resize. With it the measurement matches 5.0.8 exactly, and Retina mode off still renders normally. Screenshots and details are in the PR.
secp8x32 commentedon Nov 17, 2026
Experiencing the same display-blurring issue in UTM 5.0.9, regardless of whether Retina Mode is enabled or disabled.
Host configuration:
Tested guest operating systems:
The issue occurs with both guest operating systems and in both Retina Mode configurations. I've attached screenshots for reference.
Stefidar commentedon Nov 17, 2026
I can also confirm that it happens with all non retina resolutions as well... It seems none is testing UTM before releasing anymore...
ideasman69 commentedon Nov 17, 2026
I wish mine looked like yours. My VMs have always looked perfect.. updated to the latest release last night and this is what I'm getting now:
Stefidar commentedon Nov 17, 2026
I am getting the exact same on all resolutions, (non retina), on Windows 11 and Ubuntu.
thesimonsaysthis commentedon Nov 17, 2026
I have the same problem. This is obviously a major regression and I wonder how this even passed QA.
Test on Macbook Pro M1 Pro host with Ubuntu 26.04.1 as guest OS. Desired behaviour: Setting 4k resolution (16:9) with retina mode enabled produces crisp image on external monitor. Actual behaviour: No HiDPI output and visuals look grainy
freebrowser1 commentedon Nov 17, 2026
Same issue here when using 5.09 and Windows 11 24H2 on Macbook Pro M5 Max even on non-retina display.
freebrowser1 commentedon Nov 17, 2026
Is there a fix for this ?
trey-a-12 commentedon Nov 17, 2026
Since @osy closed this as completed via a change, I can assume this is going to be addressed in a patch release (some 5.0.10 or 5.1.0 update, perhaps in beta).
display(macOS): keep Retina displays sharp when the display link draws
display(macOS): revert "fix 60 Hz cap on ProMotion screens"