AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
936 stars 125 forks source link

Graphics Problem #7

Closed ds2k5 closed 6 years ago

ds2k5 commented 6 years ago

Hi, using: VirtualBox 5.2.14 with virtualbox extension Pack got not working... graphics did not work.

bildschirmfoto_2018-07-13_09-39-05

Options for Virtualmachine set:

VBoxManage modifyvm "mojave" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "mojave" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" VBoxManage setextradata "mojave" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "mojave" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

tryed additonal:

VBoxManage setextradata mojave "VBoxInternal2/EfiGraphicsResolution 1920x1080" VBoxManage setextradata "mojave" VBoxInternal2/EfiGopMode 5

How to fix this ?

AlexanderWillner commented 6 years ago

The resolution in

https://github.com/AlexanderWillner/runMacOSinVirtualBox/blob/3a4a10dfa118901500e4f8f38e055241585614bd/config.plist#L113

and

https://github.com/AlexanderWillner/runMacOSinVirtualBox/blob/3a4a10dfa118901500e4f8f38e055241585614bd/runMojaveVirtualbox.sh#L24

have to match.

ds2k5 commented 6 years ago

Thanks!!! the GraphicsCard support the Res. 1680x1050. So I will try some other Res. but I belive this is not the Problem. Will let you know

AlexanderWillner commented 6 years ago

Solved?

ds2k5 commented 6 years ago

Sorry - NO! will try today or tomorrow...

ds2k5 commented 6 years ago

no did not work for me.... same issue changed in: runMojaveVirtualbox.sh and config.plist to 1024x768

AlexanderWillner commented 6 years ago

Mh, the supported resolutions are listed at https://www.virtualbox.org/manual/ch03.html#efividmode - not sure if you might need to set GUI/CustomVideoMode1 or VBoxInternal2/EfiGopMode as suggested at https://superuser.com/questions/478901/change-macos-x-guest-screen-resolution-for-virtualbox/1264540. Maybe use another resolution (don't forget to create a new boot ISO) and setting these parameters as well.

ds2k5 commented 6 years ago

Hi, thanks a lot! I tryed this

VBoxManage setextradata "mojave" VBoxInternal2/EfiGraphicsResolution 1024x768
VBoxManage setextradata "mojave" "CustomVideoMode1" "1024x768x32"
VBoxManage setextradata "mojave" "GUI/CustomVideoMode1" "1024x768x32"

But did not change anything..

In .vbox File find this:


    <ExtraData>
      <ExtraDataItem name="CustomVideoMode1" value="1024x768x32"/>
      <ExtraDataItem name="GUI/Fullscreen" value="true"/>
      <ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="204,75,1024,812"/>
      <ExtraDataItem name="GUI/ScaleFactor" value="1"/>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" value="Iloveapple"/>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" value="iMac11,3"/>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" value="1.0"/>
      <ExtraDataItem name="VBoxInternal/Devices/smc/0/Config/DeviceKey" value="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
      <ExtraDataItem name="VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" value="1"/>
      <ExtraDataItem name="VBoxInternal2/EfiGopMode" value="5"/>
      <ExtraDataItem name="VBoxInternal2/EfiGraphicsResolution" value="1024x768"/>
    </ExtraData>

Maybe use another resolution (don't forget to create a new boot ISO) and setting these parameters as well.

I have a OSX 10.13 (High Sierra) with 1024x768 works fine. Build an emty VirtualMachine with same parameters but did not work for me with Mojave.

AlexanderWillner commented 6 years ago

Wild guess: based on http://www.wikigain.com/fix-macos-high-sierra-screen-resolution-virtualbox/ the EfiGopMode 5 means 1900x1200, which might conflict with the other settings.

AlexanderWillner commented 6 years ago

Have you also double checked the resolution in your config.plist of your clover boot iso?

ds2k5 commented 6 years ago

thanks changes the but did not help

Have you also double checked the resolution in your config.plist of your clover boot iso?

shit - no sorry... I will fix this.....

7z l macOS-MojaveClover.iso | grep "config.plist" 2018-07-16 08:03:44 ..... 4304 4304 EFI/CLOVER/config.plist

1680x1050

thanks

ds2k5 commented 6 years ago

thanks that was the issue! I am sorry !