Closed Je-Ho closed 3 years ago
Btw. I tried the MacOS 11.5 Beta and the whole problems seems to be fixed, although only after a few restarts.
Deleting the local windowserver.displays-*.plist file as described here resolved this message for me. On a M1 Mini to active USB-C to DP cable, and a Dell U3017.
Quoting this comment https://github.com/sudowork/fix_m1_rgb/issues/7#issuecomment-914036070
Okay, I've updated the script to simply backup and remove the ByHost preference file instead of trying to modify in-place. This seems to work better for most people. Done in b4a2825.
Closing this out since the warnings above are expected.
@sudowork thank you for this lovely attempt.
Unfortunately, it seems this issue persists.
MacOC 12.0.1 M1 Pro 14" Display DELL S2721Q
I've rotated monitor, run code in terminal, restart, and the monitor stays in YPbPr, with the only RGB option showing the magenta wash as others have described.
The script results follow, showing the same error as above:
[USER REDACT] ~ % python3 ~/Downloads/fix_m1_rgb.py [2021-12-22 17:24:04 WARNING] This script has not fully been tested on OS X 12 Monterey. Do you want to continue? [yN] y [2021-12-22 17:24:29 INFO] Looking for preferences in: /Library/Preferences/com.apple.windowserver.displays.plist /Users/hal-9001/Library/Preferences/com.apple.windowserver.displays.plist [2021-12-22 17:24:29 INFO] Found
/Library/Preferences/com.apple.windowserver.displays.plist. [2021-12-22 17:24:29 INFO] Backing up file /Library/Preferences/com.apple.windowserver.displays.plist -> /Library/Preferences/com.apple.windowserver.displays.plist.bak.1640211869 Password: /Library/Preferences/com.apple.windowserver.displays.plist -> /Library/Preferences/com.apple.windowserver.displays.plist.bak.1640211869 [2021-12-22 17:24:39 INFO] Fixing /Library/Preferences/com.apple.windowserver.displays.plist [2021-12-22 17:24:39 INFO] Skipping
/Library/Preferences/com.apple.windowserver.displays.plist. No
LinkDescriptionfound in display config. Try rotating your display from Display settings to generate the field in the plist. [2021-12-22 17:24:39 INFO] Found ByHost preferences at /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist - removing [2021-12-22 17:24:39 INFO] Backing up file /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist -> /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist.bak.1640211879 /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist -> /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist.bak.1640211879 [2021-12-22 17:24:39 INFO] Removing file /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist /Users/hal-9001/Library/Preferences/ByHost/com.apple.windowserver.displays.6A723102-96D2-556B-8BBC-361AD165BF52.plist
Thank you for your work! Unfortunately, it does not seem to work in my setting, I get a
No
LinkDescription
found in display config. Try rotating your display from Display settings to generate the field in the plist.In my case, I'm connecting an M1 MacBook Pro via USB-C to a CableMatters USB-C to Display Port Hub to a Dell U2711 on 11.4. Tried multiple times and yes, display was rotated.