Gpu performance on AMD Hackintosh

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
Hi all, I have a question:
How do I properly use agpminjector for my rx570? I saw a guide that says I need a X86PlatformPlugin to be loaded, but can't find it in the IORegistryExplorer..
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
You just need to use these kexts on a AMD build along with VirtualSMC to use agpinjector.
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
You just need to use these kexts on a AMD build along with VirtualSMC to use agpinjector.
Thanks man!
 

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
1,295
Unless things changed on Big Sur you'll need SSDT-PLUG to enable the X86PlatformPlugin to allow the AGPM to attach.

 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
@Tyoma Heres SSD-PLUG to enable the X86PlatformPlugin.
Ive not tested it on a MSI board but it shouldn't matter and should work fine.
You can check to see if its worked after applying it by checking Energy Saver in System Preferences.
If its working your see the option to Enable Power Nap Showing in there.
Please do let me know if its working for you.
 

Attachments

  • SSDT-PLUG.aml.zip
    875 bytes · Views: 6
Last edited:

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
1,295
For reference here's the one I use on my MSI board. The only real change between systems can be the Scope your CPU sits on. Both mine and the SSDT AudioGod has uploaded use C000 which is the most common on AMD.
 

Attachments

  • SSDT-PLUG.aml.zip
    1,001 bytes · Views: 19

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
Have some problem, while using this SSDT-PLUG... as I insert any usb drive to the same controller as my wireless mouse (Razer Atheris), the mouse get stuck, and I can't move the cursor... :/ as I unplug the drive, my mouse keep working immediately :/
Any suggestions guys? @Shaneee @AudioGod
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
As a side note, Have you tried reseting your NVRam and or rebuilding your cache?
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
I use the regular ssdt from Dortania's guide..

@AudioGod tried Nvram reset.. what is cache rebuilding?

P.S. Maybe it's an issue with my USB ports mapping 🤔
P.S.2 Just found out that it lags only with usb3 drives.. no problems with 2.0 :/
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
What SMBios are you using I can’t remember?
if you're using iMacPro1,1 what are your controller names?
Take a screenshot on your usb via hackintool and show me please buddy?
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
Tried without my usb map kext & SSDT-PLG.. same lag :/
@AudioGod took a screenshot of everything :
Screen Shot 2021-04-20 at 16.35.44.pngScreen Shot 2021-04-20 at 16.39.35.pngScreen Shot 2021-04-20 at 16.41.06.png


(Without usb map, Hackintool can't even show the XHC0's ports .. :/
also attached info.plist from my usb kext
 

Attachments

  • Info.plist
    6 KB · Views: 0

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
Ok so looking at your usb mapping I can see one big mistake going on there with your port assignments.
when you list a port type it doesn’t work on what your sending down it but what the port actually is to start with.
so if you have a USB 3 port and your also sending usb2 down it you list the port as a USB3 port.
HS01 to HS04 on PTXH should all be listed as usb 3 not 2, and the same thing with HS01 to HS04 on XHC0, All should be listed as USB3 (the ports themselves are usb3 ports and that’s what counts)
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
Ok so looking at your usb mapping I can see one big mistake going on there with your port assignments.
when you list a port type it doesn’t work on what your sending down it but what the port actually is to start with.
so if you have a USB 3 port and your also sending usb2 down it you list the port as a USB3 port.
HS01 to HS04 on PTXH should all be listed as usb 3 not 2, and the same thing with HS01 to HS04 on XHC0, All should be listed as USB3 (the ports themselves are usb3 ports and that’s what counts)


My friend, I got lost 😅. I can't get where I'm wrong...
Lets take this port for example:
Screen Shot 2021-04-20 at 19.10.38.png

When I connect an USB2.0 to this port, it appears in this address :
Screen Shot 2021-04-20 at 19.04.26.png

Then, I plug an USB3.0 stick to the same port:
Screen Shot 2021-04-20 at 19.08.12.png

So, where's my mistake? I should name all ports "3", even if it addresses to usb2.0 port?
(Dortania's guide says, that its 2 addresses for USB3.0 port.. one for 2.0 and the second one is for 3.0 and above..)
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
What colour is the port?
if it’s blue it’s not usb2.
You list the port your using not the usb type your sending down it.
Make sense?
 

AudioGod

Guru
Guru
Joined
Nov 7, 2020
Messages
1,344
Example of USB perfectly mapped out .....
1618937397628.png

You have SS01 and HS01 coming out of the same USB Port yet you are telling the OS with your map that SS01 is a USB3 port and HS01 is a USB2 port. This is incorrect as the port is a USB3 port and so you mark it as such regardless if your sending USB2 or 3 down it.
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
What colour is the port?
if it’s blue it’s not usb2.
You list the port your using not the usb type your sending down it.
Make sense?
a sort of.. I don't have any usb2.0 ports on my motherboard... only 3.X
So I changed all "0" ports to "3"..
Screen Shot 2021-04-20 at 23.25.03.png
Didn't help..
Also tried another wireless mouse - same sh*t
No lags with wired mouse :/
It occurs only with usb3 sticks.. no problem with usb2 :?
WTF I'm doing wrong? 😵
 

Tyoma

Donator
Donator
Joined
Mar 1, 2021
Messages
21
I think it has something to do with USB3.0 & 2.4Ghz interference 🤦‍♂️
I just remembered that I had kind of same problem with my MBP.. (it loses 2.4 wifi signal when I connect usb3.0 external SSD).. 🤦‍♂️🤦‍♂️

USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices
A similar impact to wireless mouse performance was noted if a USB 3.0 device, such as a flash drive, was used.
Can't believe I forgot about this 🤦‍♂️
Thank you much guys, and sorry for wasting you time.. 😬
 
Last edited:
Top Bottom