Open kFYatek opened 2 years ago
I've got this issue as well. Were you ever able to resolve it?
Here's what I see happens when you try 4K:
So the cmd type is not handled here and the return value is STATUS_INVALID_TOKEN:
I'm not familiar with the code but next step would be to add more logging, recompile, and use a patched driver to get more information.
Environment:
When I resize the Windows guest's display to any resolution up to 3840x2048 (which is exactly 7.5*1024*1024 pixels - not sure if that's relevant), I have a clear display, but if I try to go any bigger (which unfortunately includes standard 4K, i.e. 3840x2160), the whole VM window goes black and only the mouse cursor is rendered properly.
Note that a Linux (Ubuntu 22.04 to be precise) guest with identical VM config works fine at 4K and beyond (I tried 6720x3780 and it's fine), so I'm pretty sure this is indeed an issue with the Windows driver.
This is still better than the upstream virtio driver which seems to be limited to 16MiB framebuffer, which would cap it around ~1500p, but not being able to run Windows full screen on a 4K display at a native resolution feels somewhat limiting. Even worse, this bug is also triggered when trying to maximize the Windows VM on the MBP's internal display in Retina mode, when the display is set to "More space" - the framebuffer is then, excluding the notch area, 3600x2250, which is still above that apparent 7.5 mebipixel limit.