balopez83 / macOS_On_Hyper-V

This repository aims to provide support for macOS on Hyper-V
443 stars 25 forks source link

screen resolution #3

Closed lggdev7 closed 10 months ago

lggdev7 commented 2 years ago

After several tests I have managed to start the virtual machine with Monterey. But the resolution only allows me 1024x768. Did you achieve another type of resolution?

Greetings and thanks.

balopez83 commented 2 years ago

Hi @lggdev7 unfortunately this is an issue caused with the lack of graphics acceleration and the default resolution passed to the macOS virtual machine by Hyper-V.

The only way this might be resolved will be through the work of acidanthera through the development of special kexts.

balopez83 commented 2 years ago

Can I trouble you to send me your config.plist. I have had some challenges getting Monterey to function reliably and so am curious how you changed your plist to make it work like its supposed to. Please remove any SMBIOS information prior to sending if you do.

lggdev7 commented 2 years ago

What do you mean by smbios? to clear the PlatformInfo values?

balopez83 commented 2 years ago

Yes, the serial information if you added it to the config.plist. If you never added it then you don't need to clear anything.

lggdev7 commented 2 years ago

I send you one in Windows 11 and another in Windows 10 and the processors and graphics of the PC where Hyper-V is running envio.zip

balopez83 commented 2 years ago

@lggdev7 thank you for sending the config files.

MSDarwish2000 commented 1 year ago

I've found a workaround which may help anyone reviewing this issue.

I've used BetterDisplay to create a virtual display with the desired resolution (My actual screen resolution). Then I've used AnyDesk to access the second screen as Hyper-V viewer only supports the main screen.

cbugk commented 1 year ago

I have recently used this superuser answer to set screen resolution of Ubuntu on Hyper-V. Resolution 1024x768 can be overwritten this way without any facility to change it on the go. I can test it today, I suppose.

balopez83 commented 1 year ago

@cbugk did you have any luck setting an alternate screen resolution using that superuser method? I tried multiple things including that but did not have any luck

cbugk commented 1 year ago

@balopez83 It must have worked, for Ubuntu of course. Can't say I remember to be honest. My memory generally serves me poorly, if at all.

lgp1985 commented 12 months ago

I have recently used this superuser answer to set screen resolution of Ubuntu on Hyper-V. Resolution 1024x768 can be overwritten this way without any facility to change it on the go. I can test it today, I suppose.

I tested this and no change, in fact first boot after changing resolutions OSX crashed. Second reboot it went back to 1024x768

cguo2013 commented 10 months ago

anyone has lucky to solve this problem?

balopez83 commented 10 months ago

@cguo2013 Unfortunately this is not currently solvable. This is an issue with a lack of graphics drivers and the way Hyper-V is designed.

There are other groups working on developing macOS on Hyper-v and they may add support in the future to enhance graphics. If and when that support is available I will add it here in this repo.

For now I am going to close this issue as it is beyond the scope of this repo and my expertise to resolve.