Page 1 of 1

FullScreen for 1920x1080 resolution, Host /Guest macOS Sierra

Posted: 28. Jul 2017, 16:13
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.

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

Posted: 28. Jul 2017, 16:20
by socratis
Windows and CentOS have the Guest Additions (GAs) installed and working. OSX guests do not have GAs available => no full screen.

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

Posted: 30. Jul 2017, 20:14
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

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

Posted: 30. Jul 2017, 20:38
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

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

Posted: 7. Aug 2017, 12:45
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.

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

Posted: 7. Aug 2017, 14:50
by socratis
True. Very true!
I didn't even think about that! ;)

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

Posted: 13. Oct 2017, 21:48
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.

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

Posted: 25. Jan 2018, 17:58
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.

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

Posted: 25. Jan 2018, 18:17
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.

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

Posted: 10. Oct 2019, 03:40
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

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

Posted: 10. Oct 2019, 06:42
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"/>