Ryzen 7000 Testing

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Currently using 11 but I'm sure 1 works or at least did before.
Please try the attached AppleALC with alcid=15. I've separated the front and rear headphones and also changed the path map for the front headphone. One or two additional iterations may be needed.
 

Attachments

  • AppleALC.kext.zip
    1.3 MB · Views: 4

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,183
Please try the attached AppleALC with alcid=15. I've separated the front and rear headphones and also changed the path map for the front headphone. One or two additional iterations may be needed.

Dude that done the trick :D Thanks a lot.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Dude that done the trick :D Thanks a lot.
Glad to hear it. By the way, auto-switching of the front and rear headphone jacks doesn't seem to be working on AMD. But we can still treat both jacks separately and they'll both work.
 

CaseySJ

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

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,183
It used to work lol tbh though I never remove the jack anyway so it's no biggie. I've got a combo adapter for my headset so I can always test mic stuff. Maybe use the mic on macOS rather than using it on Windows when gaming ;)
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843

Shaneee

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

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Some intermediate findings:
  • Before sound can be input or output, it's necessary for at least 4 parameters to be set properly:
    • Power State -- state 0 means fully powered up
    • Pin Sense -- determine if anything is connected to an audio jack -- should be 0x80000000 if something is connected, 0x0 otherwise
    • Input Enable -- on all input jacks, the Input Enable bit must be set to 1
    • Amplifier Gain and Mute -- gain (volume) setting must be non-zero and mute bit must be off (set to 0)
  • For a microphone, let's consider this path map consisting of 3 "widgets" (yes, that's the correct term):
    • Pin (audio jack) 0x18
    • Mixer 0x22
    • Audio Input 0x09
  • Every widget along the path must:
    • ... be fully powered up
    • ... not be in mute state
  • The Pin widget (0x18) should have gain of 0x01 or 0x02 or 0x03
  • The Pin widget (0x18) should also have pin sense high (0x80000000)
  • The Pin widget (0x18) should also have Input Enable bit set to 1
  • The Audio Input widget (0x09) is where the input volume is actually adjusted, so its Gain setting can vary from 0x00 to 0x3F (for this motherboard)
In the screenshots below we can see nearly all of the above. We can also see that moving the Volume slider in System Preferences --> Sound --> Input changes the Gain setting on the Audio Input node (0x09) from 0x3F down to 0x00.

Case 1: Input Volume at maximum. We can see Gain of node 0x9 also at maximum 0x3F:
Screen Shot 2022-12-11 at 12.49.59 PM.png

Case 2: Input Volume at 75%. We can see Gain of node 0x9 also at 75% of maximum or 0x2F:
Screen Shot 2022-12-11 at 12.50.24 PM.png

Case 3: Input Volume at 50%. We can see Gain of node 0x9 also at 50% of maximum or 0x1F:
Screen Shot 2022-12-11 at 12.50.39 PM.png

Case 4: Input Volume at 0%. We can see Gain of node 0x9 also at 0% or 0x00:
Screen Shot 2022-12-11 at 12.51.01 PM.png
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Continuation of Previous Post:
  • There are two parts to any High Definition Audio (HDA) implementation:
    • The controller
    • The codec
  • All audio processing takes place within the codec
    • The codec is the ‘sound card’
  • The codec is independent of the system bus, which means the same codec (sound card) can be mated to a PCI bus or a USB bus, etc.
  • If it’s mated to a PCI bus, there is a PCI controller associated with the codec
  • The PCI controller interfaces the codec with the PCI bus, which means it provides configuration space registers, configures and controls DMA, configures and controls interrupts, configures and controls PCI capabilities, etc.
  • The codec itself implements a bus-independent command and control interface through “verbs”
    • In English, a verb is any word that indicates an action, an occurrence or a state of being
    • Codec verbs also indicate an action to be taken (a command), an occurrence (does a particular capability or connection exist), and a state of being (current state or status of any particular node)
  • If we look at IOReg of an Intel board containing PCI audio (not USB) we will see and HDEF parent device and below that an IOHDACodecDevice:
    • The controller HDEF -- Vendor ID 0x8086 (Intel)
    • The codec IOHDACodecDevice -- generally Vendor ID 0x10EC (Realtek)
  • Common controllers on AMD are:
    • Vendor ID 0x1022 (AMD)
    • Device ID 0x1457 or 0x1487 or 0x15E3
  • On an AMD board, audio output works properly, but not audio input (microphone and Line In)
  • The codec, however, appears to be set up and controlled properly as the previous post shows
  • So if only the input fails, where might the problem lie? Some possibilities include:
    1. Starting and stopping the audio input stream
    2. Setting up or accessing the input stream DMA buffers (each stream requires its own DMA buffer)
    3. Interrupts not being triggered on input stream
    4. … other …
  • In other words, the problem may lie somewhere in the AppleHDAController kext, which interfaces with the controller
 
Last edited:

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
Radeon RX 7900 XT and XTX previews are up on YouTube. No benchmarks, just unboxing and physical tour of the card.
The review embargo has expired, hence all the benchmarks and reviews are up on YouTube.
 

CaseySJ

Guru
Guru
Donator
Joined
May 10, 2020
Messages
1,269
I’ve been spending some time lately on my Gigabyte B550 Vision D. The new Ryzen 5 5700X will be installed this weekend, but before that surgery takes place, I’m trying to find and fix as many remaining issues as possible.

...
The new Ryzen 7 5700X was just installed, replacing the Ryzen 7 3700X. A nice bump in performance:
  • 26% increase in single-core performance
  • Only 1% improvement in multi-core?
Screen Shot 2022-12-12 at 3.54.57 PM.pngScreen Shot 2022-12-11 at 3.15.25 PM.png
 

Bansaku

Member
AMD OS X Member
Joined
May 3, 2020
Messages
93
@CaseySJ Hey, I too upgraded my R7 3700X over the weekend, to a GLORIOUS R7 5800X3D! It's a beast! Now on to Ventura and testing out that new AppleGB.kext.



Screen Shot 2022-12-12 at 6.24.47 PM.png Screen Shot 2022-12-10 at 1.18.21 AM.png
 

CaseySJ

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

ovenlite1

Active member
AMD OS X Member
Joined
Jun 22, 2020
Messages
106
The review embargo has expired, hence all the benchmarks and reviews are up on YouTube.
What do you think? Will you take the plunge? Everything seemed about expected, performance-wise. Knowing the reviews would be up today and the gpus on sale tomorrow, I rushed to get the x670e-i system up and running, including spoofing the 6950xt for use in macOS. Hit a couple of snags but with the system up and running now (full write up to come soon in another post, need to clean things up still), I feel more inclined to wait it out and see if macOS support for rdna 3 comes later… Maybe I’ll take a look tomorrow to see how stock looks. Though, last time I hopped in AMD’s queue thinking I had no chance of snagging anything, but here I am now with a 6950xt 🤣
 

CaseySJ

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

mariettosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
469
Screenshot 2022-12-13 at 7.39.39 PM.pngfull installer released (13.1) as previous RC
 

mariettosun

Guru
Guru
AMD OS X Member
Joined
Oct 9, 2022
Messages
469
Trying to boot installer of 12.0 on a B650-PLUS wifi with Zen5 7600x. But im stuck here. i used ssdts posted here from casey maybe they need to get adjusted?
Files are here : https://easyupload.io/gmywt6
View attachment 9043
you have to set your MMIO and you also miss this kext AppleMCEReporterDisabler.kext
Code:
8:044 00:007 OCABC: MMIO devirt 0xF0000000 (0x8000 pages, 0x800000000000100D) skip 0
18:056 00:012 OCABC: MMIO devirt 0xFD000000 (0x1E00 pages, 0x800000000000100D) skip 0
18:064 00:008 OCABC: MMIO devirt 0xFEE00000 (0x1 pages, 0x8000000000000001) skip 0
18:072 00:007 OCABC: MMIO devirt 0xFEE01000 (0x11FF pages, 0x800000000000100D) skip 0
18:080 00:007 OCABC: MMIO devirt 0x880000000 (0x20200 pages, 0x800000000000100D) skip 0
 
Last edited:
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.