Ryzen 7000 Testing

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,178
Thanks. I'm blaming the lack of sleep and doing the job of two people at work. Copied it from the artefacts and this is the only change apparently...


 

Attachments

  • CpuidPatches.c.zip
    11.7 KB · Views: 2

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
For some amusement, these were my escapades with Lint:

Screenshot 2022-11-19 at 4.44.30 PM.png
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Thanks. I'm blaming the lack of sleep and doing the job of two people at work. Copied it from the artefacts and this is the only change apparently...


Please try this version, edited with BBEdit and <tabs> replaced with <spaces>
 

Attachments

  • CpuidPatches.c.zip
    11.8 KB · Views: 1

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,178

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
@ExtremeXT I have a problem (I don't know if it's an EFI or OC problem)

I did a clean installation of ventura 13.0... and everything went well, then I configured everything and wanted to update to 13.0.1 which is 400 and a few megabytes... well it doesn't update, the update is downloaded, it restarts and starts from MacOS installer, Then it restarts again and it starts from the disk where I have Ventura installed, but the MacOS Installer disk still appears in the OC selection menu, I have tried it 4 times, it does the whole process of installing the update but when I enter the desktop again it is still at 13.0 and the update appears again in General / software update 🤪
 

DarkSilentSC

Active member
AMD OS X Member
Joined
Jun 4, 2021
Messages
122
Interim Update #17:
  • We are also starting to look into Aquantia 10GbE connectivity issues on Monterey and Ventura
    • There may not be an easy answer for this, so we should temper our expectations
    • I've installed the card in my X670E system, and the driver recognizes and attaches to the card in both Monterey and Ventura, but when an Ethernet cable is connected, both operating systems freeze
    • This is emblematic of Vt-d issues
Exactly same symptom on my AQC107 on Gigabyte X570 Aorus Xtreme in 0.8.6, Monterey 12.5. Gladly would become a test subject for this troubleshooting.
 

mariettosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
468

mariettosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
468
@CaseySJ :
1668931556182.png

I am trying in my system Official Opencore Debug and Shaneee OpenCore Debug PR
I use BootloaderChooser to have in my EFI all boot loaders I like to test in different situations.
This is a grab of debug txt:
1668931786787.png

and these are outputs of:
OFFICIAL:
Code:
Last login: Sun Nov 20 08:56:46 on console
fabio@Mac-Pro ~ % sysctl -a | grep -e tsc -e freq
kern.hv.clock.tsc_base: 203033896015
kern.hv.clock.tsc_clock_last: 0
net.link.fake.switch_mode_frequency: 10
net.pktsched.netem.sched_output_ival_ms: 1
net.pktsched.netem.heap_size: 2048
net.pktsched.verbose: 0
hw.busfrequency: 408000000
hw.busfrequency_min: 408000000
hw.busfrequency_max: 408000000
hw.cpufrequency: 3700000000
hw.cpufrequency_min: 3700000000
hw.cpufrequency_max: 3700000000
hw.tbfrequency: 1000000000
machdep.tsc.nanotime.tsc_base: 176339750178
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1160800684
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.tsc.frequency: 3700004105
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.at_boot: 0
machdep.tsc.rebase_abs_time: 47659339052
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
fabio@Mac-Pro ~ %

Shaneee PR:
Code:
Last login: Sun Nov 20 09:00:39 on console
fabio@Mac-Pro ~ % sysctl -a | grep -e tsc -e freq
kern.hv.clock.tsc_base: 288764325769
kern.hv.clock.tsc_clock_last: 0
net.link.fake.switch_mode_frequency: 10
net.pktsched.netem.sched_output_ival_ms: 1
net.pktsched.netem.heap_size: 2048
net.pktsched.verbose: 0
hw.busfrequency: 408000000
hw.busfrequency_min: 408000000
hw.busfrequency_max: 408000000
hw.cpufrequency: 3700000000
hw.cpufrequency_min: 3700000000
hw.cpufrequency_max: 3700000000
hw.tbfrequency: 1000000000
machdep.tsc.nanotime.tsc_base: 263716912440
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1160800553
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.tsc.frequency: 3700004522
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.at_boot: 0
machdep.tsc.rebase_abs_time: 71274754068
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
fabio@Mac-Pro ~ %

I think is not good to have applied this patch on AMD systems <> Zen4
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
@CaseySJ :
View attachment 8613

I am trying in my system Official Opencore Debug and Shaneee OpenCore Debug PR
I use BootloaderChooser to have in my EFI all boot loaders I like to test in different situations.
This is a grab of debug txt:
View attachment 8614

and these are outputs of:
OFFICIAL:
Code:
Last login: Sun Nov 20 08:56:46 on console
fabio@Mac-Pro ~ % sysctl -a | grep -e tsc -e freq
kern.hv.clock.tsc_base: 203033896015
kern.hv.clock.tsc_clock_last: 0
net.link.fake.switch_mode_frequency: 10
net.pktsched.netem.sched_output_ival_ms: 1
net.pktsched.netem.heap_size: 2048
net.pktsched.verbose: 0
hw.busfrequency: 408000000
hw.busfrequency_min: 408000000
hw.busfrequency_max: 408000000
hw.cpufrequency: 3700000000
hw.cpufrequency_min: 3700000000
hw.cpufrequency_max: 3700000000
hw.tbfrequency: 1000000000
machdep.tsc.nanotime.tsc_base: 176339750178
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1160800684
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.tsc.frequency: 3700004105
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.at_boot: 0
machdep.tsc.rebase_abs_time: 47659339052
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
fabio@Mac-Pro ~ %

Shaneee PR:
Code:
Last login: Sun Nov 20 09:00:39 on console
fabio@Mac-Pro ~ % sysctl -a | grep -e tsc -e freq
kern.hv.clock.tsc_base: 288764325769
kern.hv.clock.tsc_clock_last: 0
net.link.fake.switch_mode_frequency: 10
net.pktsched.netem.sched_output_ival_ms: 1
net.pktsched.netem.heap_size: 2048
net.pktsched.verbose: 0
hw.busfrequency: 408000000
hw.busfrequency_min: 408000000
hw.busfrequency_max: 408000000
hw.cpufrequency: 3700000000
hw.cpufrequency_min: 3700000000
hw.cpufrequency_max: 3700000000
hw.tbfrequency: 1000000000
machdep.tsc.nanotime.tsc_base: 263716912440
machdep.tsc.nanotime.ns_base: 0
machdep.tsc.nanotime.scale: 1160800553
machdep.tsc.nanotime.shift: 0
machdep.tsc.nanotime.generation: 2
machdep.tsc.frequency: 3700004522
machdep.tsc.deep_idle_rebase: 1
machdep.tsc.at_boot: 0
machdep.tsc.rebase_abs_time: 71274754068
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0
fabio@Mac-Pro ~ %

I think is not good to have applied this patch on AMD systems <> Zen4
@mariettosun,

Can you elaborate on the issue? We know how to restrict the new frequencies to just Zen 4 and older APUs, but I would like to understand the issue further.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Is this on one of yr Intel Hackintoshes or did you actually get Continuity Camera to work on yr X670E Hero mobo?
Continuity Camera works on my Asus X670E Gene with a Fenvi FV-T919 (Broadcom WiFi/BT).
 

etorix

Active member
AMD OS X Member
Joined
Oct 7, 2022
Messages
72
I think is not good to have applied this patch on AMD systems <> Zen4
At least Zen2/3 APUs have been shown to benefit from the patch. The compute dies are the same, whether there is an iGPU or not.
It's not clear why the sync issue in compute dies would be worse, or would only occur, when an iGPU is present in the package/within the IO die.
But it's also not clear why the same compute dies would require different TSC parameters depending on the presence of an iGPU.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Uncrustify has passed!!
All checks have passed. We still have time to make changes to our pull request, but the window of opportunity will close in two weeks. So if we need to make changes, now is the time.
 
Last edited:

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
Continuity Camera works on my Asus X670E Gene with a Fenvi FV-T919 (Broadcom WiFi/BT).
Interesting, the Gigabyte user just has a black screen, same for everyone on AM4, what GPU are you using?
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Interesting, the Gigabyte user just has a black screen, same for everyone on AM4, what GPU are you using?
I have a PowerColor RX 6800.

The Fenvi has been removed at the moment and replaced with AQC-113C (Asus Gene has only one slot other than x16 for GPU). I can double-check soon.
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
The PR got merged! Now we just need to wait until OC 0.8.7 is released officially for AM5 to be available to everyone. Until then we should work on the MMIO guide.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
** OpenCore Pull Request Accepted and Merged **

vit9696 himself accepted and merged our
FSB/TSC pull request two hours ago! Woohoo!

0CF4361C-1B3C-446E-A7DD-FEF8174FAC9F.jpeg
 
Last edited:

PoMpIs

Well-known member
AMD OS X Member
Joined
Jul 8, 2021
Messages
292
Is this on one of yr Intel Hackintoshes or did you actually get Continuity Camera to work on yr X670E Hero mobo?

The continuity camera, as @CaseySJ says, works with the FENVI-919 or with official apple cards.

In my case I always replace the intel wiffi of the motherboards with this one that MacOS recognizes OOTB as its own airport

 
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.