Jump to content

tomnic

Recommended Posts

  • Moderators

 

Since I joined the Hackintosh scene I've always loved to run macOS on AMD hardware because of my "think REALLY different" way of living the Apple world: using an officially not supported cpu on a non official hardware doubles the fun to make macOS work fine with standard PCs.
 
Thanks to the AMD vanilla patches we can run even the latest macOS on modern AMD machines without creating a custom kernel, but there are still some caveats.
 
Certain apps use the infamous Intel MKL libraries, now called Intel OneAPI: those libraries are x86_64 compliant but in the macOS porting certain functions work only on genuine intel cpus: these are __intel_fast_memset.A and __intel_fast_memcpy.A.
 
We can fool these libraries redirecting those calls to __intel_fast_memset.J and __intel_fast_memcpy.J which work perfectly on AMD Hackintoshes, and as fast as possible given the fact that we lack AVX512.
 
But we also need to fool them changing the function __mkl_serv_intel_cpu_true returning TRUE even when running on AMD cpus.
 
Using only these three "patches" we can make every intel only app run on our AMD Hacks natively without using hypervisors and without bypassing or deleting important functions / files of our specific app.
 
It is possible to have SIP Enabled or Disabled.

Some examples below:
 
After Effects CC
 
Libraries to be patched:
 
1) libiomp5.dylib
2) libmkl_core.1.dylib
3) libmkl_avx512.1.dylib
 
Photoshop:
 
Library / plugin to be patched:
 
1) libmkl_core.dylib
2) Adaptive Wide angle
 
Premiere Pro:
 
Effects / plugins to be patched:
 
1) Stabiliser
2) Rolling Shutter
3) Morph Cut
 
If you want to keep SIP enabled we need to force codesigning of our modified binaries. You can achieve this by running in terminal, for each modded binary:
 

sudo codesign --force --deep --sign -


 
as an example if we patch the Premiere Pro "MorphCut" plugin we must issue this command to recreate the correct sign for this binary:
 

sudo codesign --force --deep --sign - /Applications/Adobe\ Premiere\ Pro\ 2021/Adobe\ Premiere\ Pro\ 2021.app/Contents/Plug-Ins/Common/AEFilterMorphCut.bundle


 
given that we have modified the macOS executable inside this path:
 

/Applications/Adobe Premiere Pro 2021/Adobe Premiere Pro 2021.app/Contents/Plug-Ins/Common/AEFilterMorphCut.bundle/Contents/MacOS


 

Adobe Photoshop 22.5.1

 

Adobe After Effects 18.4.1


Adobe Premiere Pro 15.4.1


Autodesk Autocad 2022


Autodesk Maya 2022

 

 
Wolfram Mathematica 12.3

 

 
Matlab 2021a

 

 
MatLab 2021b

 

 
Skylum Luminar AI 2021

 
Topaz Gigapixel AI

 

 
Discord

 

 
Krisp AI 1.30.10 + 1.31.22

 

 
Waves 13 Complete

 

Neo 0.9.1 Luminar

 

Adobe After Effects 22.1.2

 

Adobe Premiere Pro 22.1.2

 

Adobe Photoshop 23.1

 

 

Adobe Photoshop 23.2.0

 

 

After Effects 22.3.0 (Build 47)

 

 

PyTorch 1.10.2

 

Krisp 1.32 and up

 

  • Like 2
Link to comment
Share on other sites

  • fabiosun changed the title to AMD new applications life
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.