Skip to content

5.0.9 regression: Retina mode appears blurry in Windows and Debian #8191

Closed

Description

@mixieculez

What happened?

Steps to reproduce

  1. Enable Retina mode for a virtual display (currently tested on Windows and Debian)
  2. 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.

5 0 8 5 0 9

UTM version

5.0.9

Mac and macOS version

MacBook Pro M2 Pro (2023), macOS 27.2.1

VM type

QEMU

Guest operating system

Windows 11 26H2 ARM64 / Debian 14 Forky ARM64

Did this work before?

Worked in 5.0.8

Where did you get UTM?

GitHub release or getutm.app

Logs

debug.log

VM configuration

config.plist.zip

Activity

  1. added theissue type on Nov 17, 2026
  2. trey-a-12 commented on Nov 17, 2026

    @trey-a-12

    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).

  3. UTMapp-bot commented on Nov 17, 2026

    @UTMapp-bot
    Collaborator

    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.

  4. secp8x32 commented on Nov 17, 2026

    @secp8x32

    Experiencing the same display-blurring issue in UTM 5.0.9, regardless of whether Retina Mode is enabled or disabled.

    Host configuration:

    • Mac mini M4
    • macOS 27.2.1

    Tested guest operating systems:

    • Fedora 45 KDE
    • Debian 13 XFCE

    The issue occurs with both guest operating systems and in both Retina Mode configurations. I've attached screenshots for reference.

    image image
  5. Stefidar commented on Nov 17, 2026

    @Stefidar

    I can also confirm that it happens with all non retina resolutions as well... It seems none is testing UTM before releasing anymore...

  6. ideasman69 commented on Nov 17, 2026

    @ideasman69

    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:

    Screenshot 2026-11-17 at 8 36 04 pm
  7. Stefidar commented on Nov 17, 2026

    @Stefidar

    I am getting the exact same on all resolutions, (non retina), on Windows 11 and Ubuntu.

  8. thesimonsaysthis commented on Nov 17, 2026

    @thesimonsaysthis

    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

  9. freebrowser1 commented on Nov 17, 2026

    @freebrowser1
    Screenshot 2026-11-17 at 14 13 01

    Same issue here when using 5.09 and Windows 11 24H2 on Macbook Pro M5 Max even on non-retina display.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>Backend</key>
    	<string>QEMU</string>
    	<key>ConfigurationVersion</key>
    	<integer>4</integer>
    	<key>Display</key>
    	<array>
    		<dict>
    			<key>DownscalingFilter</key>
    			<string>Linear</string>
    			<key>DynamicResolution</key>
    			<true/>
    			<key>Hardware</key>
    			<string>virtio-vga</string>
    			<key>NativeResolution</key>
    			<false/>
    			<key>UpscalingFilter</key>
    			<string>Nearest</string>
    		</dict>
    	</array>
    	<key>Drive</key>
    	<array>
    		<dict>
    			<key>Identifier</key>
    			<string>DDA2E904-BE9D-435A-9B4B-8DE8C22A0289</string>
    			<key>ImageName</key>
    			<string>win11-x64.qcow2</string>
    			<key>ImageType</key>
    			<string>Disk</string>
    			<key>Interface</key>
    			<string>IDE</string>
    			<key>InterfaceVersion</key>
    			<integer>0</integer>
    			<key>ReadOnly</key>
    			<false/>
    		</dict>
    		<dict>
    			<key>Identifier</key>
    			<string>684204FC-AFD9-40FB-A223-E8F41DD4AC05</string>
    			<key>ImageType</key>
    			<string>CD</string>
    			<key>Interface</key>
    			<string>IDE</string>
    			<key>InterfaceVersion</key>
    			<integer>0</integer>
    			<key>ReadOnly</key>
    			<true/>
    		</dict>
    	</array>
    	<key>Information</key>
    	<dict>
    		<key>Icon</key>
    		<string>Windows7</string>
    		<key>IconCustom</key>
    		<false/>
    		<key>Name</key>
    		<string>Windows XP PRO</string>
    		<key>UUID</key>
    		<string>47E2E522-D72F-4775-90E9-07507323B5D0</string>
    	</dict>
    	<key>Input</key>
    	<dict>
    		<key>MaximumUsbShare</key>
    		<integer>3</integer>
    		<key>UsbBusSupport</key>
    		<string>3.0</string>
    		<key>UsbSharing</key>
    		<false/>
    	</dict>
    	<key>Network</key>
    	<array>
    		<dict>
    			<key>Hardware</key>
    			<string>e1000</string>
    			<key>IsolateFromHost</key>
    			<false/>
    			<key>MacAddress</key>
    			<string>12:FC:E3:B2:57:49</string>
    			<key>Mode</key>
    			<string>Emulated</string>
    			<key>PortForward</key>
    			<array/>
    		</dict>
    		<dict>
    			<key>Hardware</key>
    			<string>e1000</string>
    			<key>IsolateFromHost</key>
    			<false/>
    			<key>MacAddress</key>
    			<string>9A:FA:06:48:FC:9A</string>
    			<key>Mode</key>
    			<string>Shared</string>
    			<key>PortForward</key>
    			<array/>
    		</dict>
    	</array>
    	<key>QEMU</key>
    	<dict>
    		<key>AdditionalArguments</key>
    		<array/>
    		<key>BalloonDevice</key>
    		<false/>
    		<key>DebugLog</key>
    		<true/>
    		<key>Hypervisor</key>
    		<true/>
    		<key>InterruptRemapping</key>
    		<true/>
    		<key>MemoryLock</key>
    		<true/>
    		<key>PS2Controller</key>
    		<false/>
    		<key>RNGDevice</key>
    		<true/>
    		<key>RTCLocalTime</key>
    		<true/>
    		<key>TPMDevice</key>
    		<false/>
    		<key>TSO</key>
    		<false/>
    		<key>UEFIBoot</key>
    		<true/>
    	</dict>
    	<key>Serial</key>
    	<array/>
    	<key>Sharing</key>
    	<dict>
    		<key>ClipboardSharing</key>
    		<true/>
    		<key>DirectoryShareMode</key>
    		<string>WebDAV</string>
    		<key>DirectoryShareReadOnly</key>
    		<false/>
    	</dict>
    	<key>Sound</key>
    	<array>
    		<dict>
    			<key>Hardware</key>
    			<string>intel-hda</string>
    		</dict>
    	</array>
    	<key>System</key>
    	<dict>
    		<key>Architecture</key>
    		<string>x86_64</string>
    		<key>CPU</key>
    		<string>default</string>
    		<key>CPUCount</key>
    		<integer>8</integer>
    		<key>CPUFlagsAdd</key>
    		<array/>
    		<key>CPUFlagsRemove</key>
    		<array/>
    		<key>ForceMulticore</key>
    		<true/>
    		<key>JITCacheSize</key>
    		<integer>0</integer>
    		<key>MemorySize</key>
    		<integer>6144</integer>
    		<key>Target</key>
    		<string>q35</string>
    	</dict>
    </dict>
    </plist>
    
    
  10. freebrowser1 commented on Nov 17, 2026

    @freebrowser1

    Is there a fix for this ?

  11. trey-a-12 commented on Nov 17, 2026

    @trey-a-12

    @freebrowser1 said:
    Is there a fix for this ?

    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).

  12. added a commit that references this issue on Nov 17, 2026
    9f10688
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions