Sunday, March 29, 2020

egpu


https://github.com/mayankk2308/purge-wrangler/wiki/Beginner's-Guide

1) disable SIP by restart and hold command + R until see apple logo

     in recovery mode, utility > terminal 
     run : csrutil disable


      restart



2)navi card, must manually do AMD patch

https://github.com/mayankk2308/purge-wrangler/issues/44

   open terminal run: 
 
curl -qLs $(curl -qLs https://bit.ly/2WtIESm | grep '"browser_download_url":' | cut -d'"' -f4) > purge-wrangler.sh; sh purge-wrangler.sh; rm purge-wrangler.sh

choose "Setup eGPU" by pressing 1

   For Nvidia card, you have have Nvida web driver already installed, otherwise, not find epu 

   For AMD, native supported card, power on egpu, will auto detect.

    For AMD navi card, do not power on egpu, if you power on, Mac will crash to white error screen and reboot and crash loop.

     Instead you should press ESC to cancel auto detect 

      then press 1. AMD (vendor) to manually patch 


      restart


3) Enforce both external and Internal display use egpu by set-ogpu
 https://github.com/mayankk2308/set-egpu

    terminal run:
curl -q -s "https://api.github.com/repos/mayankk2308/set-egpu/releases/latest" | grep '"browser_download_url":' | sed -E 's/.*"browser_download_url":[ \t]*"([^"]+)".*/\1/' | xargs curl -L -s -0 > set-eGPU.sh && chmod +x set-eGPU.sh && ./set-eGPU.sh && rm set-eGPU.sh

future use, just
set-eGPU

choose 1. all application

will enforce all application include internal display use egpu

Done