-
-
Save krackers/2a235d81ad65becbfe9195d68c60e28e to your computer and use it in GitHub Desktop.
Revisions
-
GetVladimir revised this gist
Jul 9, 2023 . 1 changed file with 17 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -264,7 +264,22 @@ After you make the edits in the file, you can try setting the file `/Library/Pre To do this, right click on the plist file, click on **Get Info** and check the boxes next to **Stationery pad** and **Locked**<br/> This requires further testing and might cause some issues, like not being able to remember new resolutions or display settings. Please note that you're making any changes at your own risk.<br/><br/> ## Updates regarding macOS 14 Sonoma Beta **USB-C to DisplayPort**<br/> The macOS 14 Sonoma seems to outputs RGB color by default when using USB-C to DisplayPort cable. **HDMI to HDMI**<br/> The macOS 14 Sonoma seems to outputs YCbCr color by default when using HDMI to HDMI cable. - Forcing RGB Color Output still seems to work with the [original procedure](https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8#the-step-by-step-procedure-on-how-to-force-rgb-color-output-on-m1-and-m2-based-macs-with-terminal-commands) of modifying the plist files - Modifying the display plist files still works with the [alternative version](https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8#alternative-terminal-commands-to-force-rgb-color-output-on-m1-and-m2-based-macs-and-workaround-for-losing-rgb-color-after-waking-up-from-sleep) - After the plist files are modified, putting the Mac to sleep and waking it, it seem to keep the RGB Color output (this seems to be fixed at least on a M1 Mac mini) If you have any additional questions, please feel free to contact me. -
GetVladimir revised this gist
Jun 18, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -153,6 +153,8 @@ https://github.com/sudowork/fix_m1_rgb<br/><br/> https://github.com/dangh/force-rgb.fish<br/><br/> [@GetVladimir](https://gist.github.com/GetVladimir) I've also created a Shortcut to Force RGB Color Output using the built-in Shortcuts app.<br/>You can find how to create the Shortcut here: https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8?permalink_comment_id=4531552#gistcomment-4531552<br/><br/> [@entropyconquers](https://github.com/entropyconquers) has created a script based on this method written in Phyton that automates the steps, makes a backup and checks for duplicate files.<br/>You can find more info about it here: https://github.com/entropyconquers/Force-RGB-Color-on-M1-M2-Mac-Script<br/><br/> ## Additional notes -
GetVladimir revised this gist
Apr 11, 2023 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -151,7 +151,8 @@ https://github.com/mathiasbynens/dotfiles/blob/master/.macos<br/><br/> https://github.com/sudowork/fix_m1_rgb<br/><br/> [@dangh](https://github.com/dangh) has created an alernative script for fishshell.<br/>You can find more info about it here: https://github.com/dangh/force-rgb.fish<br/><br/> [@GetVladimir](https://gist.github.com/GetVladimir) I've also created a Shortcut to Force RGB Color Output using the built-in Shortcuts app.<br/>You can find how to create the Shortcut here: https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8?permalink_comment_id=4531552#gistcomment-4531552<br/><br/> ## Additional notes -
GetVladimir revised this gist
Apr 9, 2023 . 1 changed file with 30 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -75,6 +75,30 @@ Here are each of the Terminal commands mentioned in the tutorial, so that you ca ### That's it! <br/><br/> ## (Alternative) Terminal commands to force RGB Color Output on M1 and M2 based Macs and workaround for losing RGB color after waking up from sleep 1. Open **Terminal** 2. Paste the following commands to edit the **User's** displays plist file **com.apple.windowserver.displays.[UUID].plist** using the built-in PlistBuddy function in macOS: ``` /usr/libexec/PlistBuddy -c "add DisplaySets:Configs:DisplayConfig:DisplayConfig:DisplayConfig:LinkDescription:BitDepth integer" ~/Library/Preferences/ByHost/com.apple.windowserver.displays.*.plist /usr/libexec/PlistBuddy -c "set DisplaySets:Configs:DisplayConfig:DisplayConfig:DisplayConfig:LinkDescription:BitDepth 8" ~/Library/Preferences/ByHost/com.apple.windowserver.displays.*.plist /usr/libexec/PlistBuddy -c "add DisplaySets:Configs:DisplayConfig:DisplayConfig:DisplayConfig:LinkDescription:EOTF integer" ~/Library/Preferences/ByHost/com.apple.windowserver.displays.*.plist /usr/libexec/PlistBuddy -c "add DisplaySets:Configs:DisplayConfig:DisplayConfig:DisplayConfig:LinkDescription:PixelEncoding integer" ~/Library/Preferences/ByHost/com.apple.windowserver.displays.*.plist /usr/libexec/PlistBuddy -c "add DisplaySets:Configs:DisplayConfig:DisplayConfig:DisplayConfig:LinkDescription:Range integer" ~/Library/Preferences/ByHost/com.apple.windowserver.displays.*.plist ``` 3. Reboot your Mac<br/><br/> (Workaround) If your Mac loses RGB color after waking up from sleep mode, either Reboot your Mac (recommended) or use this Terminal command to stop the WindowServer and login again (not recommended): ``` sudo killall -HUP WindowServer ``` <br/><br/> ## End result @@ -114,7 +138,12 @@ https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamil **How to Edit and Convert binary plist files** <br/> http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480<br/> **How to Edit plist files using defaults and PlistBuddy** <br/> https://ss64.com/osx/defaults.html<br/> https://github.com/mathiasbynens/dotfiles/blob/master/.macos<br/><br/> ## Apps based on this method -
GetVladimir revised this gist
Apr 4, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Here are each of the Terminal commands mentioned in the tutorial, so that you ca 9. Drag and drop the updated **com.apple.windowserver.displays.plist** file from Desktop to the Library folder manually. Don't use the ```cp``` command, as it won't add your current user with writing privileges. 10. Right Click on the **com.apple.windowserver.displays.plist** file in the Library folder and click on **Get Info** 11. Check the boxes for Stationery and Locked. -
GetVladimir revised this gist
Apr 4, 2023 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -62,11 +62,10 @@ Here are each of the Terminal commands mentioned in the tutorial, so that you ca 7. Check if the plist file is valid:<br/> ```plutil -lint ~/Desktop/com.apple.windowserver.displays.plist``` 8. Open the /Library/Preferences/ folder again:<br/> ```open /Library/Preferences/``` 9. Drag and drop the updated **com.apple.windowserver.displays.plist** file from Desktop to the Library folder manually. Don't use the ```cp``` command, as it won't add your current user with writing privileges. 10. Right Click on the file and click on **Get Info** -
GetVladimir revised this gist
Mar 29, 2023 . 1 changed file with 53 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z **Please note that you're doing any changes on your own risk.** <br/><br/> ## Terminal commands used in the video Here are each of the Terminal commands mentioned in the tutorial, so that you can just copy and paste them: @@ -25,7 +25,58 @@ Here are each of the Terminal commands mentioned in the tutorial, so that you ca ```plutil -lint``` <br/><br/> ## The step-by-step procedure on how to force RGB Color Output on M1 and M2 based Macs with Terminal commands 1. Open Terminal and use this command to make Finder select the displays plist file:<br/> ```open -R /Library/Preferences/com.apple.windowserver.displays.plist``` 2. Drag and drop the **com.apple.windowserver.displays.plist** file to Desktop manually. Don't use the ```cp``` command, as it won't add your current user with writing privileges. 3. Convert the file to XML:<br/> ```plutil -convert xml1 ~/Desktop/com.apple.windowserver.displays.plist``` 4. Open the converted file with the default plain text editor (avoid using the built-in TextEdit app if possible, since it might modify the file and make it unreadable by the system)<br/> ```open -t ~/Desktop/com.apple.windowserver.displays.plist``` <br/> or <br/> ```open -a CotEditor.app ~/Desktop/com.apple.windowserver.displays.plist``` 5. Copy and paste the missing LinkDesription Key under the current display (check the [screenshot below](https://user-images.githubusercontent.com/84543265/139309531-636095e1-ca75-478d-b1cd-0a3680107149.png) for an example of how it should look like):<br/> ``` <key>LinkDescription</key> <dict> <key>BitDepth</key> <integer>8</integer> <key>EOTF</key> <integer>0</integer> <key>PixelEncoding</key> <integer>0</integer> <key>Range</key> <integer>1</integer> </dict> ``` 6. Save the file and then convert it to binary again:<br/> ```plutil -convert binary1 ~/Desktop/com.apple.windowserver.displays.plist``` 7. Check if the plist file is valid:<br/> ```plutil -lint ~/Desktop/com.apple.windowserver.displays.plist``` 8. Copy the file back to /Library/Preferences/:<br/> ```cp ~/Desktop/com.apple.windowserver.displays.plist /Library/Preferences/``` 9. Use this command to select the file again in Finder:<br/> ```open -R /Library/Preferences/com.apple.windowserver.displays.plist``` 10. Right Click on the file and click on **Get Info** 11. Check the boxes for Stationery and Locked. 12. Reboot the Mac. ### That's it! <br/><br/> ## End result The end result is having your M1 mac output RGB color to your external monitor instead of YPbPr, -
GetVladimir revised this gist
Mar 29, 2023 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Additional thanks goes to [@somogyi-ede](https://gist.github.com/somogyi-ede) wh <br/><br/> ## Updates regarding macOS 13 Ventura **USB-C to DisplayPort**<br/> The macOS 13 Ventura beta seems to outputs RGB color by default on some monitors when using USB-C to DisplayPort cable on M1 Apple Silicone Macs. @@ -173,6 +173,16 @@ Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4) This should get your RGB color output working on M1 Mac mini, even when connected with HDMI to HDMI cable. <br/><br/> **(Optional) Lock the plist file and set it as stationary**<br/> After the macOS Ventura 13.3 update, the plist file seems to get overwritten on reboot. After you make the edits in the file, you can try setting the file `/Library/Preferences/com.apple.windowserver.displays.plist` as Stationery pad and Locked, so that it doesn't get overwritten on every reboot<br/>  To do this, right click on the plist file, click on **Get Info** and check the boxes next to **Stationery pad** and **Locked**<br/> This requires further testing and might cause some issues, like not being able to remember new resolutions or display settings. Please note that you're making any changes at your own risk. If you have any additional questions, please feel free to contact me. -
GetVladimir revised this gist
Jul 21, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,7 @@ https://discussions.apple.com/thread/1768480<br/><br/> ## Apps based on this method [@sudowork](https://github.com/sudowork) has created an awesome script written in Phyton that automates the steps and checks for duplicate files.<br/>You can find more info about it here: https://github.com/sudowork/fix_m1_rgb<br/><br/> [@dangh](https://github.com/dangh) has created an alernative script for fishshell.<br/>You can find more info about it here: https://github.com/dangh/force-rgb.fish<br/><br/> -
GetVladimir revised this gist
Jul 21, 2022 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,9 @@ https://discussions.apple.com/thread/1768480<br/><br/> ## Apps based on this method [@sudowork](https://github.com/sudowork) has created an awesome script written in Phyton that automates the steps and checks for duplicate files.<br/>You can find more info about it here: https://github.com/sudowork/fix_m1_rgb<br/> [@dangh](https://github.com/dangh) has created an alernative script for fishshell.<br/>You can find more info about it here: https://github.com/dangh/force-rgb.fish<br/><br/> -
GetVladimir revised this gist
Jul 20, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -89,7 +89,7 @@ and<br/> `/Users/username/Library/Preferences/ByHost`<br/> <br/><br/> **Please note** that you'll need to have administrator privileges in order to modify the file in `/Library/Preferences`. Thanks goes to [@keegandent](https://github.com/keegandent) and [@StrategicalIT](https://github.com/StrategicalIT) for pointing this out. <br/><br/> ## Updates regarding macOS Monterey -
GetVladimir revised this gist
Jul 20, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -89,6 +89,9 @@ and<br/> `/Users/username/Library/Preferences/ByHost`<br/> <br/><br/> **Please note** that you'll need to have administrator privileges in order to modify the file in `/Library/Preferences`. Thanks goes to @keegandent and @StrategicalIT for pointing this out. <br/><br/> ## Updates regarding macOS Monterey **USB-C to DisplayPort**<br/> -
GetVladimir revised this gist
Jun 11, 2022 . 1 changed file with 39 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -131,4 +131,43 @@ Additional thanks goes to [@somogyi-ede](https://gist.github.com/somogyi-ede) wh <br/><br/> ## Updates regarding macOS 13 Ventura Beta **USB-C to DisplayPort**<br/> The macOS 13 Ventura beta seems to outputs RGB color by default on some monitors when using USB-C to DisplayPort cable on M1 Apple Silicone Macs. You might need to make a backup and delete these 2 files:<br/> `/Library/Preferences/com.apple.windowserver.displays.plist`<br/> and<br/> `/Users/yourname/Library/Preferences/ByHost/com.apple.windowserver.displays.[UDID].plist`<br/> Restart your Mac and it should properly output RGB color on the monitor on the next boot. <br/><br/> **HDMI to HDMI**<br/> Similar as macOS Monterey, the situation with HDMI on macOS Venturs seems a bit more complicated. Usually the whole section for the LinkDescription might be missing from the com.apple.windowserver.displays.plist on a clean install and doesn't seem to be recreated when rotating the screen either.<br/> Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4), and you still need to manually add this whole section in the displays plist file: ``` <key>LinkDescription</key> <dict> <key>BitDepth</key> <integer>8</integer> <key>EOTF</key> <integer>0</integer> <key>PixelEncoding</key> <integer>0</integer> <key>Range</key> <integer>1</integer> </dict> ``` <br/><br/>The section usually goes right under the **CurrentInfo** key, and it should look something like this:  This should get your RGB color output working on M1 Mac mini, even when connected with HDMI to HDMI cable. <br/><br/> If you have any additional questions, please feel free to contact me. -
GetVladimir revised this gist
Nov 15, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -127,7 +127,7 @@ Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4) This should get your RGB color output working on M1 Mac mini, even when connected with HDMI to HDMI cable. <br/><br/> **Multiple monitors when one them is using HDMI to HDMI**<br/> Additional thanks goes to [@somogyi-ede](https://gist.github.com/somogyi-ede) who tested this with multiple monitors and confirmed that the LinkDescription key needs to be added under each monitor instance in order for all of them to receive RGB color output. [Link to the comment](https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8#gistcomment-3958110) <br/><br/> -
GetVladimir revised this gist
Nov 11, 2021 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -82,27 +82,27 @@ Make sure that you only have the main modified file in:<br/> `/Library/Preferences` Then make a backup and remove duplicate displays plist files from these locations (if any):<br/> `~/Library/Preferences`<br/> or<br/> `/Users/username/Library/Preferences`<br/> and<br/> `/Users/username/Library/Preferences/ByHost`<br/> <br/><br/> ## Updates regarding macOS Monterey **USB-C to DisplayPort**<br/> From what I've seen, it seems that macOS Monterey 12.0.1 finally outputs RGB color by default on some monitors when using USB-C to DisplayPort cable on M1 Apple Silicone Macs. You might need to make a backup and delete these 2 files:<br/> `/Library/Preferences/com.apple.windowserver.displays.plist`<br/> and<br/> `/Users/yourname/Library/Preferences/ByHost/com.apple.windowserver.displays.[UDID].plist`<br/> Restart your Mac and it should properly output RGB color on the monitor on the next boot. <br/><br/> **HDMI to HDMI**<br/> The situation with HDMI seems to got a bit more complicated. Now the whole section for the LinkDescription might be missing from the com.apple.windowserver.displays.plist on a clean install and doesn't seem to be recreated when rotating the screen either.<br/> Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4), but you might need to manually add this whole section in the displays plist file: @@ -120,13 +120,13 @@ Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4) </dict> ``` <br/><br/>The section usually goes right under the **CurrentInfo** key, and it should look something like this:  This should get your RGB color output working on M1 Mac mini, even when connected with HDMI to HDMI cable. <br/><br/> **Multiple monitors when one them is using HDMI to HDMI**<br/> Additional thanks goes to @somogyi-ede who tested this with multiple monitors and confirmed that the LinkDescription key needs to be added under each monitor instance in order for all of them to receive RGB color output. [Link to the comment](https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8#gistcomment-3958110) <br/><br/> -
GetVladimir revised this gist
Nov 11, 2021 . 1 changed file with 51 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -79,11 +79,56 @@ Note that there might be multiple instances of the PixelEncoding and Range keys **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/><br/> Make sure that you only have the main modified file in:<br/> `/Library/Preferences` Then make a backup and remove duplicate displays plist files from these locations (if any):<br/> `~/Library/Preferences` or `/Users/username/Library/Preferences` and `/Users/username/Library/Preferences/ByHost` <br/><br/> ## Updates regarding macOS Monterey **USB-C to DisplayPort** From what I've seen, it seems that macOS Monterey 12.0.1 finally outputs RGB color by default on some monitors when using USB-C to DisplayPort cable on M1 Apple Silicone Macs. You might need to make a backup and delete these 2 files: `/Library/Preferences/com.apple.windowserver.displays.plist` and `/Users/yourname/Library/Preferences/ByHost/com.apple.windowserver.displays.[UDID].plist` Restart your Mac and it should properly output RGB color on the monitor on the next boot. <br/><br/> **HDMI to HDMI** The situation with HDMI seems to got a bit more complicated. Now the whole section for the LinkDescription might be missing from the com.apple.windowserver.displays.plist on a clean install and doesn't seem to be recreated when rotating the screen either. Luckily, [the solution still works](https://www.youtube.com/watch?v=Z1EqH3fd0V4), but you might need to manually add this whole section in the displays plist file: ``` <key>LinkDescription</key> <dict> <key>BitDepth</key> <integer>8</integer> <key>EOTF</key> <integer>0</integer> <key>PixelEncoding</key> <integer>0</integer> <key>Range</key> <integer>1</integer> </dict> ``` The section usually goes right under the **CurrentInfo** key, and it should look something like this:  This should get your RGB color output working on M1 Mac mini, even when connected with HDMI to HDMI cable. <br/><br/> **Multiple monitors when one them is using HDMI to HDMI** Additional thanks goes to @somogyi-ede who tested this with multiple monitors and confirmed that the LinkDescription key needs to be added under each monitor instance in order for all of them to receive RGB color output. [Link to the comment](https://gist.github.com/GetVladimir/c89a26df1806001543bef4c8d90cc2f8#gistcomment-3958110) <br/><br/> If you have any additional questions, please feel free to contact me. -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -75,7 +75,7 @@ https://github.com/sudowork/fix_m1_rgb<br/><br/> ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays.<br/><br/> **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/><br/> Make sure that you only have the main modified file in:<br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -75,8 +75,7 @@ https://github.com/sudowork/fix_m1_rgb<br/><br/> ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays.<br/><br/><br/><br/> **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/><br/> Make sure that you only have the main modified file in:<br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -64,15 +64,15 @@ https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamil **How to Edit and Convert binary plist files** <br/> http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480<br/><br/> ## Apps based on this method [@sudowork](https://github.com/sudowork) has created an awesome script written in Phyton that automates the steps and checks for duplicate files.<br/>You can find more info about it here: https://github.com/sudowork/fix_m1_rgb<br/><br/> ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays. -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,7 +68,7 @@ https://discussions.apple.com/thread/1768480 <br/><br/> ## Apps based on this method [@sudowork](https://github.com/sudowork) has created an awesome script written in Phyton that automates the steps and checks for duplicate files.<br/>You can find more info about it here: https://github.com/sudowork/fix_m1_rgb -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,6 +66,12 @@ http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480 <br/><br/> ## Apps based on this method @sudowork has created an awesome script written in Phyton that automates the steps and checks for duplicate files. You can find more info about it here: https://github.com/sudowork/fix_m1_rgb <br/><br/> ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -70,15 +70,15 @@ https://discussions.apple.com/thread/1768480 ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays. <br/><br/><br/><br/> **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/><br/> Make sure that you only have the main modified file in:<br/> ```/Library/Preferences``` Then make a backup and remove duplicate displays plist files from these locations (if any):<br/> ```~/Library/Preferences```<br/> or<br/> ```/Users/username/Library/Preferences```<br/> and<br/> ```/Users/username/Library/Preferences/ByHost``` -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,9 @@ This step-by-step video tutorial will guide you through the procedure of forcing [](https://www.youtube.com/watch?v=Z1EqH3fd0V4) Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4 <br/> > The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed. <br/><br/> **Please note that you're doing any changes on your own risk.** <br/><br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 6 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,9 +7,9 @@ This step-by-step video tutorial will guide you through the procedure of forcing [](https://www.youtube.com/watch?v=Z1EqH3fd0V4) Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4 <br/> > The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed.<br/><br/> **Please note that you're doing any changes on your own risk.** <br/><br/> ## Terminal commands @@ -64,18 +64,19 @@ http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480 <br/><br/> ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays. <br/><br/> **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/><br/> Make sure that you only have the main modified file in:<br/> ```open /Library/Preferences``` Then make a backup and remove duplicate displays plist files from these locations (if any):<br/> ```~/Library/Preferences```<br/> or<br/> ```/Users/username//Library/Preferences```<br/> and<br/> ```/Users/username//Library/Preferences/ByHost``` -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 18 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ This step-by-step video tutorial will guide you through the procedure of forcing Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4 <br/> > The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed. Please note that your doing any changes on your own risk. <br/><br/> ## Terminal commands @@ -62,4 +62,20 @@ https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamil **How to Edit and Convert binary plist files** <br/> http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480 ## Additional notes **Multiple PixelEncoding and Range keys in the same plist file**<br/> Note that there might be multiple instances of the PixelEncoding and Range keys in the same file, one for each output of your monitor and for different AirPlay devices. You might need to update the integer on each one to get RGB color output on all displays. <br/><br/> **Getting RGB color only before login**<br/> There might be multiple duplicate plist files with the same name in different locations.<br/> Make sure that you only have the main modified file in:<br/> ```open /Library/Preferences``` Then make a backup and remove duplicate displays plist files from these locations (if any):<br/> ```~/Library/Preferences``` or<br/> ```/Users/username//Library/Preferences``` and<br/> ```/Users/username//Library/Preferences/ByHost``` -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Please feel free to ask in the comment section if you have any questions regardi ## Background While doing a lot of testing on how the [Dual-Cable workaround](https://gist.github.com/GetVladimir/ed6b7daa09b1092608fee82fd0559098) makes RGB to work on M1, I've discovered what changes it makes to macOS, and managed to create a more streamlined workaround **without the need to use a second cable.** To make things easier, I've created a step-by-step video tutorial of the whole procedure that should force RGB color output on your M1 Mac connected to an external monitor, and works on an HDMI-to-HDMI cable connection. <br/><br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Please feel free to ask in the comment section if you have any questions regardi ## Background While doing a lot of testing on how the [Dual-Cable workaround (https://gist.github.com/GetVladimir/ed6b7daa09b1092608fee82fd0559098) makes RGB to work on M1, I've discovered what changes it makes to macOS, and managed to create a more streamlined workaround **without the need to use a second cable.** To make things easier, I've created a step-by-step video tutorial of the whole procedure that should force RGB color output on your M1 Mac connected to an external monitor, and works on an HDMI-to-HDMI cable connection. <br/><br/> -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,24 +42,24 @@ Please feel free to ask in the comment section if you have any questions regardi While doing a lot of testing on how the Dual-Cable workaround makes RGB to work on M1, I've discovered what changes it makes to macOS, and managed to create a more streamlined workaround **without the need to use a second cable.** To make things easier, I've created a step-by-step video tutorial of the whole procedure that should force RGB color output on your M1 Mac connected to an external monitor, and works on an HDMI-to-HDMI cable connection. <br/><br/> ## Credits Big thanks goes to the amazing community and all their help over the years to solve issues like this:<br/> https://gist.github.com/ejdyksen/8302862 <br/> https://gist.github.com/adaugherity/7435890 <br/><br/> ## Useful Sources **Apple Open Source** Project Files for Displays and Graphics <br/> https://opensource.apple.com/source/IOKitUser/IOKitUser-1445.60.1/graphics.subproj/IODisplayLib.c <br/> https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamily/IOFramebuffer.cpp.auto.html **How to Edit and Convert binary plist files** <br/> http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480 -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,24 +42,24 @@ Please feel free to ask in the comment section if you have any questions regardi While doing a lot of testing on how the Dual-Cable workaround makes RGB to work on M1, I've discovered what changes it makes to macOS, and managed to create a more streamlined workaround **without the need to use a second cable.** To make things easier, I've created a step-by-step video tutorial of the whole procedure that should force RGB color output on your M1 Mac connected to an external monitor, and works on an HDMI-to-HDMI cable connection. <br/> ## Credits Big thanks goes to the amazing community and all their help over the years to solve issues like this: https://gist.github.com/ejdyksen/8302862 <br/> https://gist.github.com/adaugherity/7435890 <br/> ## Useful Sources **Apple Open Source** Project Files for Displays and Graphics https://opensource.apple.com/source/IOKitUser/IOKitUser-1445.60.1/graphics.subproj/IODisplayLib.c <br/> https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamily/IOFramebuffer.cpp.auto.html **How to Edit and Convert binary plist files** http://hints.macworld.com/article.php?story=20050803111126899 <br/> https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files <br/> https://discussions.apple.com/thread/1768480 -
GetVladimir revised this gist
Jun 3, 2021 . 1 changed file with 45 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,20 +3,17 @@ ### How to Force RGB Color Output instead of YPbPr on your M1 Apple Silicon Mac for an External Monitor. This step-by-step video tutorial will guide you through the procedure of forcing RGB color output on your M1 Mac. [](https://www.youtube.com/watch?v=Z1EqH3fd0V4) Here is the direct link to the video tutorial: https://www.youtube.com/watch?v=Z1EqH3fd0V4 <br/> > The video also has Closed Captions (Subtitles) that you can enable, to make it easier to follow if needed. <br/><br/> ## Terminal commands Here are each of the Terminal commands mentioned in the tutorial, so that you can just copy and paste them: ```open /Library/Preferences``` @@ -26,4 +23,43 @@ The Terminal commands in the tutorial are: ```plutil -lint``` <br/> ## End result The end result is having your M1 mac output RGB color to your external monitor instead of YPbPr, potentially making the colors more accurate and the text a bit more crisp, even on older 1080p monitors.<br/> Hopefully this tutorial would be useful to someone. Please feel free to ask in the comment section if you have any questions regarding this procedure. <br/><br/> ## Background While doing a lot of testing on how the Dual-Cable workaround makes RGB to work on M1, I've discovered what changes it makes to macOS, and managed to create a more streamlined workaround **without the need to use a second cable.** To make things easier, I've created a step-by-step video tutorial of the whole procedure that should force RGB color output on your M1 Mac connected to an external monitor, and works on an HDMI-to-HDMI cable connection. <br/> ## Credits Big thanks goes to the amazing community and all their help over the years to solve issues like this: https://gist.github.com/ejdyksen/8302862 https://gist.github.com/adaugherity/7435890 <br/> ## Useful Sources **Apple Open Source** Project Files for Displays and Graphics https://opensource.apple.com/source/IOKitUser/IOKitUser-1445.60.1/graphics.subproj/IODisplayLib.c https://opensource.apple.com/source/IOGraphics/IOGraphics-517.17/IOGraphicsFamily/IOFramebuffer.cpp.auto.html **How to Edit and Convert binary plist files** http://hints.macworld.com/article.php?story=20050803111126899 https://apple.stackexchange.com/questions/155393/how-to-beautify-binary-dict-files https://discussions.apple.com/thread/1768480
NewerOlder