Skip to content

Instantly share code, notes, and snippets.

Till Brychcy brychcy

  • Munich, Germany
Block or report user

Report or block brychcy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@brychcy
brychcy / mbp-gpu-fix.sh
Created Dec 8, 2018 — forked from btmm/mbp-gpu-fix.sh
A fix for GPU kernel panics on the Mid 2010 MacBook Pro.
View mbp-gpu-fix.sh
#!/usr/bin/env bash
if csrutil status | grep -q "enabled"; then echo "You must disable SIP first."; exit 1; fi
KEXT=/System/Library/Extensions/AppleGraphicsPowerManagement.kext
sudo plutil -replace IOKitPersonalities.AGPM.Machines.MacBookPro6,2.Vendor10deDevice0a29 -json '{"BoostPState":[2,2,2,2],"BoostTime":[2,2,2,2],"Heuristic":{"Threshold_Low":[0,0,0,200],"IdleInterval":10,"SensorSampleRate":10,"Threshold_High_v":[0,0,98,100],"TargetCount":1,"SensorOption":1,"Threshold_High":[0,0,100,200],"ID":0,"Threshold_Low_v":[0,0,4,200]},"control-id":17}' $KEXT/Contents/Info.plist
sudo touch /System/Library/Extensions
sudo kextload -v $KEXT
You can’t perform that action at this time.