Jump to content

Clover General discussion


ErmaC
30,156 posts in this topic

Recommended Posts

@Sherlocks

 

Attached Boot Log with SSDT and without

Out of the question.

Your LAN card is Intel

0:102  0:000  PCI (00|00:1F.06) : 8086 15B8 class=020000
0:102  0:000   - LAN: 0 Vendor=Intel

So you have to use IntelMausi and you may delete RealtekRTL8111 and Atheros

  • Like 2
Link to comment
Share on other sites

clover made SSDT for max 47 following your overclocked speed. log is good.

check your power management from intel power gadget

So Clover now handles power management? No SSDT needed? I removed mine and seems ok on my skylake rig.

post-1083558-0-40049100-1511258193_thumb.png

Link to comment
Share on other sites

So Clover now handles power management? No SSDT needed? I removed mine and seems ok on my skylake rig.

 

This confuses me, there has always been support for c and p state generation in clover. The only problem is that it doesn't have an exhaustive list of cpus and values like that script does so it usually severely unpowers the cpu causing it to usually stay stuck in a subset of the available p-states...

 

Man,

Clover handles Power Management since 2010 (Chameleon AMLGenerator by Kozlek) while Pike made his script only in 2011.

 

I was confused by his statement as well, lol.

 

So how come his script has been recommended so much?

 

Who's recommending that script? Why not do what is suggested by us and modify your original firmware tables to be correct for compliance with Apple firmware.

  • Like 1
Link to comment
Share on other sites

Could you point me in right direction to study what you suggested?

Thank you

 

Who's recommending that script? Why not do what is suggested by us and modify your original firmware tables to be correct for compliance with Apple firmware.

Link to comment
Share on other sites

Could you point me in right direction to study what you suggested?

Thank you

How so?

It's pretty easy, the most difficult part is understanding ACPI. You need to dump your original ACPI tables from clover or linux or something else like Aida64 from windows. DO NOT dump from macOS. Get iasl, here is binary built from RehabMan. Decompile the tables with

iasl -d TABLENAME.aml
Then edit the tables and correct the definitions of _PSS and _CST to APSS and ACST. There are topics you can search for to figure out exactly how to do it but this will give better frequency to power ratio that is expected by the motherboard to perform these power changes correctly. I think to recompile to table its like

iasl -tc TABLENAME.dsl
Don't quote me on that though lol.

 

EDIT: Which also reminds me that I just updated my firmware and did not get the new tables to patch... Probably not the same now. So that might explain my AICPUPM panic... I'm an idiot.

 

EDIT2: You should make copies of the tables in a backup location you can easy copy back if you mess up as it may overwrite the original table when you recompile... I can't remember. I'm sure if you look at the help you can find out what the commands are and use them accordingingly.

  • Like 3
Link to comment
Share on other sites

It's pretty easy, the most difficult part is understanding ACPI. You need to dump your original ACPI tables from clover or linux or something else like Aida64 from windows. DO NOT dump from macOS. Get iasl, here is binary built from RehabMan. Decompile the tables with

iasl -d TABLENAME.aml
Then edit the tables and correct the definitions of _PSS and _CST to APSS and ACST. There are topics you can search for to figure out exactly how to do it but this will give better frequency to power ratio that is expected by the motherboard to perform these power changes correctly. I think to recompile to table its like

iasl -tc TABLENAME.dsl

I have a perfectly working DSDT just always been concerned / worried about cpu power management.

Attached is my clover extracts  :yes:

If you wanna look see.

origin.zip

Link to comment
Share on other sites

This is my speedstep on Skylake (#1 in signature):

- no external SSDT

- config->ACPI->SSDT->Generate->PState=Yes, CState=Yes.

- CPU->SavingMode=15

- HWPEnable=NO

others by default.

Снимок экрана 2017-11-21 в 22.45.14.png


And  this is speedstep for my IvyBridge laptop (#2 in signature)

boot-arg = -xcpm

no CPU SSDT

Generate=YES (don't know if needed for xcpm)

Screen Shot 2017-11-18 at 14.08.32.png

 

In past I had Dell Inspiron 1525 with Core 2 Duo Penryn. I aalso had very good speedstep for it.

Moreover. PlimitDict and UnderVoltStep was invented for those computer to reduce temperature.

 

  • Like 6
Link to comment
Share on other sites

This is my speedstep on Skylake (#1 in signature):

- no external SSDT

- config->ACPI->SSDT->Generate->PState=Yes, CState=Yes.

- CPU->SavingMode=15

- HWPEnable=NO

others by default.

What does - CPU->SavingMode=15 do?

Also what is C2, C4 and C6 options for in cpu section?

  • Like 1
Link to comment
Share on other sites

This is my speedstep on Skylake (#1 in signature):

- no external SSDT

- config->ACPI->SSDT->Generate->PState=Yes, CState=Yes.

- CPU->SavingMode=15

- HWPEnable=NO

others by default.

attachicon.gifСнимок экрана 2017-11-21 в 22.45.14.png

And  this is speedstep for my IvyBridge laptop (#2 in signature)

boot-arg = -xcpm

no CPU SSDT

Generate=YES (don't know if needed for xcpm)

attachicon.gifScreen Shot 2017-11-18 at 14.08.32.png

 

In past I had Dell Inspiron 1525 with Core 2 Duo Penryn. I aalso had very good speedstep for it.

Moreover. PlimitDict and UnderVoltStep was invented for those computer to reduce temperature.

 

Slice,

Pretty sure that it needs c and p states to work, even for xcpm but your first one there is waaaaaaaaaaaayyy wrong, unless the intel power gadget is wrong. You are not even getting 20W of power when that CPUs TDP is 65W, your CPU is being under powered by p-state generation. The second appears to have about the same power usage (because it probably is set to use same amounts of power in SSDT as the first), although it has a lower TDP of 35W. I still suspect that since you're generating both, that this is the case for anyone who generates, the TDP will not be correct.

Link to comment
Share on other sites

@Devs/Coders

 

A DXE Driver could modify cpu things like turbo or similar parameter overriding motherboard and cpu original features?

 

 

I am referring to this because I have read on anandech of a change to override max turbo part on xeon V3 (surely) and maybe on Xeon V4 cpu

 

Is there some clover coders/devs who are using these kind of cpu?

Should be a great clover features.. :-)

 

links

https://github.com/f...y/v3x4/releases

 

https://forums.anandtech.com/threads/what-controls-turbo-core-in-xeons.2496647/

Link to comment
Share on other sites

Slice,

Pretty sure that it needs c and p states to work, even for xcpm but your first one there is waaaaaaaaaaaayyy wrong, unless the intel power gadget is wrong. You are not even getting 20W of power when that CPUs TDP is 65W, your CPU is being under powered by p-state generation. The second appears to have about the same power usage (because it probably is set to use same amounts of power in SSDT as the first), although it has a lower TDP of 35W. I still suspect that since you're generating both, that this is the case for anyone who generates, the TDP will not be correct.

I think TDP is not influenced although it included into state generator in Clover.

I checked my performance, it is the same as in Windows 7 Pro by same tests.

  • Like 2
Link to comment
Share on other sites

 

FakeSMC failing to load?

 

 

 

The installer path to boot.efi on the "Boot OS X" partition for Fusion Drives changed from /System/Library/CoreServices/boot.efi (in El Capitan) to /com.apple.boot.R/boot.efi (in Sierra & High Sierra)...

 

El Capitan

attachicon.gifBoot OS X and com.apple.boot.S for El Capitan install.png

 

vs Sierra & High Sierra

attachicon.gifBoot OS X and com.apple.boot.R for HSierra install.png

 

 

can you test Lilu.kext for fusion drive?

https://github.com/vit9696/Lilu/issues/31

 

thanks in advance

 

EDIT1.

removed file.

sorry lastest commit of lilu causes kp. 

  • Like 1
Link to comment
Share on other sites

I think TDP is not influenced although it included into state generator in Clover.

I checked my performance, it is the same as in Windows 7 Pro by same tests.

 

The whole point of p-states is to change the power consumption, it most definitely matters. I imagine that it would work somewhat if you enter the exact TDP wattage for your CPU in settings but if not then you are not getting correct p-states, or even close. Since generate p/c-states is enabled by default, most people probably are not setting the TDP, that should maybe put out some sort of warning.

 

EDIT: I don't see how you could only be getting ~20W of consumption on a 65W TDP CPU, even in windows. That can't possibly be correct, just one core of my CPU uses 20W+ when at full load. Currently I am overclocked and with just five minutes of pretty much just typing it maxed out at 27.99W for just one core...

@Devs/Coders

 

A DXE Driver could modify cpu things like turbo or similar parameter overriding motherboard and cpu original features?

 

 

I am referring to this because I have read on anandech of a change to override max turbo part on xeon V3 (surely) and maybe on Xeon V4 cpu

 

Is there some clover coders/devs who are using these kind of cpu?

Should be a great clover features.. :-)

 

You can just use that driver already, but I don't think you read the readme because it says you need modified firmware to use.

Link to comment
Share on other sites

What about results like this? I see many of those, that have much higher scores, just that one in particular is only operating at the correct base frequency 2.7GHz where yours is the turbo 3.3GHz, and still has higher scores.... I would show you my results showing vastly different outcomes in macOS but I can't boot macOS currently because I can't figure out why I am getting panic. That's for later on when I have time to sit and mess with it though. As for windows, here is HWMonitor of my CPU for just one second, nothing open. I have it set to 3.3GHz with 36/38/40/42 turbos, and higher overhead for those states. Appears that all cores at 1.6GHz uses only 2.21W. The whole CPU package went up to 24.86W at only 20% usage because the uncore appears to always consume ~3.5W. Three of the cores jumped up to 2.7GHz at some point, can't tell you if it was at once or individually. But during this time 20.11W was used when only at 20% CPU usage. Which makes sense 20W * 20/100 = 20W * 5 = 100W. The TDP is 95W, so I'm sure the math works out better if I knew exactly which cores were being used for how long, etc. You should dump your generated p-states table and compare them to the original table, what is the difference in expected power consumption for each state? If this number is too high, you will be stuck in lower p-states, if this number is too low then you will get higher p-states only. The CPU generates so much power for each state (you can't change this unless it's one of the newer CPUs and you reprogram the hardware power features), so if the CPU is producing 40W but all your states say you need 100W, you will never reach any lower states. Similarly if your CPU produces 40W but you set all your states to say you need 20W, you will never go above your lowest state. I think I said that right, if not I'm pretty sure you can understand what I mean.

post-749318-0-71421400-1511490742_thumb.png

Link to comment
Share on other sites

My base frequency is

0:102  0:000  BrandString = Intel® Core™ i5-6400 CPU @ 2.70GHz

but I show in About Mac my custom value

	<key>CPU</key>
	<dict>
		<key>FrequencyMHz</key>
		<integer>3300</integer>

His result is higher may be because of RAM.

He also may has overclocked FSB.

 

And there is no twice difference as you say about 20W 65W

Link to comment
Share on other sites

Hi apianti

you think bad :-)

I have also modified my bios in all way I can (deleting microcode or changing it to old e newest one)

 

I also have used in clover a Haswell EP fakecpuid to understand if it is possible to have some changes..but for now I am loosing

Many people with V3 Xeon had success using this "exploit"

And I was asking here if maybe it is possible to change after Bios post those parameters..

Thank you for your attention

 

 

 

You can just use that driver already, but I don't think you read the readme because it says you need modified firmware to use.

Link to comment
Share on other sites

×
×
  • Create New...