Mac guest resolution > 1920x1200 ?

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.

Mac guest resolution > 1920x1200 ?

Postby jagalactic » 2. Nov 2017, 18:47

I use a mac guest vm (on a mac host) nearly every day. It can connect to vpn without the host being locked out of the home network, which is awesome.

However, being limited to 1920x1200 resolution has become painful. Can anybody comment on ways of relieving this limitation, or on future work that might address it?

Thanks,
JG
jagalactic
 
Posts: 3
Joined: 19. Jan 2017, 20:15

Re: Mac guest resolution > 1920x1200 ?

Postby socratis » 2. Nov 2017, 20:28

You didn't mention your host, your guest or your VirtualBox complete versions. You should always do when referring to software, otherwise we're going to start guessing. You definitely don't want that... ;)

With the VM completely shutdown, right-click on the VM in the VirtualBox Manager and select "Show Log". Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12705
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac guest resolution > 1920x1200 ?

Postby jagalactic » 3. Nov 2017, 20:31

OK, log file attached. As of today I'm running the current version of vbox.

I set the screen resolution to 1920x1200 as follows:

VBoxManage setextradata "<VM name>" VBoxInternal2/EfiGopMode 5

where N -> Resolution
0 -> 640 x 480
1 -> 800 x 600
2 -> 1024 x 768
3 -> 1280 x 1024
4 -> 1440 x 900
5 -> 1920 x 1200


As I am running my mac vm on mac hardware, I am not violating copyrights, etc. Is there any known work on vbox that might enable higher resolution?

Thanks,
John
Attachments
jmac0-2017-11-03-13-15-44.log.gz
Log file for my VM
(27.37 KiB) Downloaded 8 times
jagalactic
 
Posts: 3
Joined: 19. Jan 2017, 20:15

Re: Mac guest resolution > 1920x1200 ?

Postby socratis » 3. Nov 2017, 21:03

jagalactic wrote:As I am running my mac vm on mac hardware, I am not violating copyrights
I had to make sure, that's why I asked for the VBox.log. By the way, you should choose an appropriate OSX version for your guest, right now it's set to the "generic" type.

jagalactic wrote: Can anybody comment on ways of relieving this limitation, or on future work that might address it?
Actually the 5.2.x updates addressed that issue. Now you can have a lot more resolutions, even some that I've only seen on paper ;). Take a look at ch. 3.14.1. Video modes in EFI for your available options and the appropriate syntax. No backporting to the 5.1.x series.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12705
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac guest resolution > 1920x1200 ?

Postby jagalactic » 7. Nov 2017, 21:54

Thanks, Socratis! That worked, although it leads to a couple more questions.

On my original vm, where I had set VBoxInternal2/EfiGopMode, setting VBoxInternal2/EfiGraphicsResolution had no effect. But then I copied the disk image file to my macbook pro and created a fresh vm, and it worked. So it appears that EfiGopMode takes precedence over EfiGraphicsResolution. Is there a way to delete the EfiGopMode setting in the original VM?

On the macbook pro (which is a new 15" retina model) I was able to set 2560x1440 resolution, but the fonts and icons are SUPER TINY on the macbook screen - not really usable (altnough on a "normal" monitor it's probably good - haven't checked yet). Normally this calls for setting the display in "scalled" mode in OSX, but Sierra in the mac VM does not provide any font scaling options - the list of scaled resolutions is empty. Is there a way to get display scaling to work in a mac vm?

Thanks again!
John
jagalactic
 
Posts: 3
Joined: 19. Jan 2017, 20:15

Re: Mac guest resolution > 1920x1200 ?

Postby socratis » 17. Nov 2017, 20:25

jagalactic wrote:it appears that EfiGopMode takes precedence over EfiGraphicsResolution. Is there a way to delete the EfiGopMode setting in the original VM?
You should have both of them enabled (at the same setting). The settings work differently depending on the VirtualBox version. I choose to have them all enabled at the same time, because I switch back and forth from different versions of VirtualBox. One wants A, the other wants B. They do not "disable" them each other, they're all supported.

jagalactic wrote:I was able to set 2560x1440 resolution, but the fonts and icons are SUPER TINY
Don't blame anyone else but the late Steve J. He's the one that thought that having a huge resolution size was a good marketing sale point... ;)

jagalactic wrote:but Sierra in the mac VM does not provide any font scaling options
See above...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12705
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Mac guest resolution > 1920x1200 ?

Postby chrisl08 » 28. Nov 2017, 18:20

As of VirtualBox 5.2, the command to run is

Code: Select all   Expand viewCollapse view
VBoxManage setextradata "OSX-Siera" VBoxInternal2/EfiGraphicsResolution 1680x1050


just replace 1680x1050 with any of the display WxH options that are listed in the help file of Virtual Box, just search for "EfiGraphicsResolution" in the help file, section "3.14.1. Video modes in EFI"
chrisl08
 
Posts: 1
Joined: 28. Nov 2017, 18:16


Return to Mac OS X Guests

Who is online

Users browsing this forum: No registered users and 4 guests