Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

3 hours ago, SavageAUS said:

Can anyone here please help me. @Slice

I posted a little while ago on a different thread (monterey thread) but i do believe it is a clover issue as opencore works fine.

After not using my AMD hack for a little while i booted up and noticed "fast animations" like the video in the app store that goes for 15 seconds only runs for like 6 seconds on my machine before looping, cursor blink is double speed and the clock widget seconds hand moves twice as fast as it should.

 

This only happens with Clover and not OpenCore but id prefer to use Clover.

 

I have attached the configs from both versions to see if anyone can "spot the difference" or tell me whats wrong with my clover setup.

OpenCore 0.7.6 config.plist 39.48 kB · 0 downloads Clover 5142 config.plist 24.51 kB · 0 downloads

That's probable bug of Clover 5142. You may try Clover 5141 to fix it.

Link to comment
Share on other sites

3 hours ago, jsl2000 said:

That's probable bug of Clover 5142. You may try Clover 5141 to fix it.

I have tried downgrading to 5141 and 5140.1 and nothing changes. Still get the same fast speed, Also wifi behaves erratically switching off and on. No such issues with OpenCore

CLOVER.zip

Link to comment
Share on other sites

9 hours ago, SavageAUS said:

Can anyone here please help me. @Slice

I posted a little while ago on a different thread (monterey thread) but i do believe it is a clover issue as opencore works fine.

After not using my AMD hack for a little while i booted up and noticed "fast animations" like the video in the app store that goes for 15 seconds only runs for like 6 seconds on my machine before looping, cursor blink is double speed and the clock widget seconds hand moves twice as fast as it should.

 

This only happens with Clover and not OpenCore but id prefer to use Clover.

 

I have attached the configs from both versions to see if anyone can "spot the difference" or tell me whats wrong with my clover setup.

OpenCore 0.7.6 config.plist 39.48 kB · 1 download Clover 5142 config.plist 24.51 kB · 2 downloads

It is probably bus speed. Make some analisys (sudo sysctl ... for example) to see what bus speed determined by Clover and by OpenCore.

Link to comment
Share on other sites

Hello @Slice can you please confirm that Clover 5142 injects something open-core related?

I am getting an out-of-nowhere NVRAM parameter that is confusing Hackintool in believing that I am running OpenCore (when in Auto-detect mode):

% nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version	UNK-000-0000-00-00

% nvram -d 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

% nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version    
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version	UNK-000-0000-00-00

Is by any chance Clover injecting this due to code-parts being used from OpenCore?

I cannot delete this parameter from NVRAM in two different hacks using Clover 5142... and this was not there with r5139 as Hackintool worked 100%.

Thank you in advance for your reply.

 

EDIT: This is not happening on r5139...

 

Edited by MacKonsti
Link to comment
Share on other sites

14 hours ago, MacKonsti said:

Hello @Slice can you please confirm that Clover 5142 injects something open-core related?

I am getting an out-of-nowhere NVRAM parameter that is confusing Hackintool in believing that I am running OpenCore (when in Auto-detect mode):

% nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version	UNK-000-0000-00-00

% nvram -d 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version

% nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version    
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version	UNK-000-0000-00-00

Is by any chance Clover injecting this due to code-parts being used from OpenCore?

I cannot delete this parameter from NVRAM in two different hacks using Clover 5142... and this was not there with r5139 as Hackintool worked 100%.

Thank you in advance for your reply.

 

EDIT: This is not happening on r5139...

 

Yes, confirm.

iMac2017:CloverBootloader sergey$ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version UNK-000-0000-00-00
iMac2017:CloverBootloader sergey$

I am not sure if it is wrong variable as we partially using OC. But I will try to eliminate this.

  • Like 1
Link to comment
Share on other sites

16 hours ago, Slice said:

It is probably bus speed. Make some analisys (sudo sysctl ... for example) to see what bus speed determined by Clover and by OpenCore.

@Slice Is the correct command?

 

 

Spoiler


OpenCore.png

Clover.png

Clover.png

OpenCore.png

 

Edited by SavageAUS
Link to comment
Share on other sites

sysctl -a | grep freq

 

I see big difference in busfrequency in the two pictures. What is what?
 

Each picture is labelled with the boot loader it was taken with.
I’ll post the new command soon.


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

22 minutes ago, SavageAUS said:


Each picture is labelled with the boot loader it was taken with.
I’ll post the new command soon.


Sent from my iPhone using Tapatalk

I see no the label.

I can recommend you to set config.plist->CPU->BusSpeedkHz=100000

Link to comment
Share on other sites

1 hour ago, SavageAUS said:


Issue still remains.
Spoiler

  Reveal hidden contents

1603145275_ScreenShot2021-12-19at5_49_51pm.png.3f8a8f680b8b39aa8ba7b12b9da357e8.png416914308_ScreenShot2021-12-19at5_56_19pm.png.9e41ca45b459235b319be023be45e62e.png

 

In my FX-6300 hackintosh I must set config.plist->CPU->BusSpeedkHz=200000 to get the correct frequency for audio output without crack.

Link to comment
Share on other sites

In my FX-6300 hackintosh I must set config.plist->CPU->BusSpeedkHz=200000 to get the correct frequency for audio output without crack.

My problem is Audio yes but also all animations are double speed like the seconds hand on the clock widget.


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

7 hours ago, Slice said:

Yes, confirm.

iMac2017:CloverBootloader sergey$ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version UNK-000-0000-00-00
iMac2017:CloverBootloader sergey$

I am not sure if it is wrong variable as we partially using OC. But I will try to eliminate this.

Thanks for confirming @Slice please try to eliminate before r5143 is released, if possible? This has been very confusing to be honest. Many thanks!

 

EDIT: The value injected by OC is REL-075-2021-11-02 for example.

But if you do that in Clover, Hackintool and possibly other tools will consider as OC being the bootloader not clover, so I suggest you kindly try to remove it, Slice.

I raised the issue to Headkaze on GitHub, too. Спасибо

 

Edited by MacKonsti
Link to comment
Share on other sites

13 minutes ago, MacKonsti said:

Thanks for confirming @Slice please try to eliminate before r5143 is released, if possible? This has been very confusing to be honest. Many thanks!

 

EDIT: The value injected by OC is REL-075-2021-11-02 for example.

But if you do that in Clover, Hackintool and possibly other tools will consider as OC being the bootloader not clover, so I suggest you kindly try to remove it, Slice.

I raised the issue to Headkaze on GitHub, too. Спасибо

 

I commited the change to github.

 

4 hours ago, SavageAUS said:


Issue still remains.
Spoiler

  Hide contents

1603145275_ScreenShot2021-12-19at5_49_51pm.png.3f8a8f680b8b39aa8ba7b12b9da357e8.png416914308_ScreenShot2021-12-19at5_56_19pm.png.9e41ca45b459235b319be023be45e62e.png

 

May be set BusSpeedkHz=408000 as in OpenCore?

I also see a difference in tsc.frequency.

  • Thanks 1
Link to comment
Share on other sites

12 hours ago, Slice said:

I commited the change to github.

 

May be set BusSpeedkHz=408000 as in OpenCore?

I also see a difference in tsc.frequency.

In my Ryzen 1700X hackintosh I found it should be set BusSpeedkHz=200010 (or 200001 to 202000) to get stable both audio and video output as well as better score in Cinebench R20. Exactly 200000 will get instant reboot before login desktop. But only set to 100000 can get normal sleep/wake-up function unfortunately with unstable audio/video play in Firefox and very poor performance score by cinebench R20 !

Just for your reference.

Edited by jsl2000
Link to comment
Share on other sites

15 hours ago, Slice said:
May be set BusSpeedkHz=408000 as in OpenCore?
I also see a difference in tsc.frequency.


I can give that a try. I’m just curious as to why I need to set a value. I’ve been using clover on my amd hack for a while and never had this problem before and I don’t see any reports of anyone else having this issue.

 

sysctl -a | grep freq
hw.busfrequency: 400000000
hw.busfrequency_max: 400000000
hw.busfrequency_min: 400000000
hw.cpufrequency: 14400000000
hw.cpufrequency_max: 14400000000
hw.cpufrequency_min: 14400000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 6800000006

Setting to 400000 Makes everything go in slow motion, like half speed instead of double speed.

I will try 200000.

Below is at 200000 exactly and system seems to running at normal speed now.

The values in the below saection are still very different from what i get with OpenCore so i am not sure which one is correct.

sysctl -a | grep freq
hw.busfrequency: 200000000
hw.busfrequency_max: 200000000
hw.busfrequency_min: 200000000
hw.cpufrequency: 7200000000
hw.cpufrequency_max: 7200000000
hw.cpufrequency_min: 7200000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3400000000
Spoiler

256549259_ScreenShot2021-12-19at5_56_19pm.png.e082369ff3be461e0d9fe1370027a5b5.png



Sent from my iPhone using Tapatalk

Edited by SavageAUS
Link to comment
Share on other sites

1 hour ago, SavageAUS said:


I can give that a try. I’m just curious as to why I need to set a value. I’ve been using clover on my amd hack for a while and never had this problem before and I don’t see any reports of anyone else having this issue.


Sent from my iPhone using Tapatalk

I found that in my AMD hackintoshs (FX-6300 & Ryzen 1700X) this value will affect the following:

1. Stability of Audio/video output

2. Performance scores of cinebench & geekbench

3. Panic or reboot before login to desktop during booting of Clover

4. Response of sleep/wake-up functions

Edited by jsl2000
Link to comment
Share on other sites

Hello everyone Season Greetings. I managed to build/compile latest r5142+ commit of Clover (from a few days ago) via Clover Suite Builder and added some parameters in my config that were missing here and there.

Among these I added <key>ConsoleMode</key> and <string>0</string>

@Slice I see that in the log (via Hackintool) there is a missing output related to Console, for example, I see:

0:420  0:000  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
0:724  0:303  === [ InitScreen ] ==============================
0:724  0:000  Console modes reported: 7, available modes:
0:724  0:000   - [01]: 320x75 (current mode)
0:724  0:000   - [02]: 80x50
0:724  0:000   - [03]: 100x31
0:724  0:000   - [06]: 128x40
0:724  0:000   - [07]: 80x25
0:724  0:000  SetMaxResolution: found best mode 0: 2560x1440
0:724  0:000   - already set
0:724  0:000  SetScreenResolution: 2560x1440 - already set
[...]
12:345  0:000  OCDM: RBAR is unsupported by device - Device Error
12:345  0:000  OC: Got 0 drivers
12:345  0:000  OCC: Installing GOP (Unsupported) on ConsoleOutHandle...
12:345  0:000  OC: Requested resolution is 0x0@0 (max: 0, force: 0) from 
12:345  0:000  OCC: Using builtin text renderer with 1 scale
12:406  0:060  OCC: Install console control (6D04DA00/0/0), current - Success
12:406  0:000  OCC: Setup ASCII Output - Success
12:406  0:000  OC: Requested console mode is 0x0 (max: 0) from 
12:406  0:000  OC: Requested not to use audio
12:406  0:000  OC: OcLoadAcpiSupport...
12:406  0:000  OC: OcLoadAcpiSupport : nothing to do
12:406  0:000  OC: OcMiscLateInit...
12:406  0:000  OC: Invalid HibernateMode: 
12:406  0:000  OC: Translated HibernateMode  to 0
12:406  0:000  OC: Hibernation activation - Invalid Parameter, hibernation wake - no

...the line Requested console mode is 0x0 (max: 0) from is missing the latter part after from, what is it supposed to show?

 

Also what is RBAR, everyone?
Finally the line OC: Invalid HibernateMode: what makes it invalid?

Where does OC: Hibernation activation - Invalid Parameter come from, any ideas? My hack can sleep just fine...

Thank you.

 

Edited by MacKonsti
Link to comment
Share on other sites

Hi @Jief_Machak,

look please issue #483  RDRAND not patching so can't update to 12.1

I confirm the bug but I see no why it is happen.

 

@MacKonsti,

What is wrong with console mode? Current mode 

[01]: 320x75 (current mode)

And it is good.

0x0 means auto choose.

RBAR is OC quirk.

HibernateMode should be 0 as you are not going to enter hibernation. I don't understand what about the question.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Good evening @Slice it's just that the line seems to be missing something at the end, after "from"

12:406  0:000  OC: Requested console mode is 0x0 (max: 0) from 

...from what? :D:D Perhaps a parameter missing?

Also

12:406  0:000  OC: Invalid HibernateMode: 
12:406  0:000  OC: Translated HibernateMode  to 0

...seems conflicting, no? Just curious. What causes Invalid HibernateMode to be shown in log? OC quirk? Thank you

Link to comment
Share on other sites

23 minutes ago, MacKonsti said:

Good evening @Slice it's just that the line seems to be missing something at the end, after "from"

12:406  0:000  OC: Requested console mode is 0x0 (max: 0) from 

...from what? :D:D Perhaps a parameter missing?

Also

12:406  0:000  OC: Invalid HibernateMode: 
12:406  0:000  OC: Translated HibernateMode  to 0

...seems conflicting, no? Just curious. What causes Invalid HibernateMode to be shown in log? OC quirk? Thank you

There are OC messages which I have no relation.

 

@Jief_Machak

Version "12" is not matched to OS 12.2

12:399  0:000  Filtering KernelPatches:
12:399  0:000   - [00]: Monterey RDRAND instruction #1 :: [OS: 12.2 | MatchOS: 12 | MatchBuild: All]
12:399  0:000   ==> not allowed by OS
12:399  0:000   - [01]: Monterey RDRAND instruction #2 :: [OS: 12.2 | MatchOS: 12 | MatchBuild: All]
12:399  0:000   ==> not allowed by OS

 

Link to comment
Share on other sites

4 hours ago, Slice said:

There are OC messages which I have no relation.

 

@Jief_Machak

Version "12" is not matched to OS 12.2

12:399  0:000  Filtering KernelPatches:
12:399  0:000   - [00]: Monterey RDRAND instruction #1 :: [OS: 12.2 | MatchOS: 12 | MatchBuild: All]
12:399  0:000   ==> not allowed by OS
12:399  0:000   - [01]: Monterey RDRAND instruction #2 :: [OS: 12.2 | MatchOS: 12 | MatchBuild: All]
12:399  0:000   ==> not allowed by OS

 

I'll take a look.

I have to download a version 12 first, which will take some time.

Could you paste me the patch from the config.plist ?

  • Like 1
Link to comment
Share on other sites

On 12/20/2021 at 8:55 AM, SavageAUS said:


I can give that a try. I’m just curious as to why I need to set a value. I’ve been using clover on my amd hack for a while and never had this problem before and I don’t see any reports of anyone else having this issue.

 

sysctl -a | grep freq
hw.busfrequency: 400000000
hw.busfrequency_max: 400000000
hw.busfrequency_min: 400000000
hw.cpufrequency: 14400000000
hw.cpufrequency_max: 14400000000
hw.cpufrequency_min: 14400000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 6800000006

Setting to 400000 Makes everything go in slow motion, like half speed instead of double speed.

I will try 200000.

Below is at 200000 exactly and system seems to running at normal speed now.

The values in the below saection are still very different from what i get with OpenCore so i am not sure which one is correct.

sysctl -a | grep freq
hw.busfrequency: 200000000
hw.busfrequency_max: 200000000
hw.busfrequency_min: 200000000
hw.cpufrequency: 7200000000
hw.cpufrequency_max: 7200000000
hw.cpufrequency_min: 7200000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3400000000
  Hide contents

256549259_ScreenShot2021-12-19at5_56_19pm.png.e082369ff3be461e0d9fe1370027a5b5.png



Sent from my iPhone using Tapatalk

With this setting 200000 can you get fully normal audio output now ?

In my Ryzen 1700X it still found minimal crack from YouTube's "Unchained Melody" such as

  or

Because in my Ryzen 1700X hackintosh still found minimal crack background noise during play these video even set it to 200000 without reboot before login to desktop now. No such an issue booted by OpenCore, it occured only booted by Clover 5141/5142.

Edited by jsl2000
Link to comment
Share on other sites



I can give audio a try at 200000 but I’m very hesitant to use Clover at the moment because of the fast speed issue and the differences in values between OpenCore and clover are very big.

Until I can get a resolution I won’t be using clover as my daily driver on my AMD rig.

I have tried the latest build of Clover and 5142 & 5141. I can try older versions when I get time I guess but it only seems to have happened recently since changing my smbios to suit my new hardware.

Surely if it was a config problem it would have been picked up and if it was a bios problem it would happen with OpenCore as well? Just frustrates me as I prefer Clover as my boot loader and to stop using it feels strange.
  • Sad 1
Link to comment
Share on other sites

×
×
  • Create New...