Giter Club home page Giter Club logo

Comments (17)

syscl avatar syscl commented on September 28, 2024 1

@Kazom please try this one with dp3 supported. Floris497 will update his github since he is busy these days.

syscl

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

I will look at it later today

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

Hm.. So it looks like the public beta is different from the dev beta. Can you try running patch.command patch v7 and see if that works? If so post the new md5 output :)

from mac-pixel-clock-patch-v2.

giulioungaretti avatar giulioungaretti commented on September 28, 2024

@Floris497 it does install on my MacBook with the latest beta (16A238m).

But the laptops freezes on connect to 4k display, but the display itself says that there is a 60hz 4k stream.

from mac-pixel-clock-patch-v2.

syscl avatar syscl commented on September 28, 2024

@giulioungaretti @Floris497 the pixel clock has moved to /System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay in Sierra, same patch in different location:

gTarget_Framework_Repo="/System/Library/Frameworks/CoreDisplay.framework/Versions/Current/CoreDisplay"
sudo perl -i.bak -pe 's|\xB8\x01\x00\x00\x00\xF6\xC1\x01\x0F\x85|\x33\xC0\x90\x90\x90\x90\x90\x90\x90\xE9|sg' ${gTarget_Framework_Repo}
sudo codesign -f -s - ${gTarget_Framework_Repo}

Can be found here in my git.
Successfully tested on my Dell Precision M3800 with QHD+ ;)

Best wishes,
syscl

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

Great work! I will look at it at home :)

from mac-pixel-clock-patch-v2.

syscl avatar syscl commented on September 28, 2024

@Floris497 I've already pulled a request for you :)

syscl

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

I will probably need ti change some other stuff.. maybe i delete this again and make a new script for this..

I'm going to give it a look when I'm off of work

from mac-pixel-clock-patch-v2.

syscl avatar syscl commented on September 28, 2024

@Floris497 I dig more into your script and updated md5 checksum by

otool -t ${IOKitLocation} |tail -n +2 |md5 -q

Just pulled a request for you, and thks for the tip to expose md5 checksum from '(__DATA,__data)' section. :)

syscl

from mac-pixel-clock-patch-v2.

Kazom avatar Kazom commented on September 28, 2024

@Floris497 sorry just now saw this, let me know if I should try anything else, updating to the latest public beta now.

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

There will be a new patch file for the new file to be patched in 10.12, "coming this weekend brand new patch file"

from mac-pixel-clock-patch-v2.

Anjiro81 avatar Anjiro81 commented on September 28, 2024

@syscl Thanks for the dp3 supported patch. I can confirm that it is working with the 10.12 public beta 2 (16A254g). Please see attached screenshots.

1
2

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

@syscl what is it you do with patch v8? I can find the code but the perl line does not work.. Did not check for syntax though. It seems like the same code is now present in IOKit and CoreDisplay. Sadly I have no way of testing 4k at the moment..

from mac-pixel-clock-patch-v2.

Floris497 avatar Floris497 commented on September 28, 2024

Hm.. I see what you do now.. somehow my Mac Mini has a different CoreDisplay than my MacBook Air.. both running the same version of OS X from the same source reinstalled both of them and updated from db2 to db3.. so your patch first.. Apple has be working to recreate a lot of the display code it seems, I am now able to have 4k@30Hz on my mini without the patch and 4k@60Hz with the patch.. this was never before possible, I could get it to 40Hz.. Any specific reason to put so many NOP instructions before the jump? (Hope this info is interesting to you also 😃)

EDIT: apparently the macOS shows 60Hz.. but the monitor says 30Hz.. this is MST and the other one is SST both can do 60Hz. I will check later this week if the other one will go up further than 30Hz.

from mac-pixel-clock-patch-v2.

syscl avatar syscl commented on September 28, 2024

@Anjiro81 :)

from mac-pixel-clock-patch-v2.

syscl avatar syscl commented on September 28, 2024

@Floris497 Interesting, I will see it later. Still busy these days...

from mac-pixel-clock-patch-v2.

Kazom avatar Kazom commented on September 28, 2024

All good, working now! Thanks guys!

from mac-pixel-clock-patch-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.