A script to fix EDID problems on external monitors in macOS.
-
Connect only the problem display.
-
Create this directory structure (if it doesn't already exist):
sudo mkdir -p /Library/Displays/Contents/Resources/Overrides
-
Download this ruby script in that directory:
cd /Library/Displays/Contents/Resources/Overrides sudo curl -O https://gist.githubusercontent.com/ejdyksen/8302862/raw/patch-edid.rb
Note: You may want to use adaugherity's version of the script instead.
-
Run the script we just downloaded (as root again). This creates a new display override plist file.
cd /Library/Displays/Contents/Resources/Overrides sudo ruby patch-edid.rb
-
Unplug and replug in the problem display.
- The original forum thread
- An improved version of the script by adaugherity
- An explaination of the problem from Atomic Object's blog
- Thanks so much to @stackrainbow for pointing out that this can be done without disabling SIP.
- This version appears to work in Catalina and Big Sur. See earlier revisions for what worked (with disabling SIP) in earlier versions of macOS, which require the override plist to be in a different directory.
@xavierchen0 yes, you were trying to get (pseudo) HiDPI on standard monitors in order for the macOS interface to look a bit better. They don't seem to optimize the UI for the 1080p monitors anymore. Even the cursor line when typing can cover come characters since it's too thick/bold.
Anyway, the resolution should still show double in the system information and the scale should be set to 2x.
Here is a detailed guide how to enable HiDPI mode on standard monitors: https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8?permalink_comment_id=4207112#gistcomment-4207112
Please note that it won't look nearly as good as it would look on a real 4K display with 2x scaling