High Dynamic Range (HDR Mode) in macOS
 
Notifications
Clear all

High Dynamic Range (HDR Mode) in macOS  

 of  3
  RSS

joevt
(@joevt)
Noble Member
Joined: 3 years ago
 

@itsage, I made a script to delete duplicates (it ignores the first 128 bytes which is a header containing creation date). I still have multiple profiles for the same display - maybe a display has multiple inputs (DisplayPort, HDMI...) which get different profiles? Or maybe new macOS versions will have new tags?

[[ -d /tmp/profiles ]] || mkdir /tmp/profiles
IFS=$'\n'
for thefile in $(find /Library/ColorSync/Profiles/Displays -name '*.icc'); do
	outfile="/tmp/profiles/$(basename $thefile)"
	dd if="$thefile" of="$outfile" bs=1 iseek=128 2> /dev/null
	echo $(md5 -q "$outfile") "$thefile"
	rm "$outfile"
done | sort > /tmp/profiles/profiles.txt
sort /tmp/profiles/profiles.txt -u -k1,1 > /tmp/profiles/uniqueprofiles.txt
grep -Fvx -f /tmp/profiles/uniqueprofiles.txt /tmp/profiles/profiles.txt > /tmp/profiles/duplicateprofiles.txt
sed -nE '/^[0-9a-f]{32} (.*)/s//sudo rm "\1" /p' /tmp/profiles/duplicateprofiles.txt > /tmp/profiles/cmds.sh
# Uncomment the following line to delete duplicates:
# source /tmp/profiles/cmds.sh

Mac mini (2018), Mac Pro (Early 2008), MacBook Pro (Retina, 15-inch, Mid 2015), GA-Z170X-Gaming 7, Sapphire Pulse Radeon RX 580 8GB GDDR5, Sonnet Echo Express III-D, Trebleet Thunderbolt 3 to NVMe M.2 case


itsage liked
ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@joevt, Thank you for sharing this script to remove duplicated monitor profiles. On my Samsung CHG90 monitor for example, there are three preset buttons besides the four inputs. I observed changing either monitor inputs or presets would result in a new profile. I typically switch from eGPU monitor input to iGPU/dGPU input during macOS system updates once every few weeks. You can imagine it gets out of control rather quickly.

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2019 13" MacBook Pro [8th,4C,U] + RX 5600 XT @ 32Gbps-TB3 (VisionTek mini eGFX) + macOS 11 & Win10 2004 [build link]  


ReplyQuote
ikir
 ikir
(@ikir)
Prominent Member
Joined: 4 years ago
 

I removed prefer HDR option since my LG 27" HDR (I think 27UK600) looks like washed crap.


MacBook Pro 2020 Touch Bar i7 quad-core 2.3Ghz - 16GB RAM - 1TB PCIe SSD
my awesome Radeon VII eGPU
my Mantiz Venus extreme mod with Sapphire Nitro+ RX Vega 64

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.15 [build link]  


ReplyQuote
joevt
(@joevt)
Noble Member
Joined: 3 years ago
 

@itsage, does the color information in the EDID change for each preset? Download, make, and install edid-decode. Use the script at https://gist.github.com/joevt/32e5efffe3459958759fb702579b9529 . Follow the instructions. Execute loadagdc after each preset change, then when done, execute listedids, decodeall. List the resulting files with "ls -l". Compare the results of *_decode-edid.txt if there is more than one.

Mac mini (2018), Mac Pro (Early 2008), MacBook Pro (Retina, 15-inch, Mid 2015), GA-Z170X-Gaming 7, Sapphire Pulse Radeon RX 580 8GB GDDR5, Sonnet Echo Express III-D, Trebleet Thunderbolt 3 to NVMe M.2 case


itsage liked
ReplyQuote
Mini i5
(@mini-i5)
Reputable Member
Joined: 12 months ago
 

Recently, I picked up an inexpensive LG 27" 4K display with HDR10 (LG 27UL500). It's connected via DP cable to my eGPU setup.

I've been pleased with the way this LG model displays HDR content (imported from my iPhone Camera Roll) in the Mac OS Photos app.  

Also, I've found 4K HDR music videos running in YouTube using the Chrome browser look comparable to the same video when displayed on my living room 4K HDR TV setup. 

I wasn't expecting to make use of the HDR mode option in 10.15.6. But so far I've been happy when enabling it to consume content in Photos and YouTube.

 

2018 Mac Mini i5 / 6-core 3.0-4.1 Ghz / 32GB / 256GB / Intel UHD 630 / PowerColor Gaming Station / PowerColor dual-fan RX5700 XT / Mac OS 10.15.6 Catalina / Windows 2004 😏 / Dual LG 27" 4K displays


ReplyQuote
Ningauble77
(@ningauble77)
Reputable Member
Joined: 3 years ago
 

Yes when they added HDR support to chrome in MacOS, I've been able to switch HDR mode on and watch them, and they look the same as in bootcamp.  I wish the itunes store/apple tv content would play in HDR though, and I also wish the desktop would map into the HDR color space properly without being so washed out.

2019 16 Macbook Pro + Core v2 + Radeon VII MacOS 10.15.1
Core X Chroma + RTX 2080 Windows 10 1909
Asrock X570 Phantom Gaming ITX/TB3, Ryzen 5 3400G + Core v2 + Radeon VII Win10 1909

 
2019 ASRock X570 Phantom Gaming-ITX/TB3 [R3K,4C,G] + Radeon VII @ 32Gbps-TB3 (Razer Core V2) + Win10 1909 [build link]  


ReplyQuote
 of  3