Skip to content

Instantly share code, notes, and snippets.

@mayankk2308
Last active April 12, 2023 02:45
Show Gist options
  • Save mayankk2308/ba3aa2b529ea38a6c37e7a83e431cbe7 to your computer and use it in GitHub Desktop.
Save mayankk2308/ba3aa2b529ea38a6c37e7a83e431cbe7 to your computer and use it in GitHub Desktop.
Disable AMD GPU acceleration on macOS
# This can be useful to force the system to use only the integrated GPU at all times.
# This only applies to modern AMD GPUs (using the AMDRadeon4000 series kernel extension or later).
# Set mux to integrated Intel GPU
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
# Option #1: Completely disable automatic graphics switching and any other GPUs
sudo nvram boot-args="agc=-1"
# Option #2: Disable just the AMD GPU framebuffer
sudo nvram boot-args="-amd_no_dgpu_accel"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment