Floris497 / mac-pixel-clock-patch-V2

993 stars 221 forks source link

Patch for High Sierra? #211

Open scottsanett opened 7 years ago

scottsanett commented 7 years ago

I could be doing it wrong but the core display patch does not seem to be working for High Sierra. Will there be any update/fix for this?

TheTrollCaptain commented 6 years ago

Ahh okay. Thanks man

TheTrollCaptain commented 6 years ago

Crap.. Well my copy/paste is broken... Will the future patch sort it out or do I have to reinstall the entire OS

Floris497 commented 6 years ago

Hm, you can run the unpatch command.. for me myself it seems to break everything.. doesn't recognize my internal screen anymore. I was looking around a little bit how to fix it.. but I have little time..

TheTrollCaptain commented 6 years ago

I'll try that. Thanks for your help

TheTrollCaptain commented 6 years ago

I just unpatched it but it still is broken... High Sierra breaks everything :(

Floris497 commented 6 years ago

Unfortunately I have had the same happen to me in the beta.. no clue why :/

TheTrollCaptain commented 6 years ago

It may just be a bug or something... I really don’t feel like backing up and reinstalling so I’ll just see if it gets fixed in the future

Floris497 commented 6 years ago

Hm.. i had to reinstall to get it working again.. if you ask me no backup is really needed.. just run the installer again :) (don't blame me if you did need a backup in the end :p)

grigorovich commented 6 years ago

@scottsanett for fix resolutions and solve copy/paste at same time i apply patch: toleda/intel_graphics Before apply just choose your connector configuration. For me is patch with '_c' letter.

and set 2 type of resolutions 2560x1080 in SwitchResX (50Hz, 60Hz)

Now second display with 2560x1080 works fine and copy/paste works as well. MacOS 10.13.1 dev.

Please report if it helps

TheTrollCaptain commented 6 years ago

@grigorovich Sweet! I'll try this when I get home for lunch. What are your specs?

erbrango commented 6 years ago

Hello. Have iMac 4K end 2015 and get 60hz with external 4K TV not. Is this at all feasible?

TheTrollCaptain commented 6 years ago

@erbrango Wait so you want 60Hz on the 4K TV with the patch? What is the TV running at without the patch? (eg 1080p @ 30Hz)

erbrango commented 6 years ago

Mit Capitan geht 60hz ohne nichts und ab Sierra / High Sierra geht überhaupt nicht

shad00m commented 6 years ago

I tried the pixelclockpatch and the lilo+corevideo kext posted here but I cant push above 330Mhz, Is the perl script above confirmed working to push past the 330mhz limit?

jb107502 commented 6 years ago

Any luck on a new official version of CoreDisplay-patcher? I am currently using 10.13.1. I am extremely new to any coding and really only use terminal for this program and getting full use of my ultra wide monitor.

TylerD89 commented 6 years ago

@shad00m Since display refresh rate is measured in Hz and the highest refresh rate on the market is 144Hz, it is quite impossible to get 300MHz (1000000Hz = 1 MHz)... ;)

TylerD89 commented 6 years ago

@jb107502 Nope. The Copy + Paste issue still exists... CoreDisplayPatcher + Lilu is currently the only way to get full resolution + refresh support

TylerD89 commented 6 years ago

Or I guess you could try SwitchX but it does require more tampering

jb107502 commented 6 years ago

@TylerD89 I have SwitchX. It being meh led me to Floris.

TylerD89 commented 6 years ago

@jb107502 Yeah I’ve heard it’s terrible

TahaSolutions commented 6 years ago

I also need the patch for 10.13.1

Appreciate to get notified when it's ready without breaking anything :)

daniel-hdez-lopez commented 6 years ago

Hi,

For those of you that went the lilu+coredisplay way and don't have copy/paste functionality, try executing 'sudo update_dyld_shared_cache'. I regained the functionality after executing it.

Cheers.

Floris497 commented 6 years ago

Would that work with the patch as well?? I'll try when home

daniel-hdez-lopez commented 6 years ago

I don't know. I installed lilu+coredisplay kexts because this patch doesn't work for me at the moment.

TylerD89 commented 6 years ago

Interesting, how the hell did you come up with that lol

daniel-hdez-lopez commented 6 years ago

Pure luck. Playing with the dlyd cache is something you try when something's off with your mac as infinite wheel spinning on some applications among other faults.... so i tried the same that worked for me before. This happens on original macs too... it's annoying.

TylerD89 commented 6 years ago

Yeah I don’t even know what the DLYD cache is so props dude

Floris497 commented 6 years ago

@daniel-hdez-lopez seems to work nicely.. it was mentioned before somewhere in issues but I forgot about it. anyway I made a whole new patch, because the old one was really broken.. expect a new patch soon (only need a bit of testing)

jb107502 commented 6 years ago

Now THIS is my favorite thing I got for Xmas. I am a photographer and not having the Ultrawide use of my monitor was killing me. Thanks so much everyone and @Floris497!

Floris497 commented 6 years ago

Enjoy! Merry belated Christmas! And a happy new year!

TahaSolutions commented 6 years ago

Is this fix final now?

Any step by step guide to install this patch?

Br Shahrouz

On Dec 28, 2017, at 12:37 AM, Floris Fredrikze notifications@github.com wrote:

Enjoy! Merry belated Christmas! And a happy new year!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Floris497/mac-pixel-clock-patch-V2/issues/211#issuecomment-354196224, or mute the thread https://github.com/notifications/unsubscribe-auth/ATrwZGZO8bKRRY6ZyxcAEu_NXt3Bw3DQks5tEtS7gaJpZM4O8ptm.

Floris497 commented 6 years ago

It is.. no step by step.. there is some info in readme should ne sufficient

TahaSolutions commented 6 years ago

Thanks a lot.

Just managed to install the patch.

Wish you and all the guys here a very successful year in 2018.

Regards Shahrouz Raeisi

On Dec 28, 2017, at 5:27 PM, Floris Fredrikze notifications@github.com wrote:

It is.. no step by step.. there is some info in readme should ne sufficient

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Floris497/mac-pixel-clock-patch-V2/issues/211#issuecomment-354315253, or mute the thread https://github.com/notifications/unsubscribe-auth/ATrwZCnxU-g8nFmMphXDBVHKrewHNYd0ks5tE8F2gaJpZM4O8ptm.

shulter commented 6 years ago

v4 patch doesn't seem to work for a MBP 2017 (Radeon Pro 555).

A matching md5 sum was not found, so I forced v4.

TylerD89 commented 6 years ago

@aShure What resolution are you trying to get on your MBP?

TylerD89 commented 6 years ago

@aShure and also, be sure you have the latest version of the patch. V4 is out so you shouldn’t have to force it...

shulter commented 6 years ago

@TylerD89 had to force it as the md5 sum didn't match. Latest High Sierra up to date, latest commit from git. Trying to use UHD 2160p60. USB-C to Displayport adapter. Screen, adapter, cable runs fine with 60Hz on Windows hosts.

Floris497 commented 6 years ago

Did it work after forcing? Could you post MD5 output? :)

shulter commented 6 years ago

Sadly, it didn't work after forcing. See #242 for the MD5 output, I posted a log of the output when I first tried to force it.

Floris497 commented 6 years ago

Update to 10.13.2 :)

shulter commented 6 years ago

Great idea :) It seems that the usual path of updating via the app store is not available with 10.13.1 -> 10.13.2. It even says so on https://support.apple.com/kb/DL1946?locale=en_US Apple, why oh why?

Floris497 commented 6 years ago

Oh?? Really? That's strange..?

shulter commented 6 years ago

My bad, it just didn't show up in the app store as it was downloading in the background. Still a horrible UX :(

I patched CoreDisplay with autodetected correct MD5 now: (otool) Detected patched CoreDisplay on OS X 10.13.2 17C88.

Alas, SwitchResX still won't let me set 60Hz:

image

dragzter commented 5 years ago

I have macbook pro 2018 and im getting the unkown coredispay patch message. My specs

Radeon Pro 555X 4096 MB Intel UHD Graphics 630 1536 MB

My output.

SIP looks to be disabled, all good!

Unknown version of CoreDisplay found.. ---- BEGINNING MD5 HASH SUMS ---- version: 10.13.6 build:17G2307

 otool CoreDisplay: 20f0d2491e9370d3d74d25740aa855ba

otool CoreDisplay.bak: NO FILE (this is okay) CoreDisplay: 24349340f35fb931216e0ccdab2ad3c1 CoreDisplay.bak: NO FILE (this is okay)

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

any idea how i can get this to work? I have a 4k lg monitor.

LG Ultra HD: Resolution: 3840 x 2160 (2160p 4K UHD - Ultra High Definition) UI Looks like: 1920 x 1080 @ 30 Hz Framebuffer Depth: 30-Bit Color (ARGB2101010) Mirror: Off Online: Yes Rotation: Supported Automatically Adjust Brightness: No Connection Type: DVI or HDMI Adapter Firmware Version: 7.55

I cant get it to budge from 30hz

dragzter commented 5 years ago

I tried patching with v4 and v3

dragzter commented 5 years ago

My OS is High Sierra 10.13.6