Opened 5 years ago
Last modified 5 years ago
#18689 new defect
HiDPI detection does not work after sleep and switching monitor.
| Reported by: | klas | Owned by: | |
|---|---|---|---|
| Component: | 3D support | Version: | VirtualBox 6.0.8 |
| Keywords: | Cc: | ||
| Guest type: | Windows | Host type: | Mac OS X |
Description
I'm running a MacBook Pro (2018) with a Windows 10 guest. Before version 6 scaling used to work fine all the time. Now it's wrong almost all the time. At first I tried using the new VBoxSVGA adapter, but since the graphics are very broken #18397 I had to change it to the old VBoxVGA adapter, which works much better. Running without 3D acceleration is out of the question since the performance is totally unusable.
I usually run the VM in fullscreen at one of four virtual macOS desktops.
Usually I'm switching a lot between using the built-in retina display and two different external non-retina displays (one at the time) In between the switching I usually put my mac into sleep. After waking it up, the windows guest usually have very incorrect scaling. Sometimes it's half the size (half-pixels) and sometimes it's the double size (double pixels) and sometimes it's correct size (normal pixels).
The solution is to switch between 100% scaling and 200% scaling or vice versa. That works most of the time unless it's in half-size (half pixels), then I have to shut down and restart the VM. I'm not sure why the 200% mode is called "auto-scale" since it never auto scales from a user perspective.
I also tried switching between fullscreen and normal mode, but that makes no difference.
On top of this, the VM screen is black some times after waking up. The only solution to that is to try a ACPI-shutdown and if that fails power off the VM and then restart.
Attachments (8)
Change History (9)
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 09.31.55.png added |
|---|
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 10.56.37.jpg added |
|---|
Dragging window between desktops (black screen)
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 11.02.09 (2).jpg added |
|---|
Switching host screen to HiDPI in multimonitor (Normal DPI/HiDPI)
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 11.05.50.jpg added |
|---|
Using dual monitor HiDPI (NormalDPI/HiDPI), then to sleep, then disconnect HiDPI, then awake to Normal DPI
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 11.13.27.jpg added |
|---|
HiDPI, sleep, switch to NormalDPI, awake
comment:1 by , 5 years ago
The effects are very various and it's hard to get all the screenshots. Sometimes the vm desktop is too small, sometimes too large, sometimes wrong scaling, sometimes wrong cursor size or misaligned cursor (doesn't click where the cursor is), sometimes corrupted graphics.
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-04 kl. 11.28.52.jpg added |
|---|
Normal DPI screen at 200% after various switching (should not be normal size)
by , 5 years ago
| Attachment: | Skärmavbild 2019-06-19 kl. 10.41.33.jpg added |
|---|
Normal DPI screen at 100% (showing at 50%). Case: normal DPI -> sleep -> HiDPI (without showing the VM screen) -> sleep -> normal DPI


Double size