-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add patchAPIC transition guide #48
Comments
Here you are. |
@BrushXue Got around to working on the APIC guide, can you test this table?: Should be modified correctly to match your ACPI tables, main issue is you have a dual socket system which complicates things on where the values are pulled from. And don't forget to add this table both to your EFI and your config.plist You will also need this under ACPI -> Delete:
I have an initial draft here, though it's a bit unpolished so hasn't been merged yet: |
Thanks for your response. I have added the APIC you provided. Now the system can pass the previous point, but then freezes at |
Have a feeling I know where the stall is, pretty sure your first 2 threads of each CPU are getting an incorrect or missing I also looked through your log, and saw some interesting things:
|
I just tested my Clover setup. Removing xcpm and no_compat_check is OK. But I still need to inject CPU freq. from ssdtPrGen. So it'll be the same in OpenCore. Am I right? |
Shouldn't need ssdt-PRgen, your hardware supports XCPM. SSDT-PLUG's all you should need |
I'm sending the whole ACPI folder you can find my own SSDTs as well. |
Hi there. I'm trying to get Catalina installed on my dual E5-2687w v2 HP z820. Did you manage to overcome the issues ? |
I am currently running into the same issue as well @amadeusex looks like we have to manually patch things, wish the guide was updated tho |
I can chime in, got a X299 Extreme4 here with i9-10900X that does the same (20threads but 21 registered). Clover with APIC Patch is doable, but I'm having trouble installing Big Sur (stuck on phase 2, "DiscX is write protected", regardless of fresh install or 10.15 -> 10.16 update); probably unrelated. It's related to what is discussed here, including a guide on how to patch APIC. That, with the above table provided by khronokernel should fix it. Honestly, I didn't finish trying yet, so I'll report back. I remember fixing a 9820X (10-core, but cut/lasered down by Intel, hence the weird APIC, was the thought), 9900X, the thread speaks of 9920X as well, and now this 10900X does the same. UPDATE:
I suppose you need to make sure no other core is seen as "00", but I didn't need to change any other entries (as suggested in the Tony guide) |
@Allubz awesome thank you for this information. Where is this guide you mention? I tried looking when I originally commented on this issue but came up empty handed. Unfortunately, for some reason my APIC table has three processor IDs with |
@128keaton Welcome! Did you read the "discussed here" link in my post? It's to Tony's. Specifically page 5 post # 42 there. I think just changed the first ID to 00, and changing any other 00's to available numbers should fix it. |
I did one more thing, removed the "Unknown ... TYPE" code like: **** Unknown MADT subtable type 0x7F [36Ch 0876 1] Subtable Type : 7F [Unknown Subtable Type] more and more.... **** Unknown MADT subtable type 0x7F just only remove these codes, keep the others which are looked like normal. compile until no error, in my case, OC / Clover boot successful. |
After 6 months I look into this problem again. |
Here's a weird one. Asus Prime X299-A, 16 GB Ram, EVGA GT 710 gpu Bought and installed a Intel 9800X. With Clover 5108 trying to boot into 10.15.5, the boot hangs. Turning on PatchAPIC solves the problem with the newly bought 9800X With OC 0.6.0 trying to boot into 11.63, the boot hangs again with newly bought 9800x, does not hang with old 9800X. First, I don't know why two different CPUs, with the exact same model number, etc, would perform differently unless it's a different stepping, etc. But, in Clover, the Patch APIC solves the problem.
Again, this is weird. I have multiple X79 boards with various cpus, and I've never seen this issue where two identical CPUs can perform differently. I will add a screen shot of where it's freezing, as I'm on the other Asus Prime X299-A posting this. Thanks in Advance. |
There are no, to me, known OC updates which fix this niche problem. It only relates to some 9800X's, as they seem cut-down sillicon from higher SKU's. Run a newer OC version anyway, 0.6 is old as stone. Use above method to produce a fix. |
Thanks Hi In 10.15.5 and clover 5108 I used Allubz's method, with MasiASL and removed unneeded entries as gbabook outlined. In Clover, I placed the APIC.aml in the patched folder, and deleted all of the files from the origin folder. Still not working. I took a video of the verbose boot and it still sees the first processor as ID 10 I want to get this to work in clover before I try to update OC and then get it to work with the new 9800X with 11.6.3 As far as being a niche problem, I understand the 299 platform is not as popular as some of the others, but in my research, it's the only one I found that has more than 16 PCI lanes, which is an issue for audio applications. The 9800X has something like 40 or 44 PCI lanes Perhaps an offering of some kind to the gods of OpenCore might induce them to address this issue and offer a similar APIC patch in OC? "It only relates to some 9800X's, as they seem cut-down sillicon from higher SKU's." In other words, some 9800X's actually have only 8 cores, while others may in fact have more than 8 cores, but the extra cores are disabled so that the motherboard only sees 8? I've attached my APIC aml. In clover it seems like it sees it, but it may not be working Thoughts? |
I recommend finding an X299 OpenCore EFI that resembles your system. Can't help with Clover. The X299 is quite the niche, and only a few CPU's have this problem. OC developers probably have better things to do. 'Cut down' is what I think the 9800X is, from a higher core count (10+) die, hence the trouble. I initially mistook your 9800X 8-core for a 9900/9920X 10-core, which I had similar trouble with. I don't have time to check your APIC.aml at the moment. I suggest you carefully read through above suggestions, and the link to the Tony page. Also, make sure Patch APIC is disabled when testing your modified APIC.aml, otherwise there may be conflict. |
"I recommend finding an X299 OpenCore EFI that resembles your system. Can't help with Clover." I think that's how I got it to work in the first place, in combo with help from Olarila. "Also, make sure Patch APIC is disabled when testing your modified APIC.aml, otherwise there may be conflict." Done. "I initially mistook your 9800X 8-core for a 9900/9920X 10-core, which I had similar trouble with." If you still have that EFI, and are willing to share, please do here or in a private message. I also have a i9-9960X on a Asus Prime X299-A that works without the Patch APIC on for clover with 10.14.6 and 10.15.5, and works with the 11.6.3 OC Build as well, and that I can swap between the two systems with my original, non cut down cpu's no problem. I also wonder if this has something to do with the motherboards as well. I'm currently on BIOS version 2002. When I tried updating it to the current bios, booting would freeze in a similar way it freezes without the PatchAPIC on if I am remembering correctly. I may try experimenting with that. Anyway, thanks for your help, and please share the EFI for the 9900/9920X if you have it. |
As mentioned here: acidanthera/bugtracker#1070
OpenCore does not have an equivalent of patchAPIC, might be a good idea to explain the process of patching the table manually and reinjecting it. Seems to be mainly relevant for X58 and X79(and their server chipset counterpart) but may be helpful for other high core count systems.
@BrushXue Would it be possible to provide and ACPI dump? SysReport set to true will dump it(note you need DEBUG builds of OpenCorePkg)
The text was updated successfully, but these errors were encountered: