Ryzen 7000 Testing

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
Few things spring to mind having reviewed the EFI and config.plist.

1. Order of Lilu.kext and VirtualSMC.kext is interrupted by NVMeFix.kext and RestrictEvents.kext, i.e. these two Lilu plugin kexts are loaded after Lilu, but before VirtualSMC.kext.
I always thought VirtualSMC.kext had to be the first plugin following Lilu. Is that not the case?

2. Have you tried setting SecureBootModel to Disabled instead of Default.
I know you are using the MacPro7,1 SMBIOS and it is normally set with SecureBootModel > Default. But as this is an unsupported setup, running Secure Boot mode set as 'medium' might cause a KP, when expected settings are not present.

3. Adding RadeonSensor.kext and SMCRadeonGPU.kext makes little sense to me as these kexts aren't usually essential to having a working RX6000 series GPU.
As both kexts contain 'executable' code within them, wouldn't it be better to wait till the system is up and running before adding these two non-essential kexts.

Otherwise it looks good.

They are almost all disabled

KiEUNVj.png
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
I have tried several times... reset the bios, with Resibar enable and disable... nothing works

the first time I booted with AmdTscSync it showed this:

View attachment 7437


on the following attempts it seems different:

View attachment 7438
This issue is happening because the CPU cores cannot communicate properly, because of this XNU panics instead of continuing. I can try making a patch to disable the panic, but I'm not sure if it'll cause problems later on... I think our best bet is to wait for AMD to fix the issues (maybe we can submit a bug report? You should try running Linux, see if it works fine...). You can try booting with cpus=1 which should make it boot with only one core/thread. At least we'll know if we encounter any other problems if we fix this one...

Don't bother with changing BIOS, leave the following:
Above4G and Resizable BAR Support: Enabled
SVM: Enabled

Plist:
no npci in boot-args
ResizeAppleGpuBars -> 0

I will do more research about it tomorrow, but I don't really think we can fix it ourselves.

Few things spring to mind having reviewed the EFI and config.plist.

1. Order of Lilu.kext and VirtualSMC.kext is interrupted by NVMeFix.kext and RestrictEvents.kext, i.e. these two Lilu plugin kexts are loaded after Lilu, but before VirtualSMC.kext.
I always thought VirtualSMC.kext had to be the first plugin following Lilu. Is that not the case?

2. Have you tried setting SecureBootModel to Disabled instead of Default.
I know you are using the MacPro7,1 SMBIOS and it is normally set with SecureBootModel > Default. But as this is an unsupported setup, running Secure Boot mode set as 'medium' might cause a KP, when expected settings are not present.

3. Adding RadeonSensor.kext and SMCRadeonGPU.kext makes little sense to me as these kexts aren't usually essential to having a working RX6000 series GPU.
As both kexts contain 'executable' code within them, wouldn't it be better to wait till the system is up and running before adding these two non-essential kexts.

Otherwise it looks good.
VirtualSMC doesn't have to be loaded before Kexts that don't depend on it, like NVMeFix. I don't think SecureBootModel or GPU Kexts would cause this issue, but I guess they could try disabling them...

- ExtremeXT
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,186
Out of curiosity can you try booting with a single RAM stick. If that doesn't change disable XMP or EXPO.
 

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
Out of curiosity can you try booting with a single RAM stick. If that doesn't change disable XMP or EXPO.

I have already tried that many times, having the memory profile active or turned off does nothing :LOL:

cpus=1 doesn't work either

nothing works o_O
 

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
@Shaneee

I have a computer running 24/7 with unraid as nas, and I have it configured in netboot... I have activated LAN boot in ryzen and I have loaded UBUNTU

Everything works fine and you are right cpu family is 25

Can you help us with something Linux?

Because here the Ryzen works everything, network, audio, RX6800XT...

Screenshot at 2022-10-01 22-51-35.png


Screenshot at 2022-10-01 22-56-58.png
 
Last edited:

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
Okay @PoMpIs,

I have done some changes to @ExtremeXT's EFI file which should help such as enabled the (expected) PTXH USB renames, added -no_compat_check (to get past the EB|LOG:EXITBS:START), rearranged the kexts (Lilu/WEG, AMDRyzenCPUPowerManagement was not loading first before SMCAMDProcessor), SetupVirtualMap was enabled, deleted OCValidate.exe etc.

Try it now.
 

Attachments

  • EFI.zip
    7.2 MB · Views: 11

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
Okay @PoMpIs,

I have done some changes to @ExtremeXT's EFI file which should help such as enabled the (expected) PTXH USB renames, added -no_compat_check (to get past the EB|LOG:EXITBS:START), rearranged the kexts (Lilu/WEG, AMDRyzenCPUPowerManagement was not loading first before SMCAMDProcessor), SetupVirtualMap was enabled, deleted OCValidate.exe etc.

Try it now.

Come on, let's try it right now.. 😁

in 5 minutes I give you the result
 

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
Also set SecureBootModel to Disabled.
 

Middleman

Active member
AMD OS X Member
Joined
Jan 29, 2021
Messages
723
@PoMpIs,

One thing I do want to mention to you. How I managed to get the Atari VCS Picasso APU to boot was that I used the following device properties plus enabled Whatevergreen. I may have enabled npci=0x2000 but that was about it - and it booted straight into Monterey.

Screen Shot 2022-10-02 at 9.33.57 AM.png

So looking at your situ, AMD IGPU PCIRoot address we're using is our main concern, because it is currently the same (thus clashing) with your RX6800 on Slot-2. Because it is not an Intel IGPU, the OS is looking for the correct platform-id to match as it boots up. Because the Picasso was added sometime ago into the macOS AMD GPU stack (as Apple was likely experimenting with alternative AMD GPU based builds for laptop), that's why it was able to boot.

Unfortunately it seems @ExtremeXT's disable-gpu setting under the IGPU doesn't seem to work.

Anyways I have just created a new config.plist from @ExtremeXT's latest config.plist and added the AMD Raphael IGPU details into it using PCIRoot PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x0) and also changed the SMBIOS to iMacPro1,1. See if it boots.
 

Attachments

  • config.plist
    34.6 KB · Views: 1

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
@PoMpIs,

One thing I do want to mention to you. How I managed to get the Atari VCS Picasso APU to boot was that I used the following device properties plus enabled Whatevergreen. I may have enabled npci=0x2000 but that was about it - and it booted straight into Monterey.

View attachment 7445

So looking at your situ, AMD IGPU PCIRoot address we're using is our main concern, because it is currently the same (thus clashing) with your RX6800 on Slot-2. Because it is not an Intel IGPU, the OS is looking for the correct platform-id to match as it boots up. Because the Picasso was added sometime ago into the macOS AMD GPU stack (as Apple was likely experimenting with alternative AMD GPU based builds for laptop), that's why it was able to boot.

Unfortunately it seems @ExtremeXT's disable-gpu setting under the IGPU doesn't seem to work.

Anyways I have just created a new config.plist from @ExtremeXT's latest config.plist and added the AMD Raphael IGPU details into it using PCIRoot PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x0) and also changed the SMBIOS to iMacPro1,1. See if it boots.

Tested...

There is no way to boot macOS on this Ryzen :LOL:

1ABB7713-AD17-470E-9CF3-4B59FF18835C.jpeg

Now I'm going to sleep for a few hours, then we'll continue fighting with this ryzen and MacOS

Thank you very much everyone for the help, it is a pleasure to do tests like this 🤗
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
@PoMpIs Can you try this DEBUG EFI? Boot macOS and when it gets stuck again take a screenshot, boot back to another OS and zip the log file + the SysReport file at the root of the EFI partition.

- ExtremeXT
 

Attachments

  • EFI.zip
    7.5 MB · Views: 6

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,186
Definitely seems to be TSC related I think. Give this a go.
 

Attachments

  • EFI.zip
    7.2 MB · Views: 6

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
Definitely seems to be TSC related I think. Give this a go.
Hmm, what did you change? I see no changes related to TSC.
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,186
Hmm, what did you change? I see no changes related to TSC.

Kernel patches. Added a few older ones back. Same method that got the Lenovo builds to initially boot without cpus=1
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
Give this a try, it's the old EFI + @Shaneee's TSC kernel patches + some new fixes I added, hopefully this gets it booting...

- ExtremeXT
 

Attachments

  • EFI.zip
    7 MB · Views: 8

craighazan

Donator
Donator
Joined
Nov 22, 2021
Messages
346
Hello!!!

I'm ready again to keep trying :D

I'm going to try those EFI and I'll tell you
Don't give up, progress is being made!.
 
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.