Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

Hi arsradu,

as well as other discussing the non-round cpu clock.

There are settings in Clover config.plist

	<key>CPU</key>
	<dict>
		<key>#BusSpeedkHz</key>
		<integer>133330</integer>
		<key>#FrequencyMHz</key>
		<integer>3140</integer>

BusSpeedkHz will set Bus Speed and tell to kernel FSBFrequency.

	if (DTLookupEntry(0, "/efi/platform", &entry) != kSuccess) {
		kprintf("EFI_FSB_frequency: didn't find /efi/platform\n");
		return 0;
	}
	if (DTGetProperty(entry,FSB_Frequency_prop,&value,&size) != kSuccess) {
		kprintf("EFI_FSB_frequency: property %s not found\n",
			FSB_Frequency_prop);
		return 0;
	}

Clover calculated value for me 99790. DO NOT ROUND IT!!! It is correct value. It is more correct value then 100000!

It is checked and proved. Clover calculate the value with good precision, much more precise then you think.

Changing the value will affect Clock, Sound and other system behavior.

 

FrequencyMHz is a value to be written into DMI and affect only on AboutMac with System Profiler to show CPU Speed. It is safe to write here all you want.

Hi Slice!

 

Two words: thank you. :)

 

I guess Windows' approximation is more like "guesstimation" than precise calculations.

Link to comment
Share on other sites

 

PS. CloverConfigurator tends to write something here. This is bad!

Open the final config.plist with TextEditor and erase the lines with BusSpeedkHz to be not having this value.

Or place # at the key as in my example.

 

Uhum... I'll check that when I get home.

 

Thank you, Sergey! :)

 

By the way, did you have the time to include those new translations into Clover? I still can't find RO, for example, in the list of supported/selectable languages. Do we need JrCs' help for this case?

Link to comment
Share on other sites

How do I set that value?

If it's adjustable, it'd be in your BIOS. Don't know where exactly as I don't own your particular motherboard—the manual should tell you. Or you can try googling "GA-B85-HD3 BCLK".

 

Can it be set on non-k cpus?

Yes. I'm able to set it on my non-K CPU.

 

If it's not a Clover issue, then where is the issue? If you say CPU, then why, with the same CPU and motherboard, I get correct/appropriate readings in Windows (haven't tried Ubuntu yet) and (althogh I can't remember the exact version number) with that older version of Clover? Was it a bug then? Is it a bug now? This is what I'm trying to understand.

FWIW, I've booted in Windows 8.1 w/o using Clover and seen it report values of 3.49GHz when I don't have BCLK set manually (at 100.1). That's part of why I'm sure this isn't a Clover problem.

 

And yes, as I said, changing the bus speed in config leads to some issues im.YouTube. If you only set the frequency (3200 in my case), the issue is gone and the displayed value is also 3.2 GHz.

From what I've read before, BCLK is set at boot and will vary slightly each time. Also, the behavior of other components such as the audio chip and USB ports are determined in part by the BCLK frequency.

 

So basically, if say the audio chip is expecting some BCLK freq of 99790kHz, but it ends up arbitrarily set to 100000kHz, then odd behavior can occur (such as the skipping you describe).

  • Like 1
Link to comment
Share on other sites

Uhum... I'll check that when I get home.

 

Thank you, Sergey! :)

 

By the way, did you have the time to include those new translations into Clover? I still can't find RO, for example, in the list of supported/selectable languages. Do we need JrCs' help for this case?

Yes, he must be pootle admin.

Link to comment
Share on other sites

BusFrequency = FSBFrequency. Keep raising the value, at some point you notice the OS speeds up. ;)

If you tie the power cord and the network cable together with a tight knot, you can get up to 10Gb/s. For the CPU, you can just strap a jet engine on top. Should get it running pretty fast... :)

  • Like 2
Link to comment
Share on other sites

Because wrong/buggy environment. :)

Have you considered switching to "manual" compiling and ditching CGP..forever? For as far as I can see, the reason is the same, as for everyone else asking about this issue so far: wrong EDK2. But still, this doesn't have anything to do with Clover, does it? I mean aside from the fact that both methods will compile Clover...hopefully. :)) Why do you guys keep asking for support for CGP when the issue is nor Clover's, or CGP's?

 

Maybe I'm wrong... But I'm just thinking, if you see so many people complaining about a tool, and also other people offering a better solution to that, why would you still want to use the broken one? This is what I don't get.

 

By the way, I have no problem building Clover (last night I just built myself r3288) using the "manual" compiling mode. And I say "manual", because it's actually a script that does all the work for me. So it's not even manual. It's still automatic. Just using a better way.

May i ask if what version of EDK2 are you using?
Link to comment
Share on other sites

Is it ok to share the script you are using?

i'll PM you when I get home. It's nothing spectacular. And it's basically the same procedure as described on Clover wiki for manual compiling. Just...automated, so that I don't have to input all the commands manually. That's pretty much it. Everyone can do it. But sure, I will share it later.
Link to comment
Share on other sites

@Slice

possible to add  "-D USE_BIOS_BLOCKIO" in --ia32 (boot3)?

Yes, it will work.

But do this by yourself, I am not going to remake installer to have one more Clover version.

Link to comment
Share on other sites

Slice, I have a question:

 

is it possible to use multiple config.plists with Clover? For example, use config.plist for normal boot and use config1.plist when booting from the recovery partition?

 

If not possible yet, imho this would be a very nice enhancement! What would you think?

 

(The background is to work around the dreaded AppleGraphicsDevicePolicy SMBIOS 6,1 problem - since it seems to be impossible to patch that on the fly using clover. By this way one could use the SMBIOS 5,1 definition on selected partitions, i.e. the recovery partition. But I also think such a feature could have other uses)

Link to comment
Share on other sites

sounds good, but how exactly can I define another config.plist here, or even only change the SMBIOS? Did not found anything in the wiki about this.

Enter other name. For example: "config-MacPro5".

It will use config-MacPro5.plist

except early settings like Timeout.

options.png

  • Like 1
Link to comment
Share on other sites

Thanks Slice! So this at least works when using clover options at boot, but you still have to do that manually.

 

Now, what about automating this, for example with custom entries? I.e. the ability to assign a custom config to each entry. Imho that would be a nice addition.

Link to comment
Share on other sites

×
×
  • Create New...