fix_m1_rgb icon indicating copy to clipboard operation
fix_m1_rgb copied to clipboard

Error: No LinkDescription found in display config. Try rotating your display from Display settings to generate the field in the plist.

Open gryphtl opened this issue 3 years ago • 1 comments

@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 the monitor, run code in the 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 LinkDescription found 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

gryphtl avatar Dec 23 '21 04:12 gryphtl

With the Dell S2721Q, if you use a DisplayPort cable and set the Refresh Rate in System Preferences to Variable, the monitor shows RGB instead of YPbPr.

MacOS 12.1 MacBook Pro M1 Pro 8-core 14" DELL S2721Q

sarabveer avatar Jan 13 '22 05:01 sarabveer