Open lesiw opened 3 weeks ago
So I am learning about macOS rendering but my understanding is the following:
backingScaleFactor
returns the scale of the framebuffer NOT the physical scale factor. See: https://stackoverflow.com/a/54487166 This seems to always be 1.0 or 2.0.So unless someone has a better way, I don't think it is possible to fix this from UTM...
Describe the issue
I'm running my M3 Air (native res: 2560x1664) at a display resolution of 1710x1112.
When I install
spice-vdagent
, fullscreen the VM, and runxrandr --output Virtual-1 --auto
,xrandr
reports a resolution of 1710x1069.If I check the "retina" checkbox and perform the same actions, I get a resolution of exactly 2x, or 3420x2138.
Neither of these are the native resolution of my M3 Air.
This impacts integer scaling: it seems as though UTM is operating on the fake, 1710x1112 resolution when performing integer scaling, as it results in uneven pixelation at 1280x768, which should be nearest-neighbor upscaled cleanly (2x) to a width of 2560.
Configuration