Setup & Software Discussions
AMD Legacy Support for MacOSX
 

AMD Legacy Support for MacOSX  

  RSS

OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 

AMD cards are natively supported on MacOSX only since Polaris (RX400 and RX500). Old cards need patches in order run on MacOSX and esp. as eGPU.

A lot of cards are support by the fine software purge-wrangler and automatic-eGPU, but not all are. A problem child is the XFX 7770 (Cap Verde XT, Device ID 683d), which doesn't work yet.

Posted by: @mac_editor

@oliverb

It may be the case that the GPU does not have a matching framebuffer configuration in macOS, it’s not set to the correct one, or its disabled. In any case, it will require further experimentation to get it going. In AMDLegacySupport you could try adding CFG_USE_AGDC=true in the right place (there should be other CFG variables around) to enable framebuffers. 

https://www.tonymacx86.com/threads/guide-how-to-patch-amd-framebuffers-for-high-sierra-using-clover.235409/

 

Or you could just try lilu and WhateverGreen kexts. 

@mac_editor

I am sure where to add CFG_USE_AGDC=true in AMDLegacySupport, because everywhere where CFG variables around, there is CFG_USE_AGDC=true.

About the WhateverGreen kexts: I assume AMDLegacySupport should be uninstalled first or do they work together?

This topic was modified 1 month ago

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote
Topic Tags
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@oliverb

Ya I think I had added those values when building the legacy kext, but wasn’t sure. 

Yes remove the legacy support kext before trying the other ones. You would need both Lilu and WhateverGreen. 

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 

I get a lot of warnings, lol.

Spoiler
Kext

sudo kextcache -i /

Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9af7cbd930 [0x7fff92530b40]> { URL = "file:///Library/Extensions/WhateverGreen.kext/", ID = "as.vit9696.WhateverGreen" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7f9af4503b90 [0x7fff92530b40]> { URL = "file:///Library/Extensions/Lilu.kext/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67061) allowed: <OSKext 0x7f9af7b30d10 [0x7fff92530b40]> { URL = "file:///System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/", ID = "com.apple.driver.AppleGraphicsDevicePolicy" }

KernelCache ID: 5363D2F5091DC31AF284A6D9F3C545ED

kext file:///System/Library/Extensions/zfs.kext/ is in hash exception list, allowing to load

Kext with invalid signatured (-67061) allowed: <OSKext 0x7fe3e3935b70 [0x7fff92530b40]> { URL = "file:///System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/", ID = "com.apple.driver.AppleGraphicsDevicePolicy" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe3e3aa7110 [0x7fff92530b40]> { URL = "file:///Library/Extensions/Lilu.kext/", ID = "as.vit9696.Lilu" }

Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe3e3accd10 [0x7fff92530b40]> { URL = "file:///Library/Extensions/WhateverGreen.kext/", ID = "as.vit9696.WhateverGreen" }

/Library/Extensions/BJUSBLoad.kext does not appear in strict exception list for architecture: x86_64

Kext with invalid signatured (-67007) allowed: <OSKext 0x7fe3e3ad3730 [0x7fff92530b40]> { URL = "file:///Library/Extensions/BJUSBLoad.kext/", ID = "jp.co.canon.bj.print.BJUSBLoad" }

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 3 years ago
 

Worth linking to evergreen and lilu as folks may not know what they are, I remember them from my hackintosh days but no idea what their status is these days. 

2017 13" MacBook Pro Touch Bar
GTX1060 + AKiTiO Thunder3 + Win10
GTX1070 + Sonnet Breakaway Box + Win10
GTX1070 + Razer Core V1 + Win10
Vega 56 + Razer Core V1 + macOS + Win10
Vega 56 + Mantiz Venus + macOS + W10

---

LG 5K Ultrafine flickering issue fix


OliverB liked
ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 
Posted by: @eightarmedpet

Worth linking to evergreen and lilu as folks may not know what they are, I remember them from my hackintosh days but no idea what their status is these days. 

It won't work for me. I have just installed lilu and whatevergreen kexts in newest version (doing it manuelly by just copying them to /Library/Extensions and kextcaching). It's exactly the same issue, card won't work. And it looks so great and works so fine in Windows. :/

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@oliverb

You’ll have to follow their guides - it’s not as straightforward. IIRC they need to be installed in the System extensions folder. Plus there are various boot args that control the kexts. 

This post was modified 1 month ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 
Posted by: @mac_editor

@oliverb

You’ll have to follow their guides - it’s not as straightforward. IIRC they need to be installed in the System extensions folder. Plus there are various boot args that control the kexts. 

So... that's not nice at all. Would it bring any help/information for you to implement it into purge-wrangler, if it worked with whatevergreen followed by a guide, which is beyond any usability? 

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@oliverb

I would have to think hard before incorporating those solutions because:

  1. It would be very difficult to test them, as the solution is more complicated.
  2. There are different variations/problems - especially framebuffer matching. So we may get a 7770 working, but not another variant of it.
  3. I would want to deep-dive into them before incorporating them (requires time - I don't have much of it).
  4. The incentive to develop additional support for legacy AMD GPUs beyond what's currently supported is minimal given the possible amount of work involved.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 

@mac_editor

A really good software developer is able to do the following:

1) He can abstract and simplify software, so it has usability (which those lilu and whatevergreen developers just cannot).

2) He is able to see that the path he was going it's not worth the effort. (the conclusion for this endeavour)

If you think, we should give another try and has more ideas, but only with your AMDLegacySupport.kext, just let me know. Anyway thanks a lot for all your contribution for eGPU!

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@oliverb

I don't think the legacy kext alone can resolve the issue. If you are running macOS Mojave still, try giving automate-eGPU EFI a try. By default, it includes a patch that enables all AMD GPUs natively supported in macOS. Remove the legacy kext before trying. Though it will also probably need additional work to get models like the 7770 working, it is still worth a shot (unless you tried it already :p). If you are on Catalina, automate-eGPU EFI does not function on that yet. A quote from the original post there:

Due to lack of time testing older AMD cards, v1.0.5 may not provide eGPU screen output from older generation AMD cards on macOS. I do have a pure EFI workaround to remedy this but it needs more testing.

And,

Posted by: @oliverb

Anyway thanks a lot for all your contribution for eGPU!

Thanks for the kind words!

This post was modified 1 month ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 1 year ago
 

@mac_editor,

final try: Using the eGPU with automate-eGPU EFI and patched AppleGraphicsDevicePolicy freezes the system, either booting with eGPU or plugging it in. It should not be. If I had a possibility to use a debugger, I could do more, but anything else is just try and error. 

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680


ReplyQuote