Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
Code:
00:000 00:000 OC: OpenCore is now loading (Vault: 0/0, Sign 0/0)...
00:040 00:040 OC: Boot timestamp - 2020.01.14 03:57:35
00:088 00:047 OCCPU: No MP services - Not Found
00:129 00:040 OCCPU: Hypervisor: 0
00:169 00:040 OCCPU: Found Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
00:209 00:040 OCCPU: Signature 206C2 Stepping 2 Model 2C Family 6 Type 0 ExtModel 2 ExtFamily 0 uCode 1F
00:250 00:040 OCCPU: Detected Apple Processor Type: 05 -> 0501
00:368 00:118 OCCPU: Ratio Min 12 Max 26 Current 0 Turbo 28 28 27 27
00:421 00:052 OCCPU: Timer address is 408 from LPC
00:563 00:142 OCCPU: CPUFrequencyFromTSC  3457999409Hz  3457MHz
00:603 00:040 OCCPU: CPUFrequency  3457999409Hz  3457MHz
00:643 00:040 OCCPU: FSBFrequency   132999977Hz   132MHz
00:683 00:040 OCCPU: Pkg 1 Cores 6 Threads 12
.................................................
07:308 00:040 OC: Current version is DBG-055-2020-01-13
OpenCore 055 still not detecting dual CPU's (package count does not work)
This line is new:
Code:
00:088 00:047 OCCPU: No MP services - Not Found
 
Last edited:
  • Like
Reactions: w1z

w1z

macrumors 6502a
Aug 20, 2013
692
481
Code:
00:000 00:000 OC: OpenCore is now loading (Vault: 0/0, Sign 0/0)...
00:040 00:040 OC: Boot timestamp - 2020.01.14 03:57:35
00:088 00:047 OCCPU: No MP services - Not Found
00:129 00:040 OCCPU: Hypervisor: 0
00:169 00:040 OCCPU: Found Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
00:209 00:040 OCCPU: Signature 206C2 Stepping 2 Model 2C Family 6 Type 0 ExtModel 2 ExtFamily 0 uCode 1F
00:250 00:040 OCCPU: Detected Apple Processor Type: 05 -> 0501
00:368 00:118 OCCPU: Ratio Min 12 Max 26 Current 0 Turbo 28 28 27 27
00:421 00:052 OCCPU: Timer address is 408 from LPC
00:563 00:142 OCCPU: CPUFrequencyFromTSC  3457999409Hz  3457MHz
00:603 00:040 OCCPU: CPUFrequency  3457999409Hz  3457MHz
00:643 00:040 OCCPU: FSBFrequency   132999977Hz   132MHz
00:683 00:040 OCCPU: Pkg 1 Cores 6 Threads 12
.................................................
07:308 00:040 OC: Current version is DBG-055-2020-01-13
OpenCore 055 still not detecting dual CPU's (package count does not work)
This line is new:
Code:
00:088 00:047 OCCPU: No MP services - Not Found

So basically dual CPUs are not fully detected with SMBIOS spoofing unless VMM flag is turned on? If this is true, then the limitation (or restriction) is built-in / hardcoded in macOS as the VMM flag is clearly bypassing it.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
It looks like without the VMM flag you are running on 1 CPU.

Not really, this problem also exist on single CPU setup. That's why I asked if your CPU perform normally if VMM flag OFF.

Even if only one CPU is recognised. the single thread speed shouldn't be half. Therefore, it should be all cores can only deliver half of the performance, but not only half of the cores working.
[automerge]1578992307[/automerge]
So below are my scores for Geekbench 5 on Catalina


OC - No Spoof - No VM Flag - 659/6875
OC - No Spoof - VMM Flag - 625/6752

OC - iMac Pro Spoofing - VM Flag - 307/ 3756
OC - iMac Pro Spoofing - VMM Flag - 626/6713

I'd love to figure out whats going on with the score using VM flag on.

From my observation, when VMM flag is ON, the CPU clock speed is locked at its base clock (e.g. For X5690, which means 3.46GHz).

It can't go lower even idle, therefore, idle power consumption per CPU will raise from about ~5W to ~10W.

It also can't go higher, therefore, the GB score is a bit lower (for both single and multi thread) due to no Turbo Boost.
 
Last edited:
  • Like
Reactions: aacemyan and w1z

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
@tsialex can you comment on this?
"This firmware does not have EFI MP services protocol (No MP services - Not Found), thus we cannot detect the amount of CPUs. If you know an approach to do this without EFI MP services, let us know. In any case this thing is merely cosmetics, so nothing bad happens if they are undetected. "
Code:
00:088 00:047 OCCPU: No MP services - Not Found
 

tsialex

Contributor
Jun 13, 2016
13,454
13,601
@tsialex can you comment on this?
"This firmware does not have EFI MP services protocol (No MP services - Not Found), thus we cannot detect the amount of CPUs. If you know an approach to do this without EFI MP services, let us know. In any case this thing is merely cosmetics, so nothing bad happens if they are undetected. "
Code:
00:088 00:047 OCCPU: No MP services - Not Found
MP Services Protocol is part of the UEFI standard, v1.2 I believe. Since MP5,1 is EFI 1.10…
 

tsialex

Contributor
Jun 13, 2016
13,454
13,601
  • Like
Reactions: startergo

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
Why? AFAIK dual CPU detection is working fine.

The problem is TurboBoost and down clock, no?

TurboBoost can be achieved with something like this, very interesting read btw:

Well they actually implemented something like turbo boost. Our problem is that they cannot detect the current boost ratio i.e. they cannot define the current operational state (power management?) of the processor and it is defaulted to some fallback value.
 

cdf

macrumors 68020
Original poster
Jul 27, 2012
2,256
2,583
Is there a way to monitor power management? I was planning on using Intel Power Gadget, but unfortunately, it does not support dual-CPU systems.
 

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
it does not support dual-CPU systems.
That is the whole problem. All utilities from Intel or in the hackintosh world do not work on dual CPU's.
So here is the code for correcting the turbo ratio. Let's see if we can find the error. Why is Westmere's flex ratio not detected? Is it written in a different register like all those excluded CPU models?
Code:
VOID
OcCpuCorrectFlexRatio (
  IN OC_CPU_INFO  *Cpu
  )
{
  UINT64  Msr;
  UINT64  FlexRatio;

  if (Cpu->Vendor[0] == CPUID_VENDOR_INTEL
    && Cpu->Model != CPU_MODEL_GOLDMONT
    && Cpu->Model != CPU_MODEL_AIRMONT
    && Cpu->Model != CPU_MODEL_AVOTON) {
    Msr = AsmReadMsr64 (MSR_FLEX_RATIO);
    if (Msr & FLEX_RATIO_EN) {
      FlexRatio = BitFieldRead64 (Msr, 8, 15);
      if (FlexRatio == 0) {
        //
        // Disable Flex Ratio if current value is 0.
        //
        AsmWriteMsr64 (MSR_FLEX_RATIO, Msr & ~((UINT64) FLEX_RATIO_EN));
      }
    }
  }
 

Syncretic

macrumors 6502
Apr 22, 2019
311
1,533
"This firmware does not have EFI MP services protocol (No MP services - Not Found), thus we cannot detect the amount of CPUs. If you know an approach to do this without EFI MP services, let us know. In any case this thing is merely cosmetics, so nothing bad happens if they are undetected. "
I've been too busy to actually play with OC, but I've been following this thread with interest. Much of UEFI (post-EFI1.10) is backward-compatible. It should be fairly straightforward to create a standalone EFI driver containing EFI_MP_SERVICES_PROTOCOL (extracted from UEFI). As I understand it, OpenCore is itself an EFI application, so loading another EFI driver should fit the model.

As to whether or not EFI_MP_SERVICES_PROTOCOL is actually necessary, I'm not currently in a position to know (as I said, I haven't actually loaded OC anywhere yet). The v3x4 driver that @tsialex posted looks very interesting, though. Maybe someday I'll have time to actually try this stuff out...
 
  • Like
Reactions: Ludacrisvp

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
I am more concerned about the power management and the CPU ratio than multiple CPU's detection. At least single CPU's could work properly.
 
  • Like
Reactions: h9826790

Vaporshark

macrumors newbie
Jan 12, 2020
6
0
I tried to Activate AMD hardware acceleration with Lilu + WhateverGreen. I have Mac Pro 4.1 Intel Xeon W3680 + R580 Sapphire

H264 working but hevc not. if hevc acceleration works then could i use sidecar?

and one more question. Is there any advantage (Mac pro 5.1) with catalina over mojave? (I use the mac for mainly video editing and image processing. )

many thanks!
 
Last edited:

Ludacrisvp

macrumors 6502a
May 14, 2008
797
363
Thanks, that got it working for HS booting, couldn't test Catalina as for some reason the apfs driver doesn't load, even tho I added it to OC's drivers folder and added it to your config.plist???
Have you looked at opening an issue tracking this?
 

Ludacrisvp

macrumors 6502a
May 14, 2008
797
363
Man the OpenCore devs certainly aren’t very accommodating to education of the users of their product.

It seemed like we were having a reasonable exchange discussing the behavior and then he decided it was a hackintosh config claiming I didn’t read the manual at all and locked it. Had he allowed a response from me instead of just locking it I would have explained that I had indeed RTFM and the config I currently have is like it is essentially out of the mind set of trying everything to get the GOP portion to work and to get h264 & HEVC encode/decode and the potential for a painless upgrade of / to catalina. Sure he did give me some suggestions on things to not use but he was also apparently so irritated he didn’t want to continue to look at it.

I reported on *Observed behavior* to gain some insight as to how it is expected to behave but I’m clearly just an idiot. I may not code for a living but I’m certainly in the trenches of a FreeBSD based platform on the daily.

Context:
 
Last edited:

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
Code:
sysctl -a | grep cpu
hw.ncpu: 24
hw.activecpu: 24
hw.physicalcpu: 12
hw.physicalcpu_max: 12
hw.logicalcpu: 24
hw.logicalcpu_max: 24
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 1463508716
hw.cpufrequency: 3460000000
hw.cpufrequency_min: 3460000000
hw.cpufrequency_max: 3460000000
hw.cputhreadtype: 1
machdep.cpu.max_basic: 11
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
machdep.cpu.family: 6
machdep.cpu.model: 44
machdep.cpu.extmodel: 2
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 2
machdep.cpu.feature_bits: 188838921972218879
machdep.cpu.extfeature_bits: 5034215680
machdep.cpu.signature: 132802
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT AES PCID
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF RDTSCP TSCI
machdep.cpu.logical_per_package: 32
machdep.cpu.cores_per_package: 16
machdep.cpu.microcode_version: 31
machdep.cpu.processor_flag: 0
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 4384
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 1
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.arch_perf.version: 3
machdep.cpu.arch_perf.number: 4
machdep.cpu.arch_perf.width: 48
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 4
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 48
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.size: 256
machdep.cpu.tlb.inst.small: 64
machdep.cpu.tlb.inst.large: 7
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.large: 32
machdep.cpu.tlb.shared: 512
machdep.cpu.address_bits.physical: 40
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 6
machdep.cpu.thread_count: 12
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
machdep.xcpm.cpu_thermal_level: 0
So when :
Code:
<key>PlatformInfo</key>
    <dict>
        <key>Automatic</key>
        <false/>
        <key>UpdateDataHub</key>
        <false/>
        <key>UpdateNVRAM</key>
        <false/>
        <key>UpdateSMBIOS</key>
        <false/>
        <key>UpdateSMBIOSMode</key>
        <string>Create</string>
The frequency is read correctly.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
Code:
sysctl -a | grep cpu
hw.ncpu: 24
hw.activecpu: 24
hw.physicalcpu: 12
hw.physicalcpu_max: 12
hw.logicalcpu: 24
hw.logicalcpu_max: 24
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 1463508716
hw.cpufrequency: 3460000000
hw.cpufrequency_min: 3460000000
hw.cpufrequency_max: 3460000000
hw.cputhreadtype: 1
machdep.cpu.max_basic: 11
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
machdep.cpu.family: 6
machdep.cpu.model: 44
machdep.cpu.extmodel: 2
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 2
machdep.cpu.feature_bits: 188838921972218879
machdep.cpu.extfeature_bits: 5034215680
machdep.cpu.signature: 132802
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT AES PCID
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF RDTSCP TSCI
machdep.cpu.logical_per_package: 32
machdep.cpu.cores_per_package: 16
machdep.cpu.microcode_version: 31
machdep.cpu.processor_flag: 0
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 4384
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 1
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 0
machdep.cpu.thermal.fine_grain_clock_mod: 0
machdep.cpu.thermal.package_thermal_intr: 0
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 0
machdep.cpu.arch_perf.version: 3
machdep.cpu.arch_perf.number: 4
machdep.cpu.arch_perf.width: 48
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 4
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 48
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.size: 256
machdep.cpu.tlb.inst.small: 64
machdep.cpu.tlb.inst.large: 7
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.large: 32
machdep.cpu.tlb.shared: 512
machdep.cpu.address_bits.physical: 40
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 6
machdep.cpu.thread_count: 12
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
machdep.xcpm.cpu_thermal_level: 0
So when :
Code:
<key>PlatformInfo</key>
    <dict>
        <key>Automatic</key>
        <false/>
        <key>UpdateDataHub</key>
        <false/>
        <key>UpdateNVRAM</key>
        <false/>
        <key>UpdateSMBIOS</key>
        <false/>
        <key>UpdateSMBIOSMode</key>
        <string>Create</string>
The frequency is read correctly.

If I understand correctly, that will disable SMBIOS spoofing. So, board ID still 5,1 and HEVC hardware encoding won’t work. Is that correct?
 

tsialex

Contributor
Jun 13, 2016
13,454
13,601
Since we were talking about dual CPU support earlier, let me show a thing that I didn't expect to find inside the 2019 Mac Pro firmware:

Screen Shot 2020-01-15 at 03.04.45.png


After some thinking, I understood why. It's from the codebase of the Purley platform (C620), where it can use 2S/4S/8S Xeons Scalable.

Screen Shot 2020-01-15 at 03.13.25.png
 
Last edited:

startergo

macrumors 603
Sep 20, 2018
5,020
2,282
off topic:
MFC circumvented the T2 protection. So there are ways around the T2 protection:

"Under the hood
It’s finally possible thanks to a custom developed kernel mode driver (AppleSMC.sys). It’s digitally signed with a EV certificate which means you don’t have to change Secure Boot settings. The driver gets installed automatically and removed when you uninstall the app."
 

ColPanic

macrumors newbie
Jan 15, 2020
10
0
Hello, all, new guy here.

For the life of me, I can't seem to get OC to work on my 2010 MP 5,1 with 6-core 3.33GHz Xeon. Everything seems to work but when I go to reboot into OC, nothing happens. I get the chime but nothing more (tried this several times, and the last time I waited 7 hours for it to boot). I know enough with a CL to be dangerous, but can't figure out what I might be doing wrong. Are there any troubleshooting guides available? Thanks in advance for any help.

CP
 

Vaporshark

macrumors newbie
Jan 12, 2020
6
0
Hello, all, new guy here.

For the life of me, I can't seem to get OC to work on my 2010 MP 5,1 with 6-core 3.33GHz Xeon. Everything seems to work but when I go to reboot into OC, nothing happens. I get the chime but nothing more (tried this several times, and the last time I waited 7 hours for it to boot). I know enough with a CL to be dangerous, but can't figure out what I might be doing wrong. Are there any troubleshooting guides available? Thanks in advance for any help.

CP

you have done the smc reset?

"d) Shut down the Mac and do an SMC reset (unplug the power cord, wait 15 seconds, plug the power cord back in, wait 5 seconds, and then press the power button).

Remark: Being installed on Disk A, OC can have trouble seeing Disk B. Doing an SMC reset helps ensure that Disk B is seen when OC starts."
 

rroumen

macrumors member
Apr 7, 2016
35
24
Hello, all, new guy here.

For the life of me, I can't seem to get OC to work on my 2010 MP 5,1 with 6-core 3.33GHz Xeon. Everything seems to work but when I go to reboot into OC, nothing happens. I get the chime but nothing more (tried this several times, and the last time I waited 7 hours for it to boot). I know enough with a CL to be dangerous, but can't figure out what I might be doing wrong. Are there any troubleshooting guides available? Thanks in advance for any help.

CP

What other drives do you have in the system? Please specify which drive has OC and where the OS is. (Internal bay, USB, PCIe)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.