FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
joseluisbz
Posts: 57
Joined: 26. Jan 2017, 19:18
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, macOS, CentOS

FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by joseluisbz »

Hi,

I'm using a Smart TV as my Monitor, I'm using MacBook Air and VirtualBox 5.1.22 on Host Side with macOS Sierra 10.12.6 and macOS Sierra 10.12.5 Guest.

I was looking for on Google/and this forum and was trying.

I want to use full Screen with 1920x1080 resolution, is it not possible?

Here my getextradata

Code: Select all

$ VBoxManage getextradata "MacOS 10.12 Sierra 64bits" enumerate
Key: CustomVideoMode1, Value: 1920x1080x32
Key: CustomVideoMode2, Value: 1440x900x32
Key: GUI/CustomVideoMode1, Value: 1920x1080x32
Key: GUI/Fullscreen, Value: true
Key: GUI/LastNormalWindowPosition, Value: 50,45,1440,921,max
Key: GUI/RestrictedRuntimeDevicesMenuActions, Value: HardDrives
Key: GUI/RestrictedRuntimeMachineMenuActions, Value: SaveState,PowerOff
Key: GUI/ScaleFactor, Value: 1
Key: GUI/StatusBar/IndicatorOrder, Value: HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard
Key: VBoxInternal2/EfiBootArgs, Value: usb=0x800 keepsyms=1 -serial=0x1
Key: VBoxInternal2/EfiGopMode, Value: 4
$
With Windows and CentOS guest works perfectly.

Thanks you in advance.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by socratis »

Windows and CentOS have the Guest Additions (GAs) installed and working. OSX guests do not have GAs available => no full screen.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
IOOI
Posts: 74
Joined: 14. Nov 2014, 18:54
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: OPENSTEP, Mac OS X, FreeBSD, Windows

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by IOOI »

socratis wrote:Windows and CentOS have the Guest Additions (GAs) installed and working. OSX guests do not have GAs available => no full screen.
isn't it:

Code: Select all

VBoxManage setextradata "Mac OS X 10.12" VBoxInternal2/EfiGopMode 5
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by socratis »

That's not full screen, that's a different resolution. That will give you 1920x1200, sure, but in a windowed mode, which includes title bar and status bar. And it has to fit in an even smaller space because of the Dock (size varies). So, you're going to end up with a VM in a window that has scroll bars, both vertical and horizontal. Not what I think of when I'm thinking Full-Screen...

For completion, here are the rest of the available resolutions as of this writing, from ch. 3.13.1 Video modes in EFI:
  • VBoxManage setextradata "<VM name>" VBoxInternal2/EfiGopMode N
    
    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
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
IOOI
Posts: 74
Joined: 14. Nov 2014, 18:54
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: OPENSTEP, Mac OS X, FreeBSD, Windows

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by IOOI »

socratis wrote:That's not full screen, that's a different resolution. That will give you 1920x1200, sure, but in a windowed mode, which includes title bar and status bar. And it has to fit in an even smaller space because of the Dock (size varies). So, you're going to end up with a VM in a window that has scroll bars, both vertical and horizontal. Not what I think of when I'm thinking Full-Screen...
But you could always switch the VM in FullScreenMode using that green control in the title-bar. I am doing so and it works fine.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by socratis »

True. Very true!
I didn't even think about that! ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
klaus
Oracle Corporation
Posts: 1132
Joined: 10. May 2007, 14:57

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by klaus »

Just to mention it here, too... VirtualBox 5.2.0 (the current pre-release trunk test build has it, including docs, but it wasn't in 5.2.0_RC1!) will offer a lot more choices of standard resolutions, and if you want something unusual you can configure any custom resolution you want.
telesforox
Posts: 2
Joined: 22. Jan 2018, 19:21

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by telesforox »

Here working with macOS Sierra 10.12.6 guest and VirtualBox 5.2.6, the only thing that worked was:

Code: Select all

$ vboxmanage setextradata "Mac OS X 10.12 Sierra" "VBoxInternal2/EfiGraphicsResolution" "1920x1080"

I've tried the EfiGopMode 5 and also setting the com.apple.Boot.plist as suggested in other posts. But nothing has worked on my scenario. By chance I found this alternate solution in a not popular answer in StackExchange Superuser under the question "Change MacOS X guest screen resolution for VirtualBox" by the user cyptus, and some comments indicate it works in High Sierra too.
@IOOI: Thanks for the tip about Full-screen mode (Host-F) simple and effective.
and thanks to the rest of the contributors, awesome job in this forum!
HTH others.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by socratis »

telesforox wrote:I've tried the EfiGopMode 4 and also setting the com.apple.Boot.plist as suggested in other posts. But nothing has worked on my scenario.
You're not using VirtualBox previous to 5.2.x, that's why. Did you notice the post from 'klaus' just before yours? That's when the key for the resolution changed. If you're using 5.1.x (or earlier) those keys are still valid (and actually required).
telesforox wrote:By chance I found this alternate solution in a not popular answer in StackExchange Superuser
By *not* chance, you could have read the User Manual, ch. 3.14.1 Video modes in EFI. It contains the same information and it's usually more of an authority compared to an answer found by chance... ;)
telesforox wrote:working with macOS Sierra 10.12.6 guest and VirtualBox 5.2.6 on Ubuntu host
I really hope you're not talking about a Hackintosh. And if you do, I don't want to know or hear any more about it, because that's going to be the end of this thread. Unfortunately OSX guests are only supported on Apple hardware. See: Mac OS X guest on a Windows Host.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
iTonAMD64
Posts: 1
Joined: 10. Oct 2019, 03:34

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by iTonAMD64 »

sierra worked for me only use extradata VboxInternal2/EfiGraphicsResolution 1920x1080,,deleted all other extra data option like efigopmode, customvideomode, etc that's set resolution,,,just only use one => extradata VboxInternal2/EfiGraphicsResolution 1920x1080
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Post by socratis »

iTonAMD64 wrote:just only use one
I take it you're not switching VirtualBox versions often, right? ;)

I have all of them enabled, it definitely doesn't hurt:
<ExtraDataItem name="VBoxInternal2/EfiGopMode" value="3"/>
<ExtraDataItem name="VBoxInternal2/EfiGraphicsResolution" value="1280x1024"/>
<ExtraDataItem name="VBoxInternal2/EfiHorizontalResolution" value="1280"/>
<ExtraDataItem name="VBoxInternal2/EfiVerticalResolution" value="1024"/>
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply