VirtualBox

Opened 6 years ago

Last modified 4 years ago

#17369 new defect

3D Acceleration and Unscaled HiDPI Output bug

Reported by: sjchoi Owned by:
Component: GUI Version: VirtualBox 5.2.2
Keywords: Cc:
Guest type: Windows Host type: Mac OS X

Description

I have three problems.

[1] "Enabling 3D Acceleration" causes screen detach.

See "3D Acc.png". Steps to reproduce:

1) Install a Windows 10 guest on a Mac host. 2) Enabling 3D Acceleration in Settings > Display > Screen. 3) Boot the Windows guest.

[2] "Enable 3D Acceleration" and "Use Unscaled HiDPI Output" causes screen detach and distortion.

See "3D Acc & Unscaled HiDPI.png". Steps to reproduce:

1) Install a Windows 10 guest on a Mac host. 2) Enabling 3D Acceleration and Use Unscaled HiDPI Output in Settings > Display > Screen. 3) Boot the Windows guest.

[3] Using Unscaled HiDPI Output in Integrated Graphics is very slow.

Steps to reproduce:

1) Install a Windows 10 guest on a Mac host. 2) Use Unscaled HiDPI Output in Settings > Display > Screen. 3) Uncheck 3D Acc to use Internal Graphics. 4) Boot the Windows guest. 5) Set "Custom Scaling" to 200% in Settings > System > Display > Scale and layout in Windows. 6) Log out and in to apply.

In this state, the virtual machine is very slow and laggy. Can there be any optimizations so that I can use a retina Win 10 guest without any lag?

7) It goes well if disable "Custom Scaling" in the guest and set "VirtualBoxVM.app" as "Open in Low Resolution" in the host. See "Low Res.png".

* Info * Host Device

MacBook Pro (15-inch, 2017) aka MacBookPro14,3

Host GPU

Radeon Pro 560 4 GB Intel HD Graphics 630 1536 MB

Host OS

High Sierra 10.13.2 (17C88)

Guest Addition and Extension Pack installed

Attachments (3)

1. 3D Acc.png (295.2 KB ) - added by sjchoi 6 years ago.
3D Acc
2. 3D Acc & Unscaled HiDPI.png (319.6 KB ) - added by sjchoi 6 years ago.
3D Acc & Unscaled HiDPI
3. Low Res.png (358.4 KB ) - added by sjchoi 6 years ago.
Low Res

Download all attachments as: .zip

Change History (8)

by sjchoi, 6 years ago

Attachment: 1. 3D Acc.png added

3D Acc

by sjchoi, 6 years ago

3D Acc & Unscaled HiDPI

by sjchoi, 6 years ago

Attachment: 3. Low Res.png added

Low Res

comment:1 by Socratis, 6 years ago

Parts 1 and 2 are duplicates of #17168: "VB display frame and content are no longer bound in High Sierra (osx 10.13)". There are four known workarounds for this, until someone get around and fixes their bug (Apple, Qt, or VirtualBox):

  • Minimize/Restore the VM window.
  • Hide/Show the VM window.
  • Menu Display » Adjust window size (HostKey+A).
  • Disable 3D acceleration.

All these four permanently re-attach the window to the border. See also:

Part 3, I'm not quite sure what you're referring to; that disabling the acceleration makes the guest slower? Shouldn't that be rather... obvious?

PS. For future reference, you didn't need to duplicate your own #17368, just because you didn't include the attachments on the first pass, you can always attach things later... ;)

comment:2 by sjchoi, 6 years ago

Thanks for your reply. I found somebody reported but I didn't notice that there were some workarounds.

For Part 3, I meant that even if using internal graphics, it is fast when retina setting(Open in Low Resolution) is off. But turning it on makes the machine very slow. But the only difference is upscaling for Retina display. Many native MacOS applications work very fast with internal graphics. I guess that there are some problems on optimization for Retina display in source code or virtual machine settings. So it may be great if I can run my virtual machine with internal graphics in retina resolution.

Last edited 6 years ago by sjchoi (previous) (diff)

comment:3 by Socratis, 6 years ago

I don't see the connection between the "Open in Low Resolution" and the "internal graphics" (by which I assume you mean the built-in low power GPU). There's nothing that I've read that connects the two. As they say in Wikipedia, [Citation needed]...

Even if there was a connection, enabling the "Low Resolution" option in the Finder » GetInfo for VirtualBox, has absolutely nothing to do with the performance of the VM. This is not the process under which a VM is running; the process that "runs" a VM is called VirtualBoxVM. Just launch your VM and check your ActivityMonitor.app.

I think that there is a misunderstanding in your part on what exactly is going on. May I suggest something? It's usually better and faster, if issues like this one (configuration, question) get first addressed in the VirtualBox forums. More than 95% of the issues are resolved over there, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of. For example, yours is most probably not a bug and someone from the developers has to deal with it and close it as "Invalid".

So, if you can, please let's continue this discussion in the VirtualBox on Mac OS X Hosts section of the forums. A lot more people visit the forums and might benefit from it. Please be sure to mention that you came from the bug tracker and include the ticket number.

comment:4 by Peter Meiser, 6 years ago

I can see the same distortions in a Ubuntu 16.04/18.04 VM with Unity Desktop if unscaled hidpi output is enabled (VM host is macOS 10.13.4). Just run glxgears or cheese to see the issue.

comment:5 by Sergei Reznikov, 4 years ago

Looks like a dupe of #11606.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use