MacOS/opencore will read "0x40000010" to get TSC/FSB frequency only if the hypervisor flag is exposed. You should passthrough the "+hypervisor", "+invtsc" and "kvm=on" along with others features. #Hackintosh safe mode clover how to#IvyBridge is the bottom line(This is why Penryn is not recommend any more, when you using Penryn, MacOS won't recognize some important feature like avx2 amd fma, then some application will not using those features).ġ.3.3 How to check whether the features are recognized correctly in MacOS INVTSC: without this the newer MacOS will not bootīTW, there is no more need to add "vmware-cpu-freq=on" in the xml because it is default to be on in latest QEMU.ġ.3.2 Newer CPU Model is recommanded so MacOS will recognize the features correctlyĪnd also, it is important to use a more newer cpu model to make MacOS recognizing the feature correctly. If you gonna get a nearly bare metal cpu performance, you should pass some important cpu features in xml.I will list some and you may try to find which feature your cpu is supported.ĪVX: without this the newer MacOS will not boot Details can be found here(which I submit a PR to opencore to support hypervisor.I'm not familar with svn so clover may not support in near future). #Hackintosh safe mode clover Patch#It is safe to declare the topology of your cpu without any performance reduction now.Īll you have to do is add one single patch to avoid a x86_validate_topology error (MacOS will compare the acpi topology and the one reading from msr 0x00000198(which most hypervisors don't have), then the error occured.)Īlthough there will still some issues in virtualization support in clover and opencore(like TSC/FSB frequency reading and topology, many hypervisors didn't implement some important msrs like 0x35). If you using a model newer than Penryn, they try to get the topology from a MSR which the hypervisor(QEMU/KVM) not implement yet, causes some dividing by zero error, and the system won't boot. I've found it is related to the lack of virtualization support in clover and opencore, also the MacOS. If you are not using Penryn or a wield cpu thread count, it is safe to remove the cpu-topology line in xml to avoid problems. It don't have some cpuid features like avx/avx2/bmi/fma so MacOS won't recognized those features even thought you just passed through. Some articles have outdated so long from now. Some bootloaders do have some compatibility issues when using a newer generation in a VM, some causing dividing by zero errors(They can't get correct frequency from acpi or msr, so they may be zero). Penryn do not have a msr 0x35 leaf to read topology structure, which also most hypervisors haven't implemented yet.Instead, the MacOS will try to get the topology from acpi when it detect a Penryn process, which the same as a VM. Penryn do not have a msr 0x00000198 leaf to read the perfstatus (like bus ratio, cpu frequency) which the same as a VM. Penryn is classic, and it missing some features compared to newer generation, which lead to a similar situation with VM. see this PR I've made.Īfter digging a lot of code, I have some conclusions why they recommanded Penryn as prefered CPU Model: If you have AMD Process, it can't be passthrough directly yet in clover, but is possible when using latest opencore (0.5.2). If you have Intel Process, you can just use host-passthrough or newer cpu family like Skylake/Cascade-Lake to get most features available. So If u have older clover, you should use Ivy-Bridge instead of Penryn (I will explain later in performance part)(opencore do not have such problem). After some digging I've found that CLOVER had some limitation when using simulated newer cpu family than Ivy-Bridge. *** if you like those tips, don't hesitate to push the button "like" below this thread, thanks ***Įvery Tutorial told us to use Penryn but didn't tell us why. If you wanna get quick start(with opencore), I made a github repo to help people. There is not much information about hackintosh in VM, so I will not make an installer guide but some important tips which everyone had miss. #Hackintosh safe mode clover install#It is time to start a new thread and share my tips, and we can discuss here.įor those who don't have much information, see SpaceInvaderOne's **VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |