Contribute
Register

GPU SSDT not working

Joined
Feb 25, 2021
Messages
10
Motherboard
X79
CPU
E5-2640v2
Graphics
RX 550
Hello!
I sucessfully installed Big Sur on a x79 motherboard with OC 0.6.6.
But I still have a problem, I can't get the RX550 4GB graphics to work.
ScreenShot.png


I found a SSDT showing how to fake ID a RX550. (check "SSDT-DELL-5820-X299-RX550.aml")
I edited the part of GPU ACPI path to mine:
1002:699f /PCI0@0/NPE3@2/GFX0@0
But still didn't work.
check "SSDT-RX550_0.aml"

I also tried converting this:
"SSDT-RX580- Version 1.0.aml" https://www.tonymacx86.com/threads/amd-radeon-performance-enhanced-ssdt.296555/#post-2110697
But still didn't work
check "SSDT-RX550_1.aml"

Tried this too: https://github.com/acidanthera/WhateverGreen/blob/master/Manual/Sample.dsl
It didn't work.
And later I noticed that my GPU doesn't have "PEGP" so I changed to "GFX0"
check "SSDT-RX550_2.aml"

Please I really need help.
Maybe I'm doing something wrong, or the SSDT might need an update or a different code, "buffer" numbers might be wrong.
I really don't know what else to do.
I've never done this GPU SSDT thing before.
Somebody please help me.

+ Other methods that I tried:
I tried to inject the fake ID on OC "DeviceProperties" using this method:
https://www.tonymacx86.com/threads/...core-macos-big-sur.306669/page-2#post-2217966
+
https://www.tonymacx86.com/threads/...core-macos-big-sur.306669/page-3#post-2221996
But it didn't work.
It only changed the model name.
It didn't inject the device + vendor fake ID, so I still got the "7MB" graphics problem.

GPU-SPOOF also didn't work.
https://dortania.github.io/Getting-Started-With-ACPI/Universal/spoof.html
 

Attachments

  • SSDT-RX550_0.aml
    1.3 KB · Views: 13
  • SSDT-RX550_1.aml
    554 bytes · Views: 16
  • SSDT-RX550_2.aml
    347 bytes · Views: 12
  • SSDT-DELL-5820-X299-RX550.aml
    1.3 KB · Views: 9
Last edited:
Joined
May 11, 2011
Messages
1,187
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
It’s quite simple to do. As I presume you have no iGPU you’re only using a Xeon E5 (Sandy Bridge EP?) your AMD card IS working already, just not accelerated.

All you need to do is go here and download the app. Select the SMBIOS you’re using plus your graphics card model and it will generate a custom AGPMInjector.kext for your card. > https://github.com/Pavo-IM/AGPMInjector

Once that’s done, put the file into your EFI/OC/Kexts folder and add it and enable it with your plist editor. Also add SSDT-PLUG.aml from Dortania into your EFI/OC/ACPI folder and enable that too. After that reboot, reset your NVRAM, reboot again and it should work.
Just make sure you’d removed any previous GPU spoof files from the EFI folder.

If after adding this you still struggle, you could also try adding agpdmod=pikera into your NVRAM boot-args.
 
Joined
Feb 25, 2021
Messages
10
Motherboard
X79
CPU
E5-2640v2
Graphics
RX 550
It’s quite simple to do. As I presume you have no iGPU you’re only using a Xeon E5 (Sandy Bridge EP?) your AMD card IS working already, just not accelerated.

All you need to do is go here and download the app. Select the SMBIOS you’re using plus your graphics card model and it will generate a custom AGPMInjector.kext for your card. > https://github.com/Pavo-IM/AGPMInjector

Once that’s done, put the file into your EFI/OC/Kexts folder and add it and enable it with your plist editor. Also add SSDT-PLUG.aml from Dortania into your EFI/OC/ACPI folder and enable that too. After that reboot, reset your NVRAM, reboot again and it should work.
Just make sure you’d removed any previous GPU spoof files from the EFI folder.

If after adding this you still struggle, you could also try adding agpdmod=pikera into your NVRAM boot-args.
I tried and it didn't work.
But thanks for trying to help me.

It seems like OC is not there yet when it comes to GPU fake ID.
I got back to Clover for now, and it's working fine.
screenshot.png


But I still wish to make it work on OC because the system boots faster and it looks more stable.
So if anyone find a solution for this problem, please let me know.
 
Joined
May 11, 2011
Messages
1,187
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
You need to have created a AGPMInjector kext using Pavo’s tool for you card. Then editing the Info.plist inside, change the device ID to your current GPU’s device Id. This ID can be found with Hackintool PCIe or Windows device manager. Also add the device-id to your graphics card IOReg device properties in reverse-byte-order with trailing 0000. eg. 70A10000. Make sure in your config.plist Kernel section that Lilu, Whatevergreen and VirtualSMC loads before everything else.

Shiki boot-args no longer works in Big Sur so you must use agpdmod=pikera.
 

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,397
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
I tried and it didn't work.
But thanks for trying to help me.

It seems like OC is not there yet when it comes to GPU fake ID.
I got back to Clover for now, and it's working fine.
View attachment 518242

But I still wish to make it work on OC because the system boots faster and it looks more stable.
So if anyone find a solution for this problem, please let me know.
Use Hackintool to extract the PCi devices plist.
Upload it. I will try to help you with OC config.plist
Hackintool PCIe devices .png
 
Joined
Feb 25, 2021
Messages
10
Motherboard
X79
CPU
E5-2640v2
Graphics
RX 550
You need to have created a AGPMInjector kext using Pavo’s tool for you card. Then editing the Info.plist inside, change the device ID to your current GPU’s device Id. This ID can be found with Hackintool PCIe or Windows device manager. Also add the device-id to your graphics card IOReg device properties in reverse-byte-order with trailing 0000. eg. 70A10000. Make sure in your config.plist Kernel section that Lilu, Whatevergreen and VirtualSMC loads before everything else.

Shiki boot-args no longer works in Big Sur so you must use agpdmod=pikera.
I already know the ID, it's "1002:699f". And the "info.plist" inside shows the same original ID. But I need to fake to "67FF" and not keep the original one.
 
Joined
Feb 25, 2021
Messages
10
Motherboard
X79
CPU
E5-2640v2
Graphics
RX 550
Use Hackintool to extract the PCi devices plist.
Upload it. I will try to help you with OC config.plist
View attachment 518243
I attached the file, thanks for trying to help me.

And now I noticed that the audio is "baffin" and only the video is "lexa pro"
Code:
[ Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/5 Display controller   VGA compatible contr 0/NPE3@2/GFX0@0 display         PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)
[ Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560 Multimedia controlle Audio device         ci1002,aae0@0,1 pci1002,aae0    PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)
So would that make the "audio" native supported?
 

Attachments

  • pcidevices.plist
    17.9 KB · Views: 3
Last edited:

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,397
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
I attached the file, thanks for trying to help me.

And now I noticed that the audio is "baffin" and only the video is "lexa pro"
Code:
[ Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/5 Display controller   VGA compatible contr 0/NPE3@2/GFX0@0 display         PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)
[ Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560 Multimedia controlle Audio device         ci1002,aae0@0,1 pci1002,aae0    PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)
So would that make the "audio" native supported?
Give this a try. If you need to inject more devices add them. I stripped it down to just the VGA card. We can also add the model (name if you want) if it works, and the name is wrong.
 

Attachments

  • pcidevices.plist
    8.7 KB · Views: 4
Joined
Feb 25, 2021
Messages
10
Motherboard
X79
CPU
E5-2640v2
Graphics
RX 550
Give this a try. If you need to inject more devices add them. I stripped it down to just the VGA card. We can also add the model (name if you want) if it works, and the name is wrong.
So I only add the " DeviceProperties" part on my config.plist, right?
Code:
    <key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0/0,0</string>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>device-id</key>
                <data>/2cAAA==</data>
                <key>vendor-id</key>
                <data>AhAAAA==</data>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
 

Gigamaxx

Moderator
Joined
May 15, 2016
Messages
6,397
Motherboard
GIGABYTE X470 Arous Gaming 7 WiFi
CPU
Ryzen R9 3900X
Graphics
RX 480
Mac
  1. iMac
So I only add the " DeviceProperties" part on my config.plist?
Code:
    <key>DeviceProperties</key>
    <dict>
        <key>Add</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0/0,0</string>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>device-id</key>
                <data>/2cAAA==</data>
                <key>vendor-id</key>
                <data>AhAAAA==</data>
            </dict>
        </dict>
        <key>Delete</key>
        <dict/>
    </dict>
Yes that is all that I left in there. I removed the others. If you need the others for internet, wifi etc.. replace them as you need. I have found that sometimes doing audio for example can effect VGA. So try this alone if you can and then add until it breaks if needed.
 
Top