Contribute
Register

[Success] AMD RX6000 Series working in macOS

It's cosmetic/a red herring!

MaciASL will not automatically add the .aml extension if you edit an SSDT's name. The SSDT-BRG0 table is still read as an ACPI Machine Language Binary.
 
The SSDT-SBG0 is set to use _SB.PC00.PEG1.PEGP

The gfxutil entry shows the RX 6650 XT as follows:

Screenshot 2023-01-01 at 20.29.25.png


Don't you need to take in to account the pci-bridge@0 section, which goes before the GFX0 part of the path to get the full path?

Corpnewt's SSDTTime has an option for discovering PCI-Bridge entries, did you try using that option to discover the full path?

You have cut off the end of the path in the IOReg screenshot, by overlaying another screen on the end of the GPU path, so we can't tell what else might be required. We can only assume it shows the same entries as gfxutil.

Screenshot 2023-01-01 at 20.30.03.png


Show us how you have the SSDT-SBG0 listed in your config.plist.
  • Your description of how you added the SSDT to the config doesn't sound correct, i.e. you saved the config before undertaking the OC Clean Snapshot.
  • I would always undertake the OC Clean Snapshot in ProperTree and then save the revised config.plist.
 
I would always undertake the OC Clean Snapshot in ProperTree and then save the revised config.plist.

hey Guys thank you all for replying! I tried doing the snapshot and then saving and also something I saw somewhere on a another post adding agdpmod=pikera -radcodec in boot args under NVRAM
I don’t know which one did it but it is now working!!
 
The agdpmod=pikera boot argument fixed the issue.

The other boot argument can be removed, as it is a fix for DVI connector problems that affected older AMD GPU’s.
 
I was able to boot with my XTXH variant (ASROCK RX 6900 XT OC Formula) but I have been unsuccessful all day at getting hardware acceleration working. I'm not great with SSDTs but tried a half dozen variants for GPU spoofing I found linked here and elsewhere.

From MacOS, I get these:

gfxutil:
Code:
/PC01@0/BR1A@0/SL01@0/pci-bridge@0/display@0 = PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
IOService:
Code:
/AppleACPIPlatformExpert/PC01@0/AppleACPIPCI/BR1A@0/IOPP/SL01@0/IOPP/pci-bridge@0/IOPP/display@0

gfxutil:
Code:
/PC01@0/BR1A@0/SL01@0/pci-bridge@0/pci1002,ab28@0,1 = PciRoot(0x1)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x1)
IOService:
Code:
/AppleACPIPlatformExpert/PC01@0/AppleACPIPCI/BR1A@0/IOPP/SL01@0/IOPP/pci-bridge@0/IOPP/pci1002,ab28@0,1

From Windows, I get these:
Code:
ACPI(_SB_)#ACPI(PC01)#ACPI(BR1A)#ACPI(SL01)#PCI(0000)#PCI(0000)
ACPI(_SB_)#ACPI(PC01)#ACPI(BR1A)#ACPI(PEGP)#PCI(0000)#PCI(0000)


So that's my first hangup - I get two strings instead of one for my card. I think the 2nd represents HDMI audio? FWIW, the HDMI audio is a static garbled mess at the moment... which is odd because it kind of sounded ok the first hour of troubleshooting this.

I'm not sure what to put in the various lines in my dsl file. Most recently:
Code:
DefinitionBlock ("", "SSDT", 2, "ACDT", "BRG0", 0x00000000)
{
    External (_SB_.PC01.BR1A.SL01, DeviceObj)

    Scope (_SB.PC01.BR1A.SL01)
    {
        Device (BRG0)
        {
            Name (_ADR, Zero)

            Device (GFX0)
            {
                Name (_ADR, Zero)  // _ADR: Address
            }
        }
   }
}

Device (BRG0) <- I believe this absorbs "pci-bridge@0"?
Device (GFX0) <- likewise this absorbs "display@0"?

I have the compiled aml file enabled in config.plist along with the device-id (see screenshot) and appropriate boot args: -v npci=0x2000 keepsyms=1 alcid=1 debug=0x100 agdpmod=pikera -TSC_sync_margin=0

Closest I've gotten is causing the screen to go black on load or, as is the current case, instant reboot when the login screen would otherwise appear. I feel like I'm missing something.
 

Attachments

  • Screenshot 2023-01-14 at 9.22.31 PM.png
    Screenshot 2023-01-14 at 9.22.31 PM.png
    22.1 KB · Views: 25
  • Screenshot 2023-01-14 at 9.40.25 PM.png
    Screenshot 2023-01-14 at 9.40.25 PM.png
    340.2 KB · Views: 25
  • Screenshot 2023-01-14 at 9.45.00 PM.png
    Screenshot 2023-01-14 at 9.45.00 PM.png
    191.5 KB · Views: 29
Last edited:
Please clarify: What is output from ./gfxutil -f gfx0 ?
 

Attachments

  • METAL SCORE rx 6900 xt 2.png
    METAL SCORE rx 6900 xt 2.png
    324.6 KB · Views: 60
  • 39E69CC6-7313-4FD6-BEB9-F54A81B2CD8A.jpg
    39E69CC6-7313-4FD6-BEB9-F54A81B2CD8A.jpg
    1.1 MB · Views: 53
Kind people, tell me, is this paragraph a mistake?If so, how can I fix it?
 

Attachments

  • Снимок экрана 2022-12-11 в 00.25.34.png
    Снимок экрана 2022-12-11 в 00.25.34.png
    165.3 KB · Views: 47
Back
Top