balopez83 / macOS_On_Hyper-V

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

Can't not boot on Intel i5 13420h laptop cpu #15

Closed Drnfrf closed 5 months ago

Drnfrf commented 10 months ago

Hi developer , I am unable to boot the macos recovery from Intel 13th gen cpu

balopez83 commented 10 months ago

@Drnfrf Please provide additional information. What version of macOS are you trying to install? What amount of memory did you assign to your Hyper-V virtual machine? Can you provide a screenshot of the verbose output of the booting virtual machine?

Drnfrf commented 10 months ago

EFI - CPU spoof for never CPUs.zip hi developer i was trying to run the default with catalina recovry dmg but it didnt work so i switched the uefi with this and i was getting apple logo but it still didnt work , so i changed the recovery with this https://drive.google.com/file/d/1MNLVPNuzbjZJIy9vlEZD3tjSE37dJyTq/view and i am somewhat close image

balopez83 commented 10 months ago

@Drnfrf I am glad you are closer though it really should have installed Catalina with the release EFI on the repo with your CPU. By default I have the CPU spoofed correctly to allow Intel Gen 11 and newer Host CPU's to be able to run macOS on Hyper-V. I suspect you might have had a couple Hyper-V VM settings that needed to be changed to get it running. Can you confirm you have at least 8gb of ram assigned to the virtual machine? MacOS does not work properly without at least 8gb of ram assigned to the virtual machine in Hyper-V. I suspect you may be running a patched recovery which may work to install but might have issues later on.

Drnfrf commented 10 months ago

Yes I had 8gb of ram assigned and checked uefi and recovery multiple times but it didn't work , at present Mac OS Monterey is successfully installed but Its working slower than VMware , idk why

Drnfrf commented 10 months ago

No I think it's same or maybe a bit resposive that VMware at 720 p , how can I make it full screen and assign more vram currently it only has 3 MB vram Screenshot 2023-11-28 131324

balopez83 commented 10 months ago

@Drnfrf Hyper-V support for macOS is still in the early stages. Currently there is no way to make it go full screen and there is no graphics acceleration. At this stage if you are looking for a more usable experience virtualizing macOS you would want to use VMware and not Hyper-V.

You can look at the quirks section of my repo for some ways to speed up the virtual machine but overall it still is not usable as a daily use virtual machine. I hope that the developers of OpenCore and many of the key kexts for Hyper-V are able to eventually enable graphics acceleration but it will likely be a long time from now.

Depending on your machine specs you may want to look at bare metal installation if you are looking for a native experience with graphics acceleration. Keep in mind bare metal installation with graphics acceleration requires an Intel 10th generation or older and some AMD systems.

Drnfrf commented 10 months ago

i find hyper v to be the best in responsiveness , i think its better than vmware but only thing im missing is the audio . is there any video editing software for mac that i can use without gpu , ive tried final cut pro trial and davinci

balopez83 commented 10 months ago

Understand, yes because the screen resolution is smaller by default in Hyper-v things are snappier than with VMWare.

Audio unfortunately isn't supported yet due to a lack of implementation of the driver stack in Hyper-v from what I've read.

Unfortunately I am not aware of any non-gpu intensive video editing software. You could try open source solutions like Shotcut and OpenShot and see if they have an option to turn off GPU rendering but I suspect it would greatly slow down processing. Since those solutions work on Windows and Linux you would probably be better off just using them on the host system though.

Also Hyper-v doesn't have a usable usb stack to allow sharing usb devices so the only way to even get video to the Hyper-v would be to download it from the internet or copy to another vhdx drive and then mount that drive as another drive in Hyper-v which is a lot of workarounds unfortunately.

In fact if you're gonna be doing video editing I would highly recommend just getting a cheap 10th gen computer to natively run macOS on bare metal. Microsoft has a surface go 3 i3 refurbished that's super cheap and I know that macOS can be installed on it with touch screen, pen, native wifi and almost everything working. I'm sure there are other computers that might fit your needs better too but for very little you could use the Mac software with full GPU acceleration fairly easily.

balopez83 commented 10 months ago

Not sure if you have a desktop or laptop but you might be able to use a dGPU or eGPU to get macOS running on your 13th gen computer. You would need to research ones that are still compatible with macOS but that could be an option. I'm not fully familiar with how to do it but a dGPU or eGPU can also be passed directly to vm's allowing for graphics acceleration. You obviously wouldn't be able to use that GPU with windows while doing that but I know it's been done. I don't believe Hyper-v will work like that but I think VMware and Qemu can. In the best example I saw of that someone uses a light headless Linux install that automatically launched a modified qemu vm of macOS with full graphics acceleration and near native speed. Can't help do it but if your feeling adventurous it might be a fun direction to go with it if you want full macOS support on your 13th gen.

Drnfrf commented 10 months ago

Not sure if you have a desktop or laptop but you might be able to use a dGPU or eGPU to get macOS running on your 13th gen computer. You would need to research ones that are still compatible with macOS but that could be an option. I'm not fully familiar with how to do it but a dGPU or eGPU can also be passed directly to vm's allowing for graphics acceleration. You obviously wouldn't be able to use that GPU with windows while doing that but I know it's been done. I don't believe Hyper-v will work like that but I think VMware and Qemu can. In the best example I saw of that someone uses a light headless Linux install that automatically launched a modified qemu vm of macOS with full graphics acceleration and near native speed. Can't help do it but if your feeling adventurous it might be a fun direction to go with it if you want full macOS support on your 13th gen.

Hi , I'm using a laptop and it has dgpu but display output is from Intel irix because of having no mux switch . I wanted to run it bare metal but lack of uefi for laptop notebook is preventing me . I just wanted to check how the software performs in Macos like editing software I'm not actually going to do video editing . How can I get the bare metal macos to run? Should I try with the desktop raptor lake uefi that's available

balopez83 commented 10 months ago

@Drnfrf So I am not entirely sure how to get your computer up an running but it likely won't be very easy unfortunately. You can try using an EFI that was designed for a similar computer to yours but there seems to be so few for 11th gen and newer it might be easier for you to just build your own.

First thing you will need to do however is determine if your dGPU is even macOS compatible if it is you might have a chance to get it running. If not, you can still get macOS running but it won't have graphics acceleration and will probably run slower than your Hyper-V.

You must spoof your CPU in the kernel section of the config.plist (you can use the spoof used in the hyper-v config.plist. There is no need to use another and its important to know that power management won't work properly.

If your dGPU is macOS compatible you would need to find out what settings are needed to activate it in the device properties section of the config.plist.

I am a little unsure, but I believe you will also need to deactivate your iGPU through the device properties section of the config.plist.

If all goes well it might give you graphics acceleration though it will likely take a lot of trial and error.

Wish I could help more but other than getting macOS to install and run (without graphics acceleration), I haven't been able to do much more on 11th gen and later processors.

Drnfrf commented 10 months ago

My laptop comes with rtx 4050 laptop GPU , I didn't find any support for rtx 20-40 series card , I guess it's not possible to get the graphics acceleration, if I'm stuck with 720 p res and slower response then I think I'll stick to hyper v and keep an out to see if graphics acceleration is possible . I was able to successfully run macos in Intel 10th gen i31005g1 but it didn't have any wifi support so I had to switch back to windows

balopez83 commented 10 months ago

@Drnfrf makes sense. I hope that there will be more support for acceleration in the future but fear it may not be here before macOS no longer even supports Intel CPU's.

As for the 10th gen, all you need to do assuming that you don't have an Intel Wifi card is purchase a mini USB wifi adapter. You will want to look at this repo for supported USB adapters and the software to run them: https://github.com/chris1111/Wireless-USB-OC-Big-Sur-Adapter

If your 10th gen has an Intel wifi card all you have to do is use this kext to drive it and the bluetooth directly: https://github.com/OpenIntelWireless/itlwm https://github.com/OpenIntelWireless/IntelBluetoothFirmware

balopez83 commented 9 months ago

@Drnfrf Added a new release that may resolve the issue experienced. Not sure if it will fix it but wanted to get a fix out there quickly due to all the issues people have had with the previous release. Please let me know if this resolves your issues.

Drnfrf commented 9 months ago

let me check if it works , ill update soon

balopez83 commented 9 months ago

@Drnfrf Did the latest release resolve the issues?

balopez83 commented 5 months ago

@Drnfrf Closing this issue due to no response.

Additional information. Video editing software does require a working GPU implementation. While video editing software might work, it would be exceptionally slow relative to a GPU enabled macOS install.