-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Help】Asus X99A II works great in win10, but hackintosh couldn't boot. (PCI configuration begin) #32
Comments
@dawenhaozx Actually I know the fix for this because I booted OpenCore Hackintosh on my system a few weeks ago (still haven't downloaded it but whatever). You have to set If it still doesn't work and you're seeing |
@xCuri0 Thank you, I've tried it and it still doesn't work. May be the reason of opencore 0.8.9 beta. ResizeAppleGpuBars=8 boot failed |
@dawenhaozx are you on the latest opencore from GitHub actions ? Only that has You could try sending your boot log with debug build also |
@xCuri0 I'm using the latest opencore from dortania/build-repo debug log |
@dawenhaozx does it happen when using the pcibus patch without rebar enabled ? |
@xCuri0 Yes, It seems to be the same problem whether rebar is enabled or disabled.(When i use the pcibus patch) |
@dawenhaozx What the PciBus patch does is make 64-bit BARs (like GPU) get allocated in the 64-bit region which firmware doesn't do by default so that CSM works with 4G decode. Does disabling |
ReBarState.exe - disabled |
@dawenhaozx and this doesn't boot right ? u could try show device manager view -> resources by type -> memory and scroll to the bottom. should show what got allocated in the 64-bit space also could try and ask about this in hackintosh communities |
@dawenhaozx the PCIe device BARs are getting allocated at a 48 bit address apparently. Maybe that's too high for macOS. See if there's a BIOS setting to limit it |
@xCuri0 Sincerely thank you for your help. X99A doesn't seem to have such an option in the bios. |
@dawenhaozx no MMIO option or similar ? Should ask about this issue in some Hackintosh/OpenCore communities, maybe there's a fix for this. Last thing that can be done is disassembling PciRootBrudge/PciHostBridge and modifying the |
@xCuri0 I found something different in opencore-debug The same config.plist setting I'm not sure if this is the reason, but after trying many times I found the difference here. |
@dawenhaozx you need to patch both DSDT and PciHostBridge/PciRootBridge to use a lower address that macOS supports. OpenCore in-fact mentions that there are some issues with macOS and X99/X299 boards with 4G decoding Use efiSeek plugin with Ghidra on PciHostBridge/PciRootBridge to find the efiSeek with Ghidra is the same method I used to modify the |
@xCuri0 This is too difficult for me to understand. But if you have to solve each motherboard issues, it will undoubtedly increase your troubles. Thank you so much anyway, you are a legend!!! |
@dawenhaozx If you are able to do it then you can then make a patch that works on all X99 motherboards with the issue. It is hard to do though yes |
@dawenhaozx You need to set the macOS should handle 41-bit (<2TB) addressing fine because Mac Pro can support upto 1.5TB of RAM. This setting can be found in the If you do get it working with 1TB you could also try higher values to see what the maximum supported by macOS is |
@xCuri0 I've tried various combinations and still can't solve it. MMIOHBase 1T ~ 56T 0x15351 One Of: MMIOHBase, VarStoreInfo (VarOffset/VarName): 0x10E2, VarStore: 0x1, QuestionId: 0x1A8, Size: 4, Min: 0x0, Max 0x7, Step: 0x0 {05 9A 0C 00 0D 00 A8 01 01 00 E2 10 10 12 00 00 00 00 07 00 00 00 00 00 00 00} |
@dawenhaozx if possible could you show a screenshot of device manager memory like before (showing the hd audio device is important) when using these settings 1T and 128G also send a DSDT dump from windows using those same settings. seems like the DSDT on your board is dynamically generated as the version extracted with UEFITool is different I found this https://www.insanelymac.com/forum/topic/321326-cant-get-above-4g-decoding-working-on-x99-e-ws/, they were successful by disabling the GPU but of course that's not ideal. My only guess at what's going on is that even the 1TB MMIO is too high for macOS. |
@dawenhaozx you could also try |
When I set to MMIO Base 1T, MMIO High 128G I have always set npci=0x2000 |
@dawenhaozx without do send a screenshot when you're able to it would be helpful |
@dawenhaozx hi any update ? i was messing with my hackintosh install and saw that the opencore wiki mentions that Ryzen boards properly allocate 64-bit BARs (GPU) into the 64-bit MMIO region, just like our patched BIOS does so I thought it might be similar. this is probably the cause of it along with the default MMIO Base being too high (which can be fixed by setting to 1T). |
@xCuri0 It works! Fix it all now! I sincerely appreciate your help!!! |
Had same problem when i port a native bios Rebar option Solution to boot with rebar enable in MacOS Sonoma was npci=0x3000 as boot-arg and This Will help everyone with this problem in 99 plataform. |
System
Description
First of all thanks to xCuri0 for enabling Resizable BAR on my old motherboard !!!
(I didn't use opencore to boot win10)
I successfully modified the bios and it works fine in win10.(follow the instructions exactly)
I think pcibus patch caused the hackintosh boot fail, But x99aii must use the pcibus patch to successfully enable resizable bar.
If i don't use pcibus patch, Enabling resizable bar will result in a black screen (Using USB Flashback can let CMOS reset) and disabling resizable bar can successfully boot macOS&win10.
# PciBus | Don't downgrade 64-bit BARs to 32-bit (by @Mak3rde)
3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:C70605000000833E067506C70604000000BE01000000:909090909090833E067506909090909090BE01000000
Please help me, can this problem be solved by changing the config.plist of opencore or in other ways?
Screenshot of hackintosh use modified bios.
Modified bios files
bios.zip
The text was updated successfully, but these errors were encountered: