Ryzen 9000

Ejh4286

Member
AMD OS X Member
Joined
Oct 30, 2021
Messages
65
I installed a Ryzen 9700 into a Asus Strix B650E-
F (latest BIOS) that was successfully booting Sequoia Beta 4. Using latest kexts, patches, etc. I was not really expecting it to boot on the first try and I was right. See screen shot attached. Has anyone else tried to Hackintosh a Ryzen 9000 series yet?
 

Attachments

  • IMG_2618.jpeg
    9.4 MB · Views: 82

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
Ok this is strange. Threads are correct but there's an extra 2 cores coming from somewhere... I need some more info from Linux,

Bash:
sudo apt-get install cpuid

sudo cpuid -r | grep 0x8000001e

This is to check if the the code OC is running is still valid for these CPUs.

C++:
        //
        // Get core count from CPUID
        //
        if (Cpu->MaxExtId >= 0x8000001E) {
          AsmCpuid (0x8000001E, NULL, &CpuidEbx, NULL, NULL);
          Cpu->CoreCount = (UINT16)DivU64x32 (
                                     Cpu->ThreadCount,
                                     (BitFieldRead32 (CpuidEbx, 8, 15) + 1)
                                     );
        }

If it's different I'm not too sure how we'd seperate it for the 9900X specifically as OC detects the same info as from the 9950X

Code:
00:065 00:009 OCCPU: Signature B40F40 Stepping 0 Model 44 Family F Type 0 ExtModel 4 ExtFamily B uCode 0 CPUID MAX (10/80000028)
 

ssuper2k

Member
AMD OS X Member
Joined
Aug 14, 2021
Messages
36
specs:
| [CPU][AMD Ryzen 9 9900X 4.4 GHz 12-Core Processor]
| [CPU Cooler][Thermalright Phantom Spirit 120 SE 66.17 CFM CPU Cooler]
| [Thermal Compound][ARCTIC MX-6 4 g Thermal Paste]
| [Motherboard][Asus TUF GAMING B650M-PLUS Micro ATX AM5 Motherboard]
| [Memory][Corsair Vengeance 128 GB (4 x 32 GB) DDR5-5600 CL40 Memory]
| [Storage][Samsung 980 Pro 2 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive](disabled with nvme=-1)
| [Video Card][XFX Speedster MERC 310 Radeon RX 7900 XT 20 GB Video Card](disabled, owner said he doesn't need acceleration)
| [Case][NZXT H5 Flow (2022) ATX Mid Tower Case]
| [Power Supply][Corsair RM1000e (2023) 1000 W 80+ Gold Certified Fully Modular ATX Power Supply]
| [Case Fan][ARCTIC P12 PWM PST 56.3 CFM 120 mm Fan x3]
RX 7900 XT 20 GB Video Card ????

Why bother with macOS then ?
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
550
@Alex4querty ask him to execute command shaneee said to see if it could be possible also for 9900x cpu
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
Also as a test try booting with the boot arg cpus=1
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
@fabiosun Could you also run the command please for comparison. That way it can be updated for all 9000 series to something that works on them all.
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
550
No linux here sorry
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
550
sysctl machdep.cpu.feature_bits


machdep.cpu.feature_bits: 9140110466969500671


fabio@fabios-Mac-Pro ~ %
@Shaneee if you have a command for terminal
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
You should be able to run this on a live USB of Linux too.
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
550
1727118493674.png
 

fabiosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
550
Code:
ubuntu@ubuntu:~$ sudo cpuid -r | grep 0x8000001e
   0x8000001e 0x00: eax=0x00000000 ebx=0x00000100 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000002 ebx=0x00000101 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000004 ebx=0x00000102 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000006 ebx=0x00000103 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000008 ebx=0x00000104 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000a ebx=0x00000105 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000c ebx=0x00000106 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000e ebx=0x00000107 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000010 ebx=0x00000108 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000012 ebx=0x00000109 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000014 ebx=0x0000010a ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000016 ebx=0x0000010b ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000018 ebx=0x0000010c ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001a ebx=0x0000010d ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001c ebx=0x0000010e ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001e ebx=0x0000010f ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000001 ebx=0x00000100 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000003 ebx=0x00000101 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000005 ebx=0x00000102 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000007 ebx=0x00000103 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000009 ebx=0x00000104 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000b ebx=0x00000105 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000d ebx=0x00000106 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000000f ebx=0x00000107 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000011 ebx=0x00000108 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000013 ebx=0x00000109 ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000015 ebx=0x0000010a ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000017 ebx=0x0000010b ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x00000019 ebx=0x0000010c ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001b ebx=0x0000010d ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001d ebx=0x0000010e ecx=0x00000000 edx=0x00000000
   0x8000001e 0x00: eax=0x0000001f ebx=0x0000010f ecx=0x00000000 edx=0x00000000
ubuntu@ubuntu:~$
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
Appreciate it. Can this build be tested on both CPUs please. Preferably using a USB just in case it doesn't boot. Please provide a OC Log.
 

Attachments

  • OpenCore-1.0.2-DEBUG.zip
    6.7 MB · Views: 5

leesurone

Donator
Donator
AMD OS X Member
Joined
May 6, 2020
Messages
493
Ok this is strange. Threads are correct but there's an extra 2 cores coming from somewhere... I need some more info from Linux,

Bash:
sudo apt-get install cpuid

sudo cpuid -r | grep 0x8000001e

This is to check if the the code OC is running is still valid for these CPUs.

C++:
        //
        // Get core count from CPUID
        //
        if (Cpu->MaxExtId >= 0x8000001E) {
          AsmCpuid (0x8000001E, NULL, &CpuidEbx, NULL, NULL);
          Cpu->CoreCount = (UINT16)DivU64x32 (
                                     Cpu->ThreadCount,
                                     (BitFieldRead32 (CpuidEbx, 8, 15) + 1)
                                     );
        }

If it's different I'm not too sure how we'd seperate it for the 9900X specifically as OC detects the same info as from the 9950X

Code:
00:065 00:009 OCCPU: Signature B40F40 Stepping 0 Model 44 Family F Type 0 ExtModel 4 ExtFamily B uCode 0 CPUID MAX (10/80000028)
Here you go

0x8000001e 0x00: eax=0x00000000 ebx=0x00000100 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000002 ebx=0x00000101 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000004 ebx=0x00000102 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000006 ebx=0x00000103 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000008 ebx=0x00000104 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000a ebx=0x00000105 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000c ebx=0x00000106 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000e ebx=0x00000107 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000010 ebx=0x00000108 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000012 ebx=0x00000109 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000014 ebx=0x0000010a ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000016 ebx=0x0000010b ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000018 ebx=0x0000010c ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001a ebx=0x0000010d ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001c ebx=0x0000010e ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001e ebx=0x0000010f ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000001 ebx=0x00000100 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000003 ebx=0x00000101 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000005 ebx=0x00000102 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000007 ebx=0x00000103 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000009 ebx=0x00000104 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000b ebx=0x00000105 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000d ebx=0x00000106 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000000f ebx=0x00000107 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000011 ebx=0x00000108 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000013 ebx=0x00000109 ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000015 ebx=0x0000010a ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000017 ebx=0x0000010b ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x00000019 ebx=0x0000010c ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001b ebx=0x0000010d ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001d ebx=0x0000010e ecx=0x00000000 edx=0x00000000
0x8000001e 0x00: eax=0x0000001f ebx=0x0000010f ecx=0x00000000 edx=0x00000000
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
Appreciate it. Can this build be tested on both CPUs please. Preferably using a USB just in case it doesn't boot. Please provide a OC Log.

Confirmed to still work on 9950x. Just need the problematic 9900x to test it now.
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,315
So this is reading the cores directly from the CPUID and still not working. It’s strange. Can you share the EFI please.
 
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.