Mac外接顯示器,還是選DP接口的好旬渠,同樣是1080P,DP和HDMI顯示效果更好端壳,畢竟DP是蘋果自家親兒子告丢。近幾年新出的Mac,基本上用DP接4K都沒問題损谦。這里說的類似我手上Mac mini 2011岖免,Intel HD Graphics 4000這種級別的,要接4K的大屏就要花點工夫了照捡。我另一臺Mac mini 2011用miniDP->DP接Dell U2515的2K屏直接就能用了颅湘。這里用的的是
實際上硬件是支持的,不過蘋果在軟件上對這些老機器支持的分辨率做了限制栗精,有點像CPU那樣限制了頻率闯参,但可以通過打補丁來解除這個限制。
折騰了兩天悲立,以下是4K效果展示鹿寨,這個是網(wǎng)上另一個友人的,我的跟他一樣薪夕,就用他的給大家看看效果好了脚草。
準備
如果是Intel HD Graphics 3000,只有288MB共享顯存的原献,會顯得力不從心馏慨,可以看這個哥們的方式增加到1GB。How I got 4k (UHD) on my Mac Mini Mid 2011
確保你的線支持4K姑隅,我這里用的是CE Link的miniDP->HDMI 4K線熏纯。
關(guān)閉SIP
關(guān)閉系統(tǒng)文件保護才可以打補丁
- 關(guān)機
- 開機按住 option 鍵,在彈出的啟動磁盤選擇界面選恢復(fù) 10.11粤策,或者直接按下鍵盤 command + R 進入恢復(fù)模式,點擊實用工具 - 終端
- 在彈出來的終端窗口中輸入
csrutil disable
误窖,然后重啟即可生效叮盘。
要開啟的話秩贰,就是用同樣的流程,輸入
csrutil enable
來開啟
打補丁
從https://github.com/Floris497/mac-pixel-clock-patch-V2下載補丁柔吼,有針對不同顯卡的毒费,比如NVidia,AMD等愈魏,Mac mini 2011是Intel HD 4000的觅玻,并且系統(tǒng)是10.13.6,用的是以下命令培漏。
# 讓腳本可運行
Mac-mini-6:tmp daniel$ chmod +x ./CoreDisplay-patcher.command
# 執(zhí)行腳本打補丁溪厘,需要按提示輸入用戶密碼
Mac-mini-6:tmp daniel$ ./CoreDisplay-patcher.command patch v4
SIP looks to be disabled, all good!
Patching CoreDisplay with patch version 4
Password:
Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
Running 'sudo update_dyld_shared_cache' (Might need re-run after reboot) - CAN TAKE A WHILE (Maybe even 10/30 minutes)update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/AssetCacheServicesExtensions.framework/Versions/A/XPCServices/AssetCacheTetheratorService.xpc/Contents/Frameworks/MobileDeviceKitLite.framework/Versions/A/MobileDeviceKitLite
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/BiometricKitUI.framework/Versions/A/BiometricKitUI
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/BookKit.framework/Versions/A/Frameworks/BookKitFoundation.framework/Versions/A/BookKitFoundation
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/BroadcomWLAN.framework/Versions/A/BroadcomWLAN
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/SetupAssistantSupport.framework/Versions/A/SetupAssistantSupport
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/Swift/libswiftDemangle.dylib
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/Swift/libswiftRemoteMirror.dylib
update_dyld_shared_cache: warning @rpath install name for system framework: /System/Library/PrivateFrameworks/WirelessDiagnosticsSupport.framework/Versions/A/WirelessDiagnosticsSupport
update_dyld_shared_cache: x86_64 incorporating 1264 OS dylibs, tracking 1781 others, building closures for 2118 executables
update_dyld_shared_cache: i386 incorporating 624 OS dylibs, tracking 1041 others, building closures for 254 executables
update_dyld_shared_cache: warning: i386 adding dependents to /System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resources/Assistant Plugin.ibplugin/Contents/MacOS/Assistant Plugin: required dylib '@rpath/InterfaceBuilderKit.framework/Versions/A/InterfaceBuilderKit' not found, needed by '/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resources/Assistant Plugin.ibplugin/Contents/MacOS/Assistant Plugin'
update_dyld_shared_cache: warning: x86_64 adding dependents to /System/Library/BridgeSupport/ruby-2.3/bridgesupportparser.bundle: required dylib '@rpath/libclang.dylib' not found, needed by '/System/Library/BridgeSupport/ruby-2.3/bridgesupportparser.bundle'
update_dyld_shared_cache: warning: x86_64 adding dependents to /System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resources/Assistant Plugin.ibplugin/Contents/MacOS/Assistant Plugin: required dylib '@rpath/InterfaceBuilderKit.framework/Versions/A/InterfaceBuilderKit' not found, needed by '/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resources/Assistant Plugin.ibplugin/Contents/MacOS/Assistant Plugin'
update_dyld_shared_cache: warning: x86_64 adding dependents to /System/Library/QuickLook/Audio.qlgenerator/Contents/MacOS/Audio: required dylib '/Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary' not found, needed by '/System/Library/QuickLook/Audio.qlgenerator/Contents/MacOS/Audio'
The code of CoreDisplay changed, the patch was probbably successful
享用
之后重啟電腦就可以看到系統(tǒng)顯示設(shè)置那里多了4K的選項。按著option
再點Scaled會有更多分辨率可選牌柄。
如果還不夠的話畸悬,可以下載免費的RDM或者功能更為強大的SwitchResX4(要注冊碼),有更多選擇和分辨率珊佣。
使用RGB模式
有些人會遇到明明是顯示器蹋宦,但卻被認為是電視而采用YCbCr的方式渲染,會讓圖像和字體顯得奇怪咒锻,可以用這個腳本來使Mac用傳統(tǒng)RGB方式渲染冷冗。Force RGB Mode
其他
用SwitchResX自定義的時候,要小心惑艇,如果用了超范圍的分辨率蒿辙,比如在2K屏上應(yīng)用5K分辨率,有可能會黑屏敦捧,甚至是死機须板,這個時候可以接入另一個正常的顯示器,然后刪除以下兩個文件就可以兢卵。
# XXXX是你電腦Mac地址习瑰,每個不同
~/Library/Preferences/ByHost/com.apple.windowserver.XXXXX.plist
/Library/Preferences/com.apple.windowserver.plist