VirtualBox

Ticket #10860 (reopened defect)

Opened 20 months ago

Last modified 34 hours ago

Full resolution not exposed to Linux guest

Reported by: dsvensson Owned by:
Priority: major Component: GUI
Version: VirtualBox 4.1.20 Keywords: retina hidpi
Cc: Guest type: Linux
Host type: Mac OS X

Description

When using VirtualBox on a MacBook Pro Retina, only half the resolution is exposed to, at least, Linux guests. This causes the fonts to be blurry in the guest OS.

To verify this, install Linux, and go to fullscreen, type xrandr and notice the resolution is set to 1440x900.

To compare with VMWare, full Retina mode is supported:  http://www.vmware.com/products/fusion/features.html#approved

This exposes the current full resolution to the guest, which in the default host retina mode would mean the guest sees 2880x1800 resolution and has to deal with it on its own accordingly.

Attachments

VBox.log Download (58.5 KB) - added by tdy 5 months ago.
VBox_log_fullscreen_on_2560x1600mbp.log Download (61.7 KB) - added by GabrielCox 4 months ago.
VB 4.3.4 Win XP Guest Full Screen @ 1280x800 on 2560x1600 Mac
rmbp13_vbox.log Download (113.6 KB) - added by chrisb 2 months ago.
VBox.2.log Download (69.9 KB) - added by pippijn 34 hours ago.
VirtualBox VM 4.3.10 r93012

Change History

comment:1 Changed 20 months ago by dsvensson

The VirtualBox version is actually the 4.2 beta but it couldn't be selected.

comment:2 Changed 20 months ago by frank

Right, and the RC page asked to report Beta / RC bugs in the forum!

comment:3 Changed 20 months ago by frank

  • Status changed from new to closed
  • Resolution set to duplicate

And actually this problem was already reported before, see #10848.

comment:4 Changed 20 months ago by dsvensson

I've seen #10848 but that only describes the host UI issues which have been fixed (at least the hidpi-flag in Info.plist) in the 4.2 beta. This issue is about exposing the 1-1 resolution to the guest OS.

Version 0, edited 20 months ago by dsvensson (next)

comment:5 Changed 20 months ago by dsvensson

  • Status changed from closed to reopened
  • Resolution duplicate deleted

comment:6 Changed 13 months ago by tdy

Any update on this? I'm still getting 1440x900 res in Linux with the guest additions installed.

comment:7 Changed 5 months ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

If this is still a problem with VBox 4.3.2, please reopen this ticket. In that case, please attach a VBox.log file of a VM session running on VBox 4.3.2 with 4.3.2 Guest Additions installed.

Changed 5 months ago by tdy

comment:8 Changed 5 months ago by tdy

  • Status changed from closed to reopened
  • Resolution fixed deleted

VBox.log is attached for VBox 4.3.2 with 4.3.2 Guest Additions installed, vboxguest/vboxsf/vboxvideo modules loaded, and VBoxClient-all executed.

The highest exposed resolution from xrandr is still 1440x900.

Last edited 5 months ago by tdy (previous) (diff)

comment:9 Changed 5 months ago by stevenleeg

Same issue for me, I'm only able to set the resolution to 1440x900 on the 15" Retina MBP.

comment:10 Changed 4 months ago by demmeln

It would be great to see if this is being worked on, or what exactly the issue is.

comment:11 Changed 4 months ago by frank

I would like to see more VBox.log files from VM sessions where this problem manifests. So far we are unable to reproduce it.

comment:12 Changed 4 months ago by GabrielCox

Same here VBox 4.3.4 on a 13" Macbook Pro Retina with 2560x1600 resolution.
Guest (Win 7 w/128MB VRAM) shows up as 1280x800 when full screen.
Info.plist has the following key set: <key>NSHighResolutionCapable</key> <true/>
Additional Log Attached.

Last edited 4 months ago by GabrielCox (previous) (diff)

Changed 4 months ago by GabrielCox

VB 4.3.4 Win XP Guest Full Screen @ 1280x800 on 2560x1600 Mac

comment:13 Changed 4 months ago by GabrielCox

Correction on last attachment labeled VBox_log_fullscreen_on_2560x1600mbp.log: The Guest OS is Win7-64, not WinXP

Changed 2 months ago by chrisb

comment:14 Changed 2 months ago by chrisb

rmbp13_vbox.log shows a 13" MBPR with Virtualbox reporting a fullscreen max resolution of 1280x800 - possible guilty line:

01:05:03.646244 VMMDev::SetVideoModeHint: got a video mode hint (1280x800x0)@(0x0),(1;0) at 0

It ought to be easy to reproduce - this is a completely clean install of debian-7.4.0-amd64-xfce-CD-1.iso with guest additions installed following  the instructions.

comment:15 Changed 7 weeks ago by Armada651

@frank I think you may be misunderstanding the issue because you should have no trouble reproducing it.

On Mac OS X retina displays 1 pixel is normally scaled up to 4 pixels for application which do not support high dpi. Qt has a nice article explaining the problem:  https://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/

VirtualBox already supports high-dpi for much of the UI, but not for the guest display. It seems it uses the device-indepedent pixels (1px = 4px) instead of the physical pixels (1px = 1px). This results in much lower image quality as everything is scaled by a factor of 4.

Changed 34 hours ago by pippijn

VirtualBox VM 4.3.10 r93012

comment:16 Changed 34 hours ago by pippijn

I can confirm this happens on the latest VirtualBox 4.3.10 r93012. I attached another VBox.log.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use