Ryzen 7000 Testing

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
@drmeatball
I'll send you a revised EFI in ~30 minutes when I get home.
 

Galve2000

Donator
Donator
AMD OS X Member
Joined
Sep 19, 2020
Messages
234
To me personally as if it says that I am using chameleon, as long as it works well that does not matter 😆

Ahh the "good ol' days" -- I remember them well :D

I have an X670 Creator that I've been too lazy to build b/c I am still tinkering with my X570 Creator, I also have 7950X.

would it be helpful if I beta tested or do we know everything we need to from the systems already in use?

I have never run a debug version of OC, but it's never too late to start, right?
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Ahh the "good ol' days" -- I remember them well :D

I have an X670 Creator that I've been too lazy to build b/c I am still tinkering with my X570 Creator, I also have 7950X.

would it be helpful if I beta tested or do we know everything we need to from the systems already in use?

I have never run a debug version of OC, but it's never too late to start, right?
We have too few data points at the moment so yes I would encourage you to test the X570 Creator. The fix we made affects all AMD processors whether they have on-board GPU or not, so the more variety of processors we test, the better.
 

Galve2000

Donator
Donator
AMD OS X Member
Joined
Sep 19, 2020
Messages
234
I would encourage you to test the X570 Creator.

I was mostly asking about the X670 Creator when I offered.. but.. I guess I am here to serve.. and learn.

I'm running Ventura on my X570. it's been a downgrade from Monterey for me. should I still proceed, or is this Gold Master for Monterey only?
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
I was mostly asking about the X670 Creator when I offered.. but.. I guess I am here to serve.. and learn.

I'm running Ventura on my X570. it's been a downgrade from Monterey for me. should I still proceed, or is this Gold Master for Monterey only?
The patched version of OpenCore.efi applies to all versions of macOS.

It would be good to test both X570 and X670 because that will cover two different AMD processors.

We'd like to cover as many different AMD processors as possible regardless of AM4, AM5, etc.
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843

hvv_

Member
AMD OS X Member
Joined
Sep 8, 2022
Messages
30
Yes, I promised to do that and I will hold myself to that pledge. The weekend is here so you can expect an update soon. It is, however, 1:50am in Silicon Valley, which means I woke up about 40 minutes early. Which also means I’m sitting by the fireplace sipping a nice hot cup of pour-over coffee while enjoying this Zen moment…oh oh I mean this Zen 4 moment.
@CaseySJ
Any update?
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Just stepped out for lunch. Will test Aquantia as soon as I get back. I’m also eager to see if it will work. In Ventura, Apple has deepened its adoption of Vt-d, which can be a problem for us, but in that case we can try injecting the Aquantia driver from Big Sur or Monterey.
 

hvv_

Member
AMD OS X Member
Joined
Sep 8, 2022
Messages
30
Just stepped out for lunch. Will test Aquantia as soon as I get back. I’m also eager to see if it will work. In Ventura, Apple has deepened its adoption of Vt-d, which can be a problem for us, but in that case we can try injecting the Aquantia driver from Big Sur or Monterey.

Thanks, and I hope you have a good lunch!

Apple has implemented Apple-VTD since macOS Monterey 12.3 so I guess you will have to get it from macOS Big Sur.
 

drmeatball

Donator
Donator
AMD OS X Member
Joined
Jul 17, 2020
Messages
25
@drmeatball What exact motherboard do you have?

Sorry for the late reply!

ASRock Steel Legend X670E

128GB, 6900XT



It was the best of all the models my local Microcenter had in stock that supported 4 NVME on day 1.

Only using 3 USB ports: 2 for keyboard and mouse, 1 USB3 for a 16 port hub everything else plugs into. No wifi, no onboard audio. Unfortunately there is no option to disable the igpu in the bios (yet, hopefully, I emailed asking for it as a feature)
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
Sorry for the late reply!

ASRock Steel Legend X670E

128GB, 6900XT



It was the best of all the models my local Microcenter had in stock that supported 4 NVME on day 1.
Okay, can you make an USB Map from Windows? Once done, replace UTBMap.kext here with your own.
 

Attachments

  • ASRock_X670E_Steel_Legend_EFI_OC_0.8.7.zip
    5.2 MB · Views: 8

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Thanks, and I hope you have a good lunch!

Apple has implemented Apple-VTD since macOS Monterey 12.3 so I guess you will have to get it from macOS Big Sur.
Does your Aquantia port work in Big Sur?

But not in Monterey and Ventura?
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
@CaseySJ The Beta 3 OC works with no changes as the vanilla one on my AM4 machine. Do you think it's ready for PR? I'd create it so Acidanthera has time to tell us if we need to change anything with it...
 

hvv_

Member
AMD OS X Member
Joined
Sep 8, 2022
Messages
30
Does your Aquantia port work in Big Sur?

But not in Monterey and Ventura?

Yes, It works perfectly on Big Sur and Monterey 12.2.1
on my Ryzen 3900XT machine I currently still have on macOS Monterey 12.2.1 (The version before the one where Apple implemented Apple-VTD)
on it the Aquantia NIC works perfectly.

Unfortunately, I accidentally formatted the USB with the installation media of Monterey 12.2.1
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
@CaseySJ The Beta 3 OC works with no changes as the vanilla one on my AM4 machine. Do you think it's ready for PR? I'd create it so Acidanthera has time to tell us if we need to change anything with it...
I've made one last change, which is to log Family and ExtFamily in hex rather than decimal. I'm just testing it now. No need for wider beta on this minor change.

Regarding Pull Request on acidanthera, I think it's only fair if @Shaneee submits it so that the historical record in Git carries his name.
C:
  // For AMD Processors
  if (CpuInfo->Family == 0xF && (CpuInfo->ExtFamily == 0x8 || CpuInfo->ExtFamily == 0xA)) {
        DEBUG ((DEBUG_INFO, "OCAK: Setting FSB and TSC for Family 0x%x and ExtFamily 0x%x\n", (UINT16)CpuInfo->Family, (UINT16)CpuInfo->ExtFamily));

        busFreqValue    = CpuInfo->FSBFrequency;
        busFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), busFreqValue, NULL);
        busFCvtn2tValue = DivU64x64Remainder(((1000000000ULL) << 32), busFCvtt2nValue, NULL);

        tscFreqValue    = CpuInfo->CPUFrequency;
        tscFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), tscFreqValue, NULL);
        tscFCvtn2tValue = DivU64x64Remainder(((1000000000ULL)  << 32), tscFCvtt2nValue, NULL);
  }
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Code Change Verified:

35:211 00:021 OCAK: Setting FSB and TSC for Family 0xF and ExtFamily 0xA
35:224 00:013 OCAK: BusFreq = 102272790Hz, BusFCvtt2n = 41995210026, BusFCvtn2t = 102272790
35:237 00:012 OCAK: TscFreq = 4500002771Hz, TscFCvtt2n = 954436589, TscFCvtn2t = 4500002771
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
@Shaneee,

Because the credit for this belongs to you, we would like you to consider submitting the Pull Request to OpenCorePkg repo on GitHub.

The final code is as follows:

C:
  //
  // Perform TSC and FSB calculations. This is traditionally done in tsc.c in XNU.
  //
  // For AMD Processors
  if (CpuInfo->Family == 0xF && (CpuInfo->ExtFamily == 0x8 || CpuInfo->ExtFamily == 0xA)) {
        DEBUG ((DEBUG_INFO, "OCAK: Setting FSB and TSC for Family 0x%x and ExtFamily 0x%x\n", (UINT16)CpuInfo->Family, (UINT16)CpuInfo->ExtFamily));
        busFreqValue    = CpuInfo->FSBFrequency;
        busFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), busFreqValue, NULL);
        busFCvtn2tValue = DivU64x64Remainder(((1000000000ULL) << 32), busFCvtt2nValue, NULL);

        tscFreqValue    = CpuInfo->CPUFrequency;
        tscFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), tscFreqValue, NULL);
        tscFCvtn2tValue = DivU64x64Remainder(((1000000000ULL)  << 32), tscFCvtt2nValue, NULL);
  }
  // For all other processors
  else {
        busFreqValue    = CpuInfo->FSBFrequency;
        busFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), busFreqValue, NULL);
        busFCvtn2tValue = DivU64x64Remainder (0xFFFFFFFFFFFFFFFFULL, busFCvtt2nValue, NULL);

        tscFreqValue    = CpuInfo->CPUFrequency;
        tscFCvtt2nValue = DivU64x64Remainder ((1000000000ULL << 32), tscFreqValue, NULL);
        tscFCvtn2tValue = DivU64x64Remainder (0xFFFFFFFFFFFFFFFFULL, tscFCvtt2nValue, NULL);
  }
 

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
I am entertaining myself with the Ryzentosh... I never thought that the audio would end up working...

And everything works 100%, even being on the same network as the laptop, the ryzen has connected with universal control

Captura de pantalla 2022-11-19 a las 22.50.10.png

Works just as well as Alder Lake and Raptor Lake

And all thanks to you who are geniuses .. good job



Captura de pantalla 2022-11-19 a las 23.09.49.png
 

svan71

Donator
Donator
AMD OS X Member
Joined
Oct 24, 2020
Messages
123
I am building a Asus Strix B650E for a friend with a 7700x, I will have it for a few days so I can try a Mac install on it. If there is anything I can provide I'd be more than happy to.
 
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.