Floris497 / mac-pixel-clock-patch-V2

993 stars 221 forks source link

Support for macOS Catalina 10.15.6 #365

Open patus96 opened 3 years ago

patus96 commented 3 years ago

Hi! I have a MacBook Pro (Retina, 13-inch, Early 2015) with Intel Iris 6100. I have 4K TV (TCL) too and I use it as my external monitor. The problem is with the refresh rate. The maximum frequency (no matter if it's connected via HDMI-HDMI cable or Baseus mDP-HDMI) is 30 Hz at 4K resolution. I tried to patch the clock with no luck :/

❯ ./CoreDisplay-patcher.command
SIP looks to be disabled, all good!

Unknown version of CoreDisplay found.

---- BEGINNING MD5 HASH SUMS ---- version: 10.15.6 build:19G2021

     otool CoreDisplay: 3aa757600fbdfac0ce19d98f98d428b6
 otool CoreDisplay.bak: NO FILE (this is okay)
           CoreDisplay: 5120da03b4a07ad07a6fa7cb3ca1d21b
       CoreDisplay.bak: NO FILE (this is okay)

---- ENDING MD5 HASH SUMS -------

When I type:

❯ ./CoreDisplay-patcher.command patch v5
A backup file already exists - If you force this patch on an already patched version you will lose your original backup!
Be careful: Having no working version of CoreDisplay requires you to reinstall the OS.
It might be wise to undo the patch before trying to redo it using: ./CoreDisplay-patcher.command unpatch
Do you want to continue? [Y/n] Y
SIP looks to be disabled, all good!
Patching CoreDisplay with patch version 5

Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
update_dyld_shared_cache: warning: x86_64h rejected from cached dylibs: /System/Library/PrivateFrameworks/CreateML.framework/Versions/A/CreateML (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
update_dyld_shared_cache: warning: x86_64h rejected from cached dylibs: /System/Library/PrivateFrameworks/HelloWorldMacHelper.framework/Versions/A/HelloWorldMacHelper (("Could not find dependency '/System/Library/PrivateFrameworks/UHASHelloExtensionPoint-macOS.framework/Versions/A/UHASHelloExtensionPoint-macOS'"))
update_dyld_shared_cache: warning: x86_64h rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
update_dyld_shared_cache: x86_64h incorporating 1811 OS dylibs, tracking 988 others, building closures for 2265 executables
The code is still the same. Patch seemed to run, but was probably for the wrong version.
If you are running a new OS, run ./CoreDisplay-patcher.command md5 and ask the maintainer of this script to add support for your system.

Could you please add support for 10.15.6? :)

MrMaxP commented 3 years ago

I've just hit the same problem. It would be amazing to have support for this version