- Wed Feb 15, 2017 6:08 pm
#394065
Hello,
As the latest early build added support for the GPU engine on Mac and Linux we feel the need to explain how we managed to make it work on a Mac Pro using an external thunderbolt case to host the Nvidia graphics card.
1.- IMPORTANT. Read before you begin.
This procedure is just an explanation on how we managed to make use of an external nVidia GPU on a Mac for rendering with our render engine, but neither we or the maker of the computer are supporting it; following this procedure could make you lose the warranty of your machine or make it unusable. Also we are using a script not coded by us and in the process we kind of hack the security locks of MacOS. If you don’t feel confident or comfortable with this procedure or don’t know exactly what you are doing, we encourage you not to try it.
If you still dare to do it, you make it at your own risk; we are not responsible for any harm or problem it may cause to your hardware or the information included in it.
We are only showing what worked in our case as an example, our own in-house experience, but it could not work in your case.
2.- Summary of the procedure
Here are some other cases that probably will fit better (in alphabetical order, not preference):
https://www.akitio.com/expansion/node
https://bizon-tech.com/us/bizonbox2s_design
http://magma.com/products/thunderbolt-e ... essbox-3t/
Here are some pictures of what we used:
The case, power supply cable, thunderbolt cable and the small graphics card (Quadro K620):
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
The graphics card inside the case:
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
Case connected to the Mac Pro:
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
Of course the graphics card has to meet the same requirement as for Windows or Linux, which mainly are:
- Nvidia GPU, CUDA enabled.
- Only Maxwell or Pascal architectures are supported.
https://raw.githubusercontent.com/goalq ... te-eGPU.sh
This is the project page: https://github.com/goalque/automate-eGPU
And it’s explained here by its creator in this forum post (not our forum):
https://www.techinferno.com/index.php?/ ... ay-output/
We downloaded it and modified this two lines replacing
boot_args="nvda_drv=1" with boot_args="NvidiaWeb"
and boot_args="kext-dev-mode=1 nvda_drv=1" with boot_args="kext-dev-mode=1 NvidiaWeb"
After deactivating the security lock we rebooted again in normal mode.
Then we ran the script.
Then we rebooted again in safe mode to reactivate the security lock.
And finally reboot in normal mode.
If running El Capitan, it has SIP enabled by default. Please do as the script says: Boot into recovery partition and type: “csrutil disable”. Reboot, run the script, reboot again in recovery partition, type: “csrutil enable”, reboot and off you go.
And that’s all, folks!!
We hope this document gives you some clues to get your external case with Nvidia GPU working on your Mac.
If you get in trouble we recommend to look for information in the same forum where the script was posted or searching for eGPU on Mac on internet.
Good luck.
Fernando
As the latest early build added support for the GPU engine on Mac and Linux we feel the need to explain how we managed to make it work on a Mac Pro using an external thunderbolt case to host the Nvidia graphics card.
1.- IMPORTANT. Read before you begin.
This procedure is just an explanation on how we managed to make use of an external nVidia GPU on a Mac for rendering with our render engine, but neither we or the maker of the computer are supporting it; following this procedure could make you lose the warranty of your machine or make it unusable. Also we are using a script not coded by us and in the process we kind of hack the security locks of MacOS. If you don’t feel confident or comfortable with this procedure or don’t know exactly what you are doing, we encourage you not to try it.
If you still dare to do it, you make it at your own risk; we are not responsible for any harm or problem it may cause to your hardware or the information included in it.
We are only showing what worked in our case as an example, our own in-house experience, but it could not work in your case.
2.- Summary of the procedure
- Hardware setup
- Download the script and modify a couple of arguments.
- Boot in safe mode
- Deactivate the security lock for unsigned or unknown programs
- Reboot in normal mode
- Run the script
- Reboot in safe mode again
- Reactivate the security lock
- Reboot in normal mode
- HARDWARE
Here are some other cases that probably will fit better (in alphabetical order, not preference):
https://www.akitio.com/expansion/node
https://bizon-tech.com/us/bizonbox2s_design
http://magma.com/products/thunderbolt-e ... essbox-3t/
Here are some pictures of what we used:
The case, power supply cable, thunderbolt cable and the small graphics card (Quadro K620):
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
The graphics card inside the case:
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
Case connected to the Mac Pro:
https://drive.google.com/file/d/0B5xS_O ... sp=sharing
Of course the graphics card has to meet the same requirement as for Windows or Linux, which mainly are:
- Nvidia GPU, CUDA enabled.
- Only Maxwell or Pascal architectures are supported.
- THE SCRIPT
https://raw.githubusercontent.com/goalq ... te-eGPU.sh
This is the project page: https://github.com/goalque/automate-eGPU
And it’s explained here by its creator in this forum post (not our forum):
https://www.techinferno.com/index.php?/ ... ay-output/
We downloaded it and modified this two lines replacing
boot_args="nvda_drv=1" with boot_args="NvidiaWeb"
and boot_args="kext-dev-mode=1 nvda_drv=1" with boot_args="kext-dev-mode=1 NvidiaWeb"
- PROCEDURE
After deactivating the security lock we rebooted again in normal mode.
Then we ran the script.
Then we rebooted again in safe mode to reactivate the security lock.
And finally reboot in normal mode.
If running El Capitan, it has SIP enabled by default. Please do as the script says: Boot into recovery partition and type: “csrutil disable”. Reboot, run the script, reboot again in recovery partition, type: “csrutil enable”, reboot and off you go.
And that’s all, folks!!
We hope this document gives you some clues to get your external case with Nvidia GPU working on your Mac.
If you get in trouble we recommend to look for information in the same forum where the script was posted or searching for eGPU on Mac on internet.
Good luck.
Fernando
Next Limit Team
Customer Portal: https://portal.nextlimit.com - Documentation: http://support.nextlimit.com/
Other products from the company: RealFlow: https://realflow.com/ - Roombox: https://roombox.me/
Customer Portal: https://portal.nextlimit.com - Documentation: http://support.nextlimit.com/
Other products from the company: RealFlow: https://realflow.com/ - Roombox: https://roombox.me/