All Projects → mayankk2308 → Set Egpu

mayankk2308 / Set Egpu

Licence: mit
Display-agnostic acceleration of macOS applications using external GPUs.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Set Egpu

Purge Wrangler
AMD & NVIDIA eGPUs for all Thunderbolt Macs.
Stars: ✭ 960 (+123.78%)
Mutual labels:  nvidia, amd, graphics
Srmd Ncnn Vulkan
SRMD super resolution implemented with ncnn library
Stars: ✭ 186 (-56.64%)
Mutual labels:  nvidia, amd
Ilgpu
ILGPU JIT Compiler for high-performance .Net GPU programs
Stars: ✭ 374 (-12.82%)
Mutual labels:  nvidia, amd
Autodesk-Fusion-360-for-Linux
This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
Stars: ✭ 810 (+88.81%)
Mutual labels:  amd, nvidia
Rainbowminer
GPU/CPU Mining script with intelligent profit-switching between miningpools, algorithms, miners, using all possible combinations of devices (NVIDIA, AMD, CPU). Features: actively maintained, uses the top actual miner programs (Bminer, Ccminer, Claymore, Dstm, EnemyZ, Sgminer, T-rex and more) easy setup wizard, webinterface, auto update.
Stars: ✭ 158 (-63.17%)
Mutual labels:  nvidia, amd
Awesome Vulkan
Awesome Vulkan ecosystem
Stars: ✭ 2,322 (+441.26%)
Mutual labels:  nvidia, amd
monkey-master
A deno tool for buying hot GPUs in JD, such as RTX3080 rx6800, a thick-skinned orange!
Stars: ✭ 180 (-58.04%)
Mutual labels:  amd, nvidia
Shadowreplay Linux
Shadowplay's Replay Feature On Linux For Nvidia, AMD and Intel
Stars: ✭ 79 (-81.59%)
Mutual labels:  nvidia, amd
hashcatbenchmark
Benchmark in Hashcat for diferents GPU's
Stars: ✭ 19 (-95.57%)
Mutual labels:  amd, nvidia
kryptonite
Enable AMD/NVIDIA eGFX for All Thunderbolt Macs with SIP, ART & FileVault support.
Stars: ✭ 94 (-78.09%)
Mutual labels:  amd, nvidia
gpu-passthrough
A GPU passthrough tutorial using libvirt and KVM on GNU/Linux
Stars: ✭ 57 (-86.71%)
Mutual labels:  amd, nvidia
Awesome D3d12
Awesome D3D12 ecosystem
Stars: ✭ 130 (-69.7%)
Mutual labels:  nvidia, amd
Deko3d
Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
Stars: ✭ 103 (-75.99%)
Mutual labels:  nvidia, graphics
Nfancurve
A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
Stars: ✭ 180 (-58.04%)
Mutual labels:  nvidia, graphics
Waifu2x Ncnn Vulkan
waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Stars: ✭ 1,258 (+193.24%)
Mutual labels:  nvidia, amd
nix-install-vendor-gl
Ensure that a system-compatible OpenGL driver is available for `nix-shell`-encapsulated programs.
Stars: ✭ 22 (-94.87%)
Mutual labels:  amd, nvidia
gpustats
Statistics on GPUs
Stars: ✭ 21 (-95.1%)
Mutual labels:  amd, nvidia
Parenchyma
An extensible HPC framework for CUDA, OpenCL and native CPU.
Stars: ✭ 71 (-83.45%)
Mutual labels:  nvidia, amd
Nplusminer
NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
Stars: ✭ 75 (-82.52%)
Mutual labels:  nvidia, amd
darknet
Darknet on OpenCL Convolutional Neural Networks on OpenCL on Intel & NVidia & AMD & Mali GPUs for macOS & GNU/Linux
Stars: ✭ 160 (-62.7%)
Mutual labels:  amd, nvidia

Header Script Version macOS Support Github All Releases paypal

set-eGPU.sh allows you to set graphics preferences for macOS applications, and force use of external GPUs, even on internal displays. Please read through the entire documentation to familiarize yourself with the script, the community, and the resources available to you in case you find that you need help.

Contents

A quick run-through of what's included in this document:

  • Pre-Requisites
    • macOS requirements, pre-system configuration specifics, and more.
  • Installation
    • Installing and running the script.
  • Script Options
    • Available capabilities and options in the script.
  • Post-Install
    • System configuration after script installation and some other things of note.
  • Troubleshooting
    • Additional resources and guides for eGPUs.
  • Disclaimer
    • Please read the disclaimer before using this script.
  • License
    • By using this script, you consent to the license that the script comes bundled with.
  • Support
    • Support the developer if you'd like to.

Pre Requisites

Please read Apple's external GPU documentation first to see what is already supported on macOS. The following is a table that summarizes system requirements for using this script:

Configuration Requirement Description
macOS 10.13.4-6 Script can be used without the presence of an external GPU and without any significant limitations. The algorithm used in previous versions of set-eGPU is still in place.
macOS 10.14+ External GPU must be plugged in to use the script. It is also recommended that you do not work with Finder while the script is updating preferences.
Terminal Permissions Required When prompted, please allow Terminal any permissions to control macOS, as this is necessary for setting eGPU preference on 10.14+.

Installation

set-eGPU.sh auto-manages itself and provides multiple installation and uninstallation options. Once the pre-requisites are satisfied, install the script by running the following in Terminal:

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

For future use, only the following will be required:

set-eGPU

In case the command above does not work, you can re-use the long installation command and fix the issue.

Administrative privileges are required only for installation and software updates. The script uses sudo to do so. All other script activity is performed in a user-privileged shell automatically.

The script includes a built-in uninstallation mechanism.

Aside

Some applications, such as Photos do not have the option to "Prefer External GPU" in macOS 10.14+. Due to this, you may see a message saying that not all preferences were updated. This is not a big problem. A future update to set-eGPU will more appropriately handle such edge cases.

Script Options

Set-eGPU makes it super-simple to automate eGPU preference management through a variety of options via an interactive menu. Providing no arguments defaults to the menu. The documentation represents v2.0.0 or later.

Argument Menu Description
-sa, --set-all Prefer eGPU - All Applications Scans the typical system application directories for applications, opens their information window, sets "Prefer External GPU", and closes the window.
-st, --set-target Prefer eGPU - All Applications At Target Scans the path provided for applications, opens their information window, sets "Prefer External GPU", and closes the window.
-ss, --set-specified Prefer eGPU - Specified Application(s) Searches the typical system application directories for applications with given input, opens the information window, sets "Prefer External GPU", and closes the window.
-ra, --reset-all Reset Preferences - All Applications Scans the typical system application directories for applications, opens their information window, unselects "Prefer External GPU", and closes the window.
-rt, --reset-target Reset Preferences - All Applications At Target Scans the path provided for applications, opens their information window, unselects "Prefer External GPU", and closes the window.
-rs, --reset-specified Reset Preferences - Specified Application(s) Searches the typical system application directories for applications with given input, opens the information window, unselects "Prefer External GPU", and closes the window.
-c, --check Check eGPU Preferences Searches the typical system application directories for applications with given input, opens the information window, retrieves GPU preference, and closes the window.
-u, --uninstall Uninstall Set-eGPU Resets all preferences, and uninstalls set-eGPU from the system. Even if you set GPU preferences without using set-eGPU, they will be unselected. Preferences set at different targets are not restored.

Post-Install

After installing the script, you likely will not need it again unless you want to manage new apps. Most settings should be permanent. If you upgraded from High Sierra to Mojave or later, you will need to set preferences again, since the mechanism has significant changes after High Sierra.

Troubleshooting

Check if your application is using the eGPU using Activity Monitor before reading further. Troubleshooting plays an important role with eGPUs. New OSes and hardware tend to bring with them new problems and challenges. Even though eGPU support in macOS has become straightforward, not all applications may work as expected. The following is a list of additional resources rich in information:

Resource Description
eGPU.io Build Guides See builds for a variety of systems and eGPUs. If you don't find an exact match, look for similar builds.
eGPU.io Troubleshooting Guide Learn about some basics of eGPUs in macOS and find out what means what. This guide does not cover any Windows/Bootcamp-related efforts.
eGPU.io Community The eGPU.io forums are a great place to post concerns and doubts about your setup. Be sure to search the forum before posting as there might be high chance your doubt has already been answered.
eGPU Community on Reddit The reddit community is a wonderful place to request additional help for your new setup, and a good place to find fellow eGPU users.

My username on both communities is @mac_editor. Feel free to mention my username on eGPU.io posts - I get an email notifying me of the same. In any case, with thousands of members, the community is a welcoming place. Don't be shy!

Disclaimer

This script does not make any dangerous/fatal system modifications and only automates some features in macOS. However, the developer is not liable for any damages to your system nonetheless.

License

The bundled license allows commercial use and redistribution as advised under the MIT License. This software comes without any warranty or guaranteed support. By using the script, you agree to adhere to this license. For more information, please see the LICENSE.

Support

If you loved set-eGPU.sh, consider starring the repository or if you would like to, donate via PayPal:

paypal

Thank you for using set-eGPU.sh. This project is under active development at this time.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].