Jump to content

Open CORE Kernel & Kext patch for X99/X299 motherboard


nmano
Message added by fantomas

The contents of these post are outdated, all the XCPM patches for X99 and similar chipsets can be enabled within Kernel → Quirks section

435 posts in this topic

Recommended Posts

7 минут назад NeXtor сказал:

Почему я должен лгать? это файлы, которые я использую, я только что удалил серийный номер, MAC-адрес и системный uuid

https://www.insanelymac.com/forum/topic/344428-pre-release-macos-big-sur/?do=findComment&comment=2742081

Understand that we need your DSDT files, config - plist, etc.

Edited by Антико
Link to comment
Share on other sites

31 minutes ago, Антико said:

 

so are you telling me I've always used the wrong files? the efi partition I've always used is the one I've already attached, I send you these other files recovered with RunMe.app. Do you need anything else?

 

Send me iMac-Pro-di-Gabriele.zip

Link to comment
Share on other sites

54 minutes ago, NeXtor said:

 

Так ты хочешь сказать, что я всегда использовал не те файлы? раздел efi, который я всегда использовал, - это тот, который я уже прикрепил, я отправляю вам другие файлы, восстановленные с помощью RunMe.app. Тебе нужно что-то еще?

 

Отправьте мне iMac-Pro-di-Gabriele.zip

Okay, I'll try to help you. But it's late - I'll send you the files tomorrow

Link to comment
Share on other sites

Its My X299  OC 0.6.4 EFI sample

I remove now C6/C7 patch now you don't need touch Bios.

https://www.insanelymac.com/applications/core/interface/file/attachment.php?id=361000

 

Link to comment
Share on other sites

Just type this command on your terminal

sysctl machdep.xcpm

 

Last login: Tue Nov 17 00:21:29 on ttys000
x299@X299s-Mac-Pro ~ % sysctl machdep.xcpm
machdep.xcpm.mode: 1
machdep.xcpm.pcps_mode: 0
machdep.xcpm.hard_plimit_max_100mhz_ratio: 45
machdep.xcpm.hard_plimit_min_100mhz_ratio: 7
machdep.xcpm.soft_plimit_max_100mhz_ratio: 45
machdep.xcpm.soft_plimit_min_100mhz_ratio: 7
machdep.xcpm.tuib_plimit_max_100mhz_ratio: 45
machdep.xcpm.tuib_plimit_min_100mhz_ratio: 7
machdep.xcpm.tuib_enabled: 0
machdep.xcpm.power_source: 0
machdep.xcpm.bootplim: 0
machdep.xcpm.bootpst: 45
machdep.xcpm.tuib_ns: 0
machdep.xcpm.vectors_loaded_count: 1
machdep.xcpm.ratio_change_ratelimit_ns: 500000
machdep.xcpm.ratio_changes_total: 370031
machdep.xcpm.maxbusdelay: 4294967295
machdep.xcpm.maxintdelay: 0
machdep.xcpm.mid_applications: 0
machdep.xcpm.mid_relaxations: 0
machdep.xcpm.mid_mode: 1
machdep.xcpm.mid_cst_control_limit: 0
machdep.xcpm.mid_mode_active: 0
machdep.xcpm.mbd_mode: 1
machdep.xcpm.mbd_applications: 1646
machdep.xcpm.mbd_relaxations: 1622
machdep.xcpm.forced_idle_ratio: 100
machdep.xcpm.forced_idle_period: 30000000
machdep.xcpm.deep_idle_log: 0
machdep.xcpm.qos_txfr: 1
machdep.xcpm.deep_idle_count: 0
machdep.xcpm.deep_idle_last_stats: n/a
machdep.xcpm.deep_idle_total_stats: n/a
machdep.xcpm.cpu_thermal_level: 0
machdep.xcpm.gpu_thermal_level: 0
machdep.xcpm.io_thermal_level: 0
machdep.xcpm.io_control_engages: 0
machdep.xcpm.io_control_disengages: 0
machdep.xcpm.io_filtered_reads: 0
machdep.xcpm.pcps_rt_override_mode: 0
machdep.xcpm.io_cst_control_enabled: 0
machdep.xcpm.ring_boost_enabled: 0
machdep.xcpm.io_epp_boost_enabled: 0
machdep.xcpm.epp_override: 0
machdep.xcpm.perf_hints: 0
machdep.xcpm.pcps_rt_override_ns: 0
x299@X299s-Mac-Pro ~ % 

 

Link to comment
Share on other sites

Hi all,

 

I'm at a loss with two nearly identical X299 systems and their XCPM performance, hear me out please. System 1 does XCPM just fine, it all-core boosts to 4.50GHz, whereas System 2 instantly drops performance to about 2.50GHz when Cinebench starts benching at full load. Temperatures are just fine, they're both under two times 280mm radiators; well sufficient. Both system sport identical 64GB DDR4-3000 and a 5700XT. Both at Catalina 10.15.7 19H2 (latest).

 

System 1/ i9-9920X 12-core @ ASRock X299 Extreme4 P1.60 (pre-CLX) // Notable settings: MCE Enabled, AllCore 4.50GHz, Turbo and Turbo3.0 Enabled, SpeedStep Enabled, Speed Shift Native Mode, SVID Support Disabled, AVX/512 1 / 3, C-States Enabled, CFG Lock Disabled

System 2/ i9-10900X 10-core @ CLX ASRock X299 Extreme P1.80 (CLX) // identical settings (also tried all forms of Speed Shift) -> I here notice I need to try BIOS P1.90 to be sure, as well (I can try after the weekend)

 

The only difference in OC configuration is that the 10-core needs a custom APIC.aml because it's a bugged processor for macOS, cut-down by Intel from a higher-end SKU and misbehaves identifying its processor core numbers in macOS. For example in my original APIC.aml I had to patch the first layout ID to 00 rather than 10. I didn't change all the following numbers accordingly (01, etc.), I'm not sure if this can be of influence. I also set the appropriate CPUID for SKL-X and CL-X per system; ceterus paribus.

 

For System 2 I tried all 10.15.5+ kernel patches from the 0.6.4 EFI folder in the main post as well, to be sure. I also tried OC kernel quirk "ForceXCPMBoost", to no avail. It is of course impossible to try all possible triggers and patches and their combinations, but it seems to me the two systems can't be that different.

 

Here is my: EFI.zip

 

 The output of sysctl machdep.xcpm of System 1 reports following, where I note the main difference (machdep.xcpm.pcps_mode: 0) always seems 1 on System 2, maybe it matters:

 


Last login: Thu Nov 19 23:46:37 on console
paul@Pauls-iMac-Pro ~ % sysctl machdep.xcpm
machdep.xcpm.mode: 1
machdep.xcpm.pcps_mode: 0
machdep.xcpm.hard_plimit_max_100mhz_ratio: 45
machdep.xcpm.hard_plimit_min_100mhz_ratio: 7
machdep.xcpm.soft_plimit_max_100mhz_ratio: 45
machdep.xcpm.soft_plimit_min_100mhz_ratio: 7
machdep.xcpm.tuib_plimit_max_100mhz_ratio: 45
machdep.xcpm.tuib_plimit_min_100mhz_ratio: 7
machdep.xcpm.tuib_enabled: 0
machdep.xcpm.power_source: 0
machdep.xcpm.bootplim: 0
machdep.xcpm.bootpst: 45
machdep.xcpm.tuib_ns: 0
machdep.xcpm.vectors_loaded_count: 1
machdep.xcpm.ratio_change_ratelimit_ns: 10000000
machdep.xcpm.ratio_changes_total: 53726
machdep.xcpm.maxbusdelay: 75000
machdep.xcpm.maxintdelay: 0
machdep.xcpm.mid_applications: 0
machdep.xcpm.mid_relaxations: 0
machdep.xcpm.mid_mode: 0
machdep.xcpm.mid_cst_control_limit: 0
machdep.xcpm.mid_mode_active: 0
machdep.xcpm.mbd_mode: 1
machdep.xcpm.mbd_applications: 9765
machdep.xcpm.mbd_relaxations: 0
machdep.xcpm.forced_idle_ratio: 100
machdep.xcpm.forced_idle_period: 30000000
machdep.xcpm.deep_idle_log: 0
machdep.xcpm.qos_txfr: 1
machdep.xcpm.deep_idle_count: 0
machdep.xcpm.deep_idle_last_stats: n/a
machdep.xcpm.deep_idle_total_stats: n/a
machdep.xcpm.cpu_thermal_level: 0
machdep.xcpm.gpu_thermal_level: 0
machdep.xcpm.io_thermal_level: 0
machdep.xcpm.io_control_engages: 0
machdep.xcpm.io_control_disengages: 0
machdep.xcpm.io_filtered_reads: 0
machdep.xcpm.pcps_rt_override_mode: 0
machdep.xcpm.io_cst_control_enabled: 0
machdep.xcpm.ring_boost_enabled: 0
machdep.xcpm.io_epp_boost_enabled: 0
machdep.xcpm.epp_override: 0
machdep.xcpm.perf_hints: 0
machdep.xcpm.pcps_rt_override_ns: 0

 

1.png

 

 

I hope someone has an idea on where I should start fixing this crazy XCPM behaviour :D Thanks!

 

Edited by Allubz
Link to comment
Share on other sites

Hi! I followed https://dortania.github.io/OpenCore-Install-Guide/ and https://dortania.github.io/OpenCore-Install-Guide/config.plist/haswell.html but my Catalina USB stick can't boot, it gets the screen all scrambled after a while

By guide advise, I have set this settings on UEFI Firmware

Disable
- Fast Boot
- Secure Boot
- Serial/COM Port
? Parallel Port
- VT-d (can be enabled if you set DisableIoMapper to YES)
- CSM ? Thunderbolt
? Intel SGX
? Intel Platform Trust
- CFG Lock (MSR 0xE2 write protection) CodeRush's UEFI patch

Enable
- VT-x
- Above 4G decoding
? Hyper-Threading
- Execute Disable Bit
- EHCI/XHCI Hand-off
? OS type: Windows 8.1/10 UEFI Mode
? DVMT Pre-Allocated(iGPU Memory): 64MB
- SATA Mode: AHCI

? means, not found in BIOS menus...may be there, but I wasn't able to find it

BIOS is upgraded to latest from Huananzhi website, patched with UBU to get all 4 updated microcodes for the CPU and patched CFG Lock with CodeRush's UEFI patch, flashed with no issues at all

Also ran Sanity Check and the warnings are minimal https://opencore.slowgeek.com/?file=broadwelle063I7iVSS&rs=broadwelle063

boot-log.jpeg.a19d86219806d018fa4102e4d5e42348.jpeg

EFI.zip

opencore-2020-11-24-095813.txt.zip

scramble_screen.jpeg.5a9eb0b9fb3594fe20b5d6fe4cadab8a.jpeg

Link to comment
Share on other sites

On 11/13/2020 at 8:40 PM, Cclown98 said:

I have a github repo for x99 opencore config if you wanna have a look

https://github.com/Cclown98/X99-OPENCORE-EFI-CATALINA-BIGSUR

 

Hi @Cclown98! using your EFI my install USB won't boot, can you take a look?

 

Note: EFI folder remove resources subfolder to fit upload

 

Thanks a lot!

opencore-2020-11-24-194557.txt.zip

EFI.zip

Link to comment
Share on other sites

On 11/24/2020 at 2:56 PM, razor7 said:

 

Hi @Cclown98! using your EFI my install USB won't boot, can you take a look?

 

Note: EFI folder remove resources subfolder to fit upload

 

Thanks a lot!

opencore-2020-11-24-194557.txt.zip

EFI.zip

 

you can try with the bios made by [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]-engineer which is a lot better and more optimized that the one provided by huanazhi
https://github.com/BIOS-iEngineer/HUANANZHI-X99-F8
that's the one i based the work on and the one i use on my personal hackintosh

  • Like 1
Link to comment
Share on other sites

19 hours ago, Cclown98 said:

 

you can try with the bios made by #####-engineer which is a lot better and more optimized that the one provided by huanazhi
https://github.com/BIOS-iEngineer/HUANANZHI-X99-F8
that's the one i based the work on and the one i use on my personal hackintosh

 

Great @Cclown98 but there's an issue, BIOS developer said to me that I need to flash that BIOS with a programmer device https://github.com/BIOS-iEngineer/HUANANZHI-X99-F8/issues/7

 

Did you just flashed the mobo with the BIOS file and FPT or AFUWIN64 (Aptio V)? and in case you flashed directly from BIOS-iEngineer repo, can you share the exact BIOS file used and the flashing method and commands? I think my x99-F8 is rev 2.0

 

Thanks!

Link to comment
Share on other sites

On 11/25/2020 at 11:55 PM, Cclown98 said:

 

you can try with the bios made by #####-engineer which is a lot better and more optimized that the one provided by huanazhi
https://github.com/BIOS-iEngineer/HUANANZHI-X99-F8
that's the one i based the work on and the one i use on my personal hackintosh

Can you show the result of the Geekbench/Cinebench test?

Edited by AslashA
Link to comment
Share on other sites

Tiny update XCPM 11.1 Beta (20C5061b)  X99/X299

  • Like 2
Link to comment
Share on other sites

On 12/4/2020 at 11:25 PM, AslashA said:

Which of these patches are replacing AppleXcpmExtraMsrs in OpenCore?

more or less like this

 

Cpuid1Data    ===>  xcpm_bootstrap_HASwell_E (c) Pike R. Alpha Modify By N.Mano

AppleXcpmExtraMsrs  ===>  other patches xcpm

  • Like 1
Link to comment
Share on other sites

I still get an error while installing.

IMG_0641.thumb.jpg.296563306270cb704f94a23c97351b3e.jpg

 

I also tried with custom dsdt, removing unnecessary PCIx and UNCx. Tried it through patches in OpenCore with UNC and RTC0 ssdt. Nothing helps(( Who will tell you what's the matter?

I attach my experimental EFI folder.

EFI.zip

  • Like 1
Link to comment
Share on other sites

45 minutes ago, AslashA said:

I still get an error while installing.

IMG_0641.thumb.jpg.296563306270cb704f94a23c97351b3e.jpg

 

I also tried with custom dsdt, removing unnecessary PCIx and UNCx. Tried it through patches in OpenCore with UNC and RTC0 ssdt. Nothing helps(( Who will tell you what's the matter?

I attach my experimental EFI folder.

EFI.zip

If you install OS X to SSD Hard Drive please connect sata cable through Motherboard.

Some PCIe sata card not mounting.

Link to comment
Share on other sites

9 minutes ago, nmano said:

If you install OS X to SSD Hard Drive please connect sata cable through Motherboard.

Some PCIe sata card not mounting.

I install it on nvme ssd and sata ssd. Everything is connected correctly.

Edited by AslashA
Link to comment
Share on other sites

×
×
  • Create New...