VirtualBox

Opened 12 years ago

Closed 11 years ago

Last modified 10 years ago

#11021 closed defect (fixed)

Guest display is offset on retina display when 3d acceleration is enabled => Fixed in SVN

Reported by: josh2112 Owned by:
Component: 3D support Version: VirtualBox 4.2.0
Keywords: retina aero wddm Cc:
Guest type: Windows Host type: Mac OS X

Description

Guest is Windows 7 with the experimental WDDM display driver (not the basic Direct3D driver) installed. Host is OS X 10.8.2 on a MacBook Pro with Retina display. When Aero is activated, the Windows 7 display suddenly gets pushed up by about 25 pixels. It's like instead of drawing the Win 7 video driver output in the content area of the window, VirtualBox starts drawing it at the origin of the window so that it covers the title bar. Screenshots are attached.

This affects mouse interaction too, mouse position is registered on where the window content SHOULD be, not where it is. So you must click below a button to register a click on the button.

Interestingly enough, if you move the VB window to an external (non-retina) display, it corrects itself. If you move the window back onto the Retina display, the problem reoccurs.

This also happens on my Windows 8 guest.

Attachments (3)

osx 10.8 - vbox 4.3 - win 7 aero.jpg (341.0 KB ) - added by josh2112 12 years ago.
Win 7 on retina display host with Aero enabled
osx 10.8 - vbox 4.3 - win 7 no aero.jpg (312.2 KB ) - added by josh2112 12 years ago.
Same with Aero disabled
win7 with aero osx 10.8.2 vbox 4.2.2.png (195.2 KB ) - added by rcarz 12 years ago.

Download all attachments as: .zip

Change History (18)

by josh2112, 12 years ago

Win 7 on retina display host with Aero enabled

by josh2112, 12 years ago

Same with Aero disabled

comment:1 by rcarz, 12 years ago

I'm having the same issue on a MacBook Pro Retina with OS X 10.8.2 and VB 4.2.2. If I disable 3D acceleration then it renders properly.

comment:2 by jbylsma, 12 years ago

I can confirm this issue in Ubuntu 12.04 Desktop, both 32 and 64, as well as Fedora 17 x86_64. Another workaround is to use VBoxManage to disable the status bar:

VBoxManage setextradata global GUI/Customizations noStatusBar

This prevents the offset title bar behavior.

comment:3 by Luis Alves, 12 years ago

Version 0, edited 12 years ago by Luis Alves (next)

comment:4 by epoyart, 11 years ago

I have the same problem in a MacBook Pro Retina 15 inch, Early 2013 (MacBookPro10,1).

comment:5 by jfbenckhuijsen, 11 years ago

Confirming on MacBook Pro Retina 15 inch. Guest OS is LinuxMint, 3d is enabled. So the issue is not specific to a Windows Guest OS.

comment:6 by ip6li, 11 years ago

Confirming to 4.2.16 r86992 (same for host and guest additions) an Windows 7 guest Host: Mac OS 10.8.4 on MacBook Pro Retina 15-inch, Early 2013 Disabling 3d for guest is a preliminary workaround. 3d enabled make guest unusable.

comment:7 by VBox, 11 years ago

Problem verified on a new (Nov.2013) 15" MacBook Pro with Retina display and Mavericks OS 10.9

VirtualBox version 4.3.2

Guest OS is Linux Mint 15 64-bit.

Offset goes away if I move the VB window to an external non-Retina display, or if I turn off 3D acceleration when using the Retina display.

Last edited 11 years ago by VBox (previous) (diff)

comment:8 by bl4cklight, 11 years ago

This bug has been going on for more than a year (on a macbook pro retina, no matter the version of VB or Mountain Lion / Mavericks )

However, here is a workaround to get the 3D acceleration working. I did not yet test it over a long period of time, and its probably lost when upgrading to a new version of VB.

You need to "disable" the retina display for the app, if you are ready to sacrifice this aspect.

For a regular application this is done by going in the information panel, and checking the "Open in low resolution" option. However for virtualbox, this is not done on the "VirtualBox" entry in your application folder, but in one of the applications hidden within the package.

  • Right click on virtualbox application and "show package contents"
  • In Contents/Resources/VirtualBoxVM.app => edit the settings this application to select "Open in low resolution"

... and then, your display is faster, and the 3D acceleration works at the proper offset! (tested only with a CentOS linux)

comment:9 by demmeln, 11 years ago

The workaround by jbylsma is ok, but it would be great to see a real solution to this ongoing issue.

comment:10 by misha, 11 years ago

We've reproduced the issue here, and are working on it.

comment:11 by misha, 11 years ago

We have fixed this issue in our repository. Please give a try the toe following test build and let me know whether it solves the issue for you:
https://www.virtualbox.org/download/testcase/VirtualBox-4.3.5-91229-OSX.dmg Extension pack: https://www.virtualbox.org/download/testcase/Oracle_VM_VirtualBox_Extension_Pack-4.3.5-91228.vbox-extpack

comment:12 by DesertWolf, 11 years ago

Hello!, I have tested out the version of VB provided on my Mac book pro with retina display and it is fixed for me :)

Thanks!

comment:13 by misha, 11 years ago

Summary: Guest display is offset on retina display when 3d acceleration is enabledGuest display is offset on retina display when 3d acceleration is enabled => Fixed in SVN

Thanks for the feedback!

comment:14 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: newclosed

The fix is part of VBox 4.3.6.

comment:15 by SpacemanSpiff, 10 years ago

withdrawn (Wrong thread)

Last edited 10 years ago by SpacemanSpiff (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette