需要的文件:patch-edid
Cmd R 重启,在恢复模式下打开命令行工具输入 csrutil disable
关闭 rootless.
1 | csrutil disable |
Modern
下载脚本:https://gist.github.com/adaugherity/7435890
1 2 3 4 5 6 7 8 9 10 11 | # 进入放脚本的目录(如果在桌面) cd ~/Desktop/ # 运行脚本 ruby patch-edid.rb # 挂载系统盘 cd sudo mount -uw / # 拷贝生成的文件夹(例子中为 DisplayVendorID-2613,根据自已情况修改) sudo cp -R DisplayVendorID-2613/ /System/Library/Displays/Contents/Resources/Overrides |
查看 About this Mac / system Report / Graphics/Displays
如果没发现: xxxxx - forced RGB mode (EDID override):
那么就需要重置下 NVRAM/PRAM,关机状态,开机,并按:Cmd+Alt+P+R,三次重启,松开就好了。 参考:https://support.apple.com/zh-cn/HT204063
Modern
1 2 3 4 5 6 7 8 9 | # 启用次像素渲染 defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO # 设置平滑度 defaults -currentHost write -g AppleFontSmoothing -int 3 # [3,2,1,0] 看自己效果选吧 # 查看设置后的选项值 defaults read -g CGFontRenderingFontSmoothingDisabled defaults -currentHost read -globalDomain AppleFontSmoothing |
如果换 4k 屏
# 关闭次像素渲染 defaults write -g CGFontRenderingFontSmoothingDisabled -bool YES # remove any custom font smoothing setting defaults -currentHost delete -globalDomain AppleFontSmoothing |
源自:https://www.wenboz.com/p/ab01.html
Macbook 外接显示器默认为 TV 模式,TV 渲染模式下,文字效果非常非常非常差,
个人观看第一幅图会头晕的。根据查到的资料和此次试验结果,可以确认和你用什么线缆没有关系。( RMBP 13,2013 只有HDMI和MiniDisplay port)
system info for video before adjust -- Television:YES
我们要做的,把 Macbook 外接的显示器在 Mac 系统中改为强制RGB渲染。
下载patch-edid这个文件下载解压到 mac 的Download 文件夹中。
位置:Application – Terminal
输入两行命令:
运行patch-edid.rb脚本后,会产生一个DisplayVendorID-1xxx文件,xxx是编号,每台机器都有区别。
按住 「command R字母」后开机,
中间的苹果标志及进度条出现后放开按键,等待恢复安装界面和 “OS X 实用工具” 窗口出现后,点击顶部菜单栏的 “实用工具”,在其下拉菜单点选运行 “终端”,
在终端闪动字符的位置直接输入“csrutil disable” 并回车,重新启动电脑。
把第 I 步生成的「DisplayVendorID-1xxx」文件夹拷到
/System/Library/Displays/Contents/Resources/Overrides下。
强制 RGB mode
Hardware:
MacBook Pro (Retina, 13-inch, Late 2013).
Dell U2410 24″LCD
XiaoMi Box HDMI cable
OS:OSX EI capitan 10.11.6 (15G1004)
附录:
在更换了 31.5 寸的优派 2K 显示器 ViewSonic VX3209, 更改前后图片对比的效果非常明显。
也许是自己用 4k he 1080p 有一段时间了,感觉 2K 接 macbook 的效果还是不错的,达到自己的预期。
对比图片:
左边是更改前, TV 模式, 右边是更改后,字体对比还是比较明显的。
参考文献:
本文标题:可能是目前解决Mac外接显示器字体发虚的最好方法
编著:HaiSheng_Zhai
发布时间 : 2016年9月22日 – 14时10分
更新时间: 2017年06月11日18时23分
原始链接:http://www.jianshu.com/p/6274253b78d8
更新版次 : 第2.2版
许可协议: Attribution-NonCommercial 4.0
转载请保留以上信息。