vinc3m1 / mac-pixel-clock-patch

36 stars 26 forks source link

Up to date #9

Open Floris497 opened 9 years ago

Floris497 commented 9 years ago

For the last few months i'm keeping this project up to date, can you add the new code to you project? (never done a pull request so i hope i'm doing it right)

sammcj commented 9 years ago

OK issue with 10.11 BETA 6, looks to be related to the rootless setting which can no longer be disabled?

samm-mbp ~/git/mac-pixel-clock-patch % ./macPixelClockPatcher.command
Detected unpatched IOKit on 10.11 BETA 6, patching.
Can't rename /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit to /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit.bak: Operation not permitted, skipping file.
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit: replacing existing signature
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit: Operation not permitted
Floris497 commented 9 years ago

You cannot disable it with an boot-arg. You need to boot from your restore partition, and switch it off over there. It now called "system integrity protection"

androcci commented 8 years ago

I have a problem. i have a gtx 670 2gb which is native to my mackintosh. i have an lg 4k tv. i have downloaded your command file to my downloads. firstly i pasted and ruined on terminal the lines you provided. it asked for my password, and it said... samm-mbp ~/git/mac-pixel-clock-patch % ./macPixelClockPatcher.command Detected unpatched IOKit on 10.11 BETA 6, patching. but it never mentioned my nvidia gpu?? like in the example??

restarted. i tried doing it again but when i copy and paste the text on terminal nothing happens i press paste and enter a million of times and nothing happens. i took the command file out of the download folder and then do it again on terminal and it said file not found, so i put it back and again nothing happens it does even ask me for a password or nothing after he first set up??? my 4k @60z is still not working i disabled integrity support as well and switch resx says invalid.

i have a hdmi 2.0 and also an adapter DP 1.2 to HDMI. I'm on el capital 10.11.2

Floris497 commented 8 years ago

What machine do you have? You need an active DP to HDMI2.0 adapter, i have a gtx 670 in my mac pro, and it works without the patch 😁 Try reinstalling the system.. Also, the Nvidia patch is not updated because it will mess with the codesigning of a kext, it will give a boot error if SIP is enabled.. And because most people don't use the driver we better not mess with it.. We need to find a long term solution for this sometime.

androcci commented 8 years ago

@Floris497 ahhh i didn't tell you. i installed el capitan with a gtx 750 ti then i got my gtx 670 on the mail!!! plugged it in right away. it works, i was trying everything you said before. note aside, once i install the OS X i cant pull out the usb or it will not boot or give me bluetooth transport error weird. now after i saw your message i tried installing everything again but i get a bluetooth transport error upon installation. what i have noticed is that when i installed in verbose mode with the gtx 750ti i couldn't see the whole screen but with the nvidia gtx 670 i see everything scaled nicely, this means i hit the jack pot. I am tired i will try again tomorrow!! and i do have an HDMI to DP. maybe that is all i need a clean install with the right GPU. do you know if the gtx 4gb will work as well? :dango: :question:

also do i need to plug in the DP to HDMI during installation or i can do it after i install the OS X??

maximus impact vi cpu i7 4770k gtx 670 ssd samsung evo eries 500gb i tried installing with config of a iMac retina display. do you have it on a mac pro (3,1)??

Floris497 commented 8 years ago

So do you have a macpro or a hackingtosh? I have a genuine macpro 3,1 (you are noting an i7 so..) Also i only know 1 adapter capable of 4k@60Hz that is the one from cube3D I think.. I'm not sure why 4gb would not work.. Installing the Nvidia web drivers might also help.. What usb can you not pull out?

androcci commented 8 years ago

i have a hackintosh. maximus impact is the motherboard. i did a clean install and with the DP adapter and HDMI2.0 connected but nothing. i want HDMI because i would like the audio. but i don't even have audio l0l. this computer is so bootleg.

Floris497 commented 8 years ago

DP does audio.. Maybe not on that card

androcci commented 8 years ago

@Floris497 wow i didn't know that DP did audio(I'm not familiar with DP! I'm still working on this piece....

i did a clean install again. but to no avail. i think I'm at a disadvantage, i don't have a real mac.:( hopefully you can find a fix for a hackintosh and i tried it on windows, it does audio.

Floris497 commented 8 years ago

My card does no audio over DP but my macmini did driver is not present I guess.. You can use 2 cables? Hdmi for audio and dp for video, not sure how to seperate though..

androcci commented 8 years ago

@Floris497 i wish there was a patch that you just could paste on command window to unlock the pixel clock for el capitan. oh well.

Floris497 commented 8 years ago

That does excist https://github.com/Floris497/mac-pixel-clock-patch/issues/10 look there

androcci commented 8 years ago

@Floris497 this describes my problem exactly. lol! ok now I'm stupid i don't know how to do half of the stuff but i will do my best and get back to you.

Floris497 commented 8 years ago

If you need any help feel free to ask

androcci commented 8 years ago

here is my work! i reinstalled it and i finally got a password prompt

then i got this bb87a13eaabefcafa9e82fad03365aa4 after i pasted the command line you gave the other guy.

here are the steps... screen shot 2015-12-29 at 2 36 53 pm screen shot 2015-12-29 at 2 37 16 pm screen shot 2015-12-29 at 2 43 04 pm should i restart now? i have the SIP is disabled.

where do i find the bak file?

Floris497 commented 8 years ago

What time zone do you live in? I'm currently on Amsterdam time 🙈, 23:57, I will help you tomorrow, the chmod +x is something you only need to do once.. I need to know what driver is in use and which version, apple driver or nvidia web driver.

androcci commented 8 years ago

sorry I'm in new jersey united states eastern time is 6:02 pm!! thanks for all your help. gtx 670 nvidia web driver for 10.11.2 (346.03.04f02 version) el capitan 10.11.2.

good night!! let me know by tomorrow what you think! thanks again

Floris497 commented 8 years ago

Look trough some older open/closed "issues" in this repo and in my fork of this.. Gather some info, and try to solve it 😁, should be fun! Tomorrow I will give you exact instructions on how this might be solvable :) (there is a topic about the exact same driver as you have, even more than one, feel free to open a new issue on my fork for this, will make the search for others easier and we need to make an FAQ badly 😁)

Floris497 commented 8 years ago

@androcci i have no idea why it does not work on your 670.. should not matter if it is a genuine mac or not..

androcci commented 8 years ago

@Floris497 hey sorry i been absent and not annoying you hahaha. I'm doing something first. I'm going to buy some components and switch to a more native motherboard and buy a native athena from apple. I'm going to make it as native as possible. in that way i will only and only work on the pixel clock restriction. but yeah it never worked, i will get back to it when i get the pieces by mail. thanks again!

androcci commented 8 years ago

hey now everything is working in my new hackintosh mac. it couldn't be more native. yet i cant get 4k @60Hz. this is what you said Pay attention to the output - it should say it detected unpatched IOKit and NVIDIA driver on (your OS X version) and patch it.

but i get only detected unpatched IOKit, on another post you said that is only partially done and that i need to patch the nvidia driver 10.11.2 but i don't know how or what you mean but it worked for the person on the other forum. i believe that was his final step. so I'm pretty much almost done!!

here it is

Update: I used your new patch (10.11.1 support). After executing the .command file I received the following message in terminal:

Detected unpatched IOKit on 10.11, patching. Password: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit: replacing existing signature

I presume that this is a success!?

FLORIS

Partly, now you need to patch the Nvidia driver, you can either do that by pasting in you md5 of the 10.11 Nvidia file, the script now supports only 10.10.5 and 10.11.1, i will add 10.11 support when my other machine is done updating. (you can wait of try it yourself)

my question is why don't i get detected unpatched IOKit and NVIDIA driver on (your OS X version) and patch it.

i only get IOKit.... thanks! and would you be able to assist me on team viewer and i can document it and record the screen and uploaded on youtube? it would teach a lot of people what to do. a lot of people are in the same boat with me on tonymacx86 and you are being talked about a lot! please you gotta save me!

Floris497 commented 8 years ago

Seems like it is time to make a more detaild guide about this, the nVidia patch is not being updated for the reason that most people don't use it and it makes the kext file unusable if you don't turn off kext codesigning requirements, this has been added to SIP in 10.11.. I had not expected this to be used often on hackingtosh, I have some stuff to learn about because I never had one, I'm having some experience with it with unsupported GPU's in macpro and eGPU, if you have some sort of messaging thing like skype you can add me there, send me a PM on tonymacx86, same username, while I have my account there for a few years I have not earned privileges to send PM's myself, others have found out I'm not that hard to find on Facebook so you can send a message there too..