acidanthera / bugtracker

Acidanthera Bugtracker
385 stars 45 forks source link

Question about the "file" argument when running ResourceConverter.sh #284

Closed acidanthera-bot closed 6 years ago

acidanthera-bot commented 6 years ago

@Jern97 opened PMHeart/CPUFriend#2

The instructions say: "The variable file should be a complete plist from /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources with certain modifications"

I don't really know what do to here. I can see a bunch of plist files in that location but have no idea which one should I use and what modifications I have to do?

I searched online but can't seem to find another guide.

Thanks!

acidanthera-bot commented 6 years ago

@PMheart commented

Hi,

I don't really know what do to here. I can see a bunch of plist files in that location but have no idea which one should I use and what modifications I have to do?

In this case, just forget this repo, it's simply not for you. You are going to set it up only when you know why should you patch something.

Best Regards, PMheart

acidanthera-bot commented 6 years ago

@PMheart commented

Well, still somewhat curious? This might be a door to enter.

acidanthera-bot commented 6 years ago

@Jern97 commented

Yes i know i'm still a noob, but I managed to get mac OS working on my laptop using this repo: https://github.com/the-darkvoid/XPS9360-macOS

However I don't have the same CPU (i7 7500U) as he has so I need custom CPUFriend kexts to get the power management right. Thanks for the link, I now know which plist I need. I'll do some more research on the modifications that are needed.

acidanthera-bot commented 6 years ago

@PMheart commented

Well, now that the new MBP with CoffeeLake has been released (MBP15,1 and MBP15,2), which means that there has been native support for CFL. Admittedly the docs/guides regarding FrequencyVectors that CPUFriend mainly deals with are very deficient, thus I do not think one should ever attempt to modify anything before things get clear. In a word, you are supposed to set your SMBIOS to either MBP15,1 or MBP15,2 WITHOUT CPUFriend and see how everything goes. I guess that that will basically satisfy you since certain aspects defined in FrequencyVectors could be dynamically adjusted by the whole XCPM mechanism more or less. If that does not fit you well at all, then start seeking for something, plus I could somehow help if I have some time, which is hard to find... Feel free to contact me, with the email as shown on my blog. :)

Issue reopened to keep tracking the progress.

acidanthera-bot commented 6 years ago

@Jern97 commented

My chip is Kaby Lake though? However I just tried to use the files that are available on the repo that were made for the i7-8550U (Kaby Lake R) and my CPU goes down to 0.5GHz when idle so I think it's working? My chip doesn't turbo boost nearly as long as on Windows for some reason. But I think I can live with that.

Thanks a lot for the replies, and for your contributions to the hackintosh community!

acidanthera-bot commented 6 years ago

@PMheart commented

OK, as for KBL set SMBIOS to MBP14,1, MBP14,2, MBP14,3 or MB10,1.

Yup, it surely is working. In addition I made some comparisons and found out that only the minimum frequency has been modified, which just benefits nothing. (The minimum frequency is 1.3GHz by default as set in the origin file, note that lowering it neither saves your battery life nor provide a better performance when idling)

Therefore, no need to modify X86PlatformPlugin... just delete CPUFriend and use the native ones. Furthermore, the major reason why I wrote this kext was for my desktop with SMBIOS MP6,1, which does not contain an appropriate set of FrequencyVectors and thus has to be added manually... This was obviously totally another story...

acidanthera-bot commented 6 years ago

@Jern97 commented

Yes I'm using SMBIOS MPB14,1.

So it's using the same voltage on 0.5GHz as on 1.3GHz? Could that be the reason why my battery life on macOS is slightly worse than on Windows? I think the chip can clock lower in Windows.

I'll also tag @the-darkvoid because this could be interesting information for his repo.

acidanthera-bot commented 6 years ago

@PMheart commented

Regarding voltage, unfortunately I am not very sure, you may make comparisons by yourself. I do not really think so, maybe that's due to differences of power management between macOS and Windows? Well, since I do not have a laptop hack, I cannot say anything...

acidanthera-bot commented 6 years ago

@PMheart commented

No news here? Issue closed.