Floris497 / mac-pixel-clock-patch-V2

993 stars 221 forks source link

Added support for 10.15.7 #366

Open SturdyCat opened 3 years ago

cidus commented 3 years ago

Just ran this CoreDisplay on my Macbook 2015 with 10.15.7, working fine with a miniDP to HDMI 2.0 cable @ 60hz

edy80y commented 3 years ago

Tried this on MacBook Pro 2016 running 10.15.7 and it didn't work. Using Hyperdrive Duo (2020) HD28C + HDMI 2.0 cable to LG 43UJ654T TV.

results below:

MacBook-Pro:~ CoreDisplay-patcher.command status SIP looks to be disabled, all good!

(otool) Detected unpatched CoreDisplay on OS X 10.15.7 (19H2).

jankocian commented 3 years ago

Does not work for my 13" MBP2020 running Catalina 10.15.7... Any ideas how to make it work?

SIP looks to be disabled, all good! (otool) Detected unpatched CoreDisplay on OS X 10.15.7 (19H2). SIP looks to be disabled, all good! Patching CoreDisplay with patch version 5 Password: Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file. touch: /System/Library/Extensions: Read-only file system Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system 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'")) Closing...

jankocian commented 3 years ago

After sudo mount -uw / the patch went through...

SIP looks to be disabled, all good! (otool) Detected unpatched CoreDisplay on OS X 10.15.7 (19H2). 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 1809 OS dylibs, tracking 988 others, building closures for 2259 executables Closing...

Though I'm still not able to get 60Hz from the external 4K monitor...

gsfonseca commented 3 years ago

I'm sorry but I Don't understand how to make this work on 10.15.7, can someone explain to an inexperienced in codes in general?

wjhuang3579 commented 3 years ago

I'm sorry but I Don't understand how to make this work on 10.15.7, can someone explain to an inexperienced in codes in general?

@gsfonseca Swtich branch first.

Jazzstang commented 3 years ago

hey ! I have a 10.15.7 (19H15) CoreDisplay. Any idea on how to update the patch ?

I've tried this : CoreDisplay-patcher.command patch v5 And get that :

Patching CoreDisplay with patch version 5
Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file.
touch: /System/Library/Extensions: Read-only file system
Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system
update_dyld_shared_cache: warning: x86_64 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_64 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_64 rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
Patch failed to run
Felipefuji commented 3 years ago

With a resolution of 3440x1440 50hz or 60hz it doesn't work, but if I put the resolution 2560x1080 60hz it works correctly. I don't know what the reason is.

Felipefuji commented 3 years ago

hey ! I have a 10.15.7 (19H15) CoreDisplay. Any idea on how to update the patch ?

I've tried this : CoreDisplay-patcher.command patch v5 And get that :

Patching CoreDisplay with patch version 5
Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file.
touch: /System/Library/Extensions: Read-only file system
Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system
update_dyld_shared_cache: warning: x86_64 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_64 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_64 rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
Patch failed to run

use this sudo mount -uw / before launching the patch

Jazzstang commented 3 years ago

hey ! I have a 10.15.7 (19H15) CoreDisplay. Any idea on how to update the patch ? I've tried this : CoreDisplay-patcher.command patch v5 And get that :

Patching CoreDisplay with patch version 5
Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file.
touch: /System/Library/Extensions: Read-only file system
Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature
/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system
update_dyld_shared_cache: warning: x86_64 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_64 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_64 rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'"))
Patch failed to run

use this sudo mount -uw / before launching the patch

Thanks a lot ! I've tried to "Batchmod" it without success... I really need to up my terminal game ^^ It work perfectly again !

MahdiNazemi commented 3 years ago

I ran this on my 2012 Unibody MBP with NVIDIA 650M (512MB RAM), and the CoreDisplay was successfully patched, but I still do not see the 60Hz frequency for any of the resolutions (neither 4k nor 1440p HiDPI).

jameswanliu commented 2 years ago

Can't rename /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay to /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay.bak: Read-only file system, skipping file. touch: /System/Library/Extensions: Read-only file system Re-signing /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: replacing existing signature /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay: Read-only file system update_dyld_shared_cache: warning: x86_64 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_64 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_64 rejected from cached dylibs: /usr/lib/swift/libswiftCreateML.dylib (("Could not find dependency '/System/Library/PrivateFrameworks/TuriCore.framework/Versions/A/TuriCore'")) Closing...

xmshaka commented 2 years ago

use this sudo mount -uw / before launching the patch

新版本'10.15.7 (19H1824),强制运行后,切换到hipdi的分辨率会黑屏 -_-!!!

atocca commented 1 year ago

Hello! I'm inexperienced and downloaded patch 10.15.7... how do I proceed?

192:~ Toccafondo$ chmod +x ~/Downloads/CoreDisplay-patcher.command
192:~ Toccafondo$ ~/Downloads/CoreDisplay-patcher.command
SIP looks to be disabled, all good!

Unknown version of CoreDisplay found.
---- BEGINNING MD5 HASH SUMS ---- version: 10.15.7 build:19H2026

     otool CoreDisplay: 99d95e93cde029523e401a1a696230c3
 otool CoreDisplay.bak: NO FILE (this is okay)
           CoreDisplay: 5120da03b4a07ad07a6fa7cb3ca1d21b
       CoreDisplay.bak: NO FILE (this is okay)

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

But doesn't work