Jump to content

High cpu 74% kernel_task is crazy!


Ipotex
 Share

65 posts in this topic

Recommended Posts

4 hours ago, Ipotex said:

Hi @makk Thank you for your time. 

I did a fresh Catalina installation.

 

Opencore 0.6 Debug.   (I can't run Catalina with last open core version, but 0.6 have same issue high cpu kernel_task)

 

CPU: Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz. https://ark.intel.com/content/www/us/en/ark/products/77493/intel-core-i3-4360-processor-4m-cache-3-70-ghz.html

Integrated Graphics. Intel® HD Graphics 4600

 

Result of VDADECODERCHECKER: Hardware acceleration is fully supported

 

I can't upload images and file now because a bug in forum I don't know.. but tomorrow I will do. 

 

 

 

Well when you first run the OS after fresh install, it will run high due to all the files being sorted and made ready for later.

Spotlight, mds_worker threads, others. 

Sometimes it takes a few hours. Then over a few days it should subside. 

Let it run, see if it calms down after a few hours.

 

 

Link to comment
Share on other sites

4 hours ago, Ipotex said:

kernellog.txt

https://drive.google.com/file/d/1FvFaP_AAoWYPtmLpz9hYLeazgoTpBT9P/view?usp=sharing

acpilog.txt

https://drive.google.com/file/d/1Hxy_MbESwSNH0wJAui8PjvoeO3AGQDOJ/view?usp=sharing

 

Intel HD Graphics 4600:

 

  Chipset Model: Intel HD Graphics 4600

  Type: GPU

  Bus: Built-In

  VRAM (Dynamic, Max): 1536 MB

  Vendor: Intel

  Device ID: 0x0412

  Revision ID: 0x0006

  Metal: Supported, feature set macOS GPUFamily1 v4

  Displays:

D2342P:

  Resolution: 1920 x 1080 (1080p FHD - Full High Definition)

  UI Looks like: 1920 x 1080 @ 60 Hz

  Framebuffer Depth: 24-Bit Color (ARGB8888)

  Display Serial Number: SerialNumber

  Main Display: Yes

  Mirror: Off

  Online: Yes

  Automatically Adjust Brightness: No

  Connection Type: Internal

 

Thanks for the update.

 

So you have a external plugged into the DVI port or HDMI port?

 

Under your DeviceProperties in OC

Find this one: PciRoot(0x0)/Pci(0x2,0x0) < Graphics chip video

 

Looks like for Desktop:

ig-platform-id,

Desktop: 0x0D220003 (default)  03 22 0D 00 < in reverse

0300220D

 

device_id,  

220D0000

 

take a look at the Sample.plist for this above

 

WEG/FAQ.Intel.en.md <> page

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

 

 

Screen Shot 2021-10-04 at 4.34.49 AM.png

Sample.plist

Link to comment
Share on other sites

Framebuffer, Device ID info from Whatevergreen page:

 

ID: 0D220003, STOLEN: 32 MB, FBMEM: 19 MB, VRAM: 1536 MB, Flags: 0x00000402
TOTAL STOLEN: 52 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 116 MB, MAX OVERALL: 117 MB (123219968 bytes)
Camellia: CamelliaDisabled (0), Freq: 5273 Hz, FreqMax: 5273 Hz
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000087 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000087 - ConnectorDP
[3] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x00000011 - ConnectorDP
01050900 00040000 87000000
02040A00 00040000 87000000
03060800 00040000 11000000

Link to comment
Share on other sites

Example:

framebuffer-stolenmem | data | 00002002

framefuffer-fbmem | data | 00005001

framebuffer-buffer-cursormem | data | 00006000

 

IF YOU GET GLITCHES and Strangeness Setting ( A bit more umph )

000002002 -> 34MB stolen mem (framebuffer-stolenmem) // Rehabman's DVMT-prealloc requirement

00005001 -> 21MB FB mem     (framebuffer-fbmem) // Rehabman's framebuffer size

00006000 -> 6MB Cursor mem  (framebuffer-cursormem)  

 

RECOMMENDED SETTING:

00000002 -> 32MB stolen mem (framebuffer-stolenmem) // Rehabman's DVMT-prealloc requirement

00003001 -> 19MB FB mem     (framebuffer-fbmem) // Rehabman's framebuffer size

00006000 -> 6MB Cursor mem  (framebuffer-cursormem) // Rehabman's cursor bytes

 

SET the Dedicated Memory DVMT Pre-allocated memory to 64 in BIOS after entering data into config.plist>DeviceProperties>xxx (0x2)(0x0) registers for graphics 

Edited by makk
Link to comment
Share on other sites

0300220D                   -> layout id       (AAPL,ig-platform-id)
01                          -> mobile type     (framebuffer-mobile) 
03                          -> 3 x pipes       (framebuffer-pipecount)
03                          -> 3 x ports       (framebuffer-portcount)
03                          -> 3 x memories    (framebuffer-memorycount)
00000002                    -> 32MB stolen mem (framebuffer-stolenmem)      // Rehabman's DVMT-prealloc requiremen
00003001                    -> 19MB FB mem     (framebuffer-fbmem)          // Rehabman's framebuffer size
00006000                    -> 6MB Cursor mem  (framebuffer-cursormem)      // Rehabman's cursor bytes
00000060                    -> 1536MB VRAM     (framebuffer-unifiedmem)
D90A0000                    -> Backlight freq 2777MHz
D90A0000                    -> Max. backlight freq 2777MHz
00000000 00000000
00000800 02000000 30000000  -> port #1/FB@0: index 00, busid 00, pipe 0800, type 02000000=LVDS/eDP (framebuffer-con0-type), flags 30020000
01050900 00040000 87000000  -> port #2/FB@1: index 01, busid 05, pipe 0900, type 00040000=DP       (framebuffer-con1-type), flags 87000000
02040900 00040000 87000000  -> port #3/FB@2: index 02, busid 04, pipe 0900, type 00040000=DP       (framebuffer-con2-type), flags 87000000

To get a bit more fancy and detailed for your graphics 

 

set these using the WEG FAQ Intel Index page.

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

Link to comment
Share on other sites

10 hours ago, makk said:

So you have a external plugged into the DVI port or HDMI port?

HDMI

 

device_id, 220D0000.   :   I guess my device_id is 12040000,   0x0412 .  I tried with both, same issue. 

 

I attached my current configuration. Same issue. 

 

Screen Shot 2021-10-04 at 16.00.00.png

Link to comment
Share on other sites

Thank you @Hervé for your answer. 

I removed pci168c,2a and same issue was reported. 

 

It's a very strange problem.  It's happening with OpenCore 0.6 and lastest Debug and Release version. It's also with Clover. It's happening removing Atheros kexts, and with different SMBios.  It happens in Catalina, BigSur and Monterrey...  but not in Sierra on same Bios settings and Hardware. 

 

I upload a lot of information, logs, screens...  I don't know what to do. 😭

 

Now I have installed OpenCore 0.6 Debug version for getting some extra info. 

Link to comment
Share on other sites

2 hours ago, Ipotex said:

Thank you @Hervé for your answer. 

I removed pci168c,2a and same issue was reported. 

 

It's a very strange problem.  It's happening with OpenCore 0.6 and lastest Debug and Release version. It's also with Clover. It's happening removing Atheros kexts, and with different SMBios.  It happens in Catalina, BigSur and Monterrey...  but not in Sierra on same Bios settings and Hardware. 

 

I upload a lot of information, logs, screens...  I don't know what to do. 😭

 

Now I have installed OpenCore 0.6 Debug version for getting some extra info. 

Actually yes to see where your issue is.

 

Something in your machine is racing.  Race issue.

To sort it out you have to go to extremes to pinpoint.  Like shooting.

 

As for DVMT Preallocated it depends on your BIOS CMOS, plus your chip. Some parts are inferior, been there down that, built Unix and PC's

When racing occurs on more memory hogging OS's and resources, normally it's hardware with not enough umph.

HDMI ports are a pain on Hacks so you need to do things that are not even recommended.  

 

Like on this Laptop, it is highly recommended to Enable Lapic. But not a problem not one incident.

It is highy recommended to turn of all renames, and patching, but not so.  Need them.

 

Older machines are like people, everyone is different.

 

Case in point, OC this Laptop cannot do Audio out for HDMI on OC, but in Clover not a problem

 

I have hda-gfx, layout-id, all the patches, not recommended because this laptop would not run without them.

 

So it is always a good thing to try what they recommend first, it it don't work go the route the works.

 

These are just a few. It's a hacky, not a porcshe or mercedez.  a poor man's mac.  

 

Get a grip

 

 

Screen Shot 2021-10-05 at 12.47.02 AM.png

Screen Shot 2021-10-05 at 1.39.46 AM.png

Screen Shot 2021-10-05 at 1.48.18 AM.png

Link to comment
Share on other sites

I did read that but guess what? It's an Intel 

 

Lol... have you ever been a mechanic? maybe a pc builder? repairing hardware? Construction?

Military?  Field expidency, if it ain't broke don't fix it, the opposit applies

 

Cross streams? What works for an Intel, works for an Intel.  I've had to use Desktop settings in this Intel based system.

 

Be real man, when people need and ask questions they need something.

Link to comment
Share on other sites

On 9/22/2021 at 8:43 PM, Ipotex said:

Hi! Thank you for your reply. I already disabled CPUFriend.  Same error. 

I changed boot loader to last version of Clover.   Same error.  This is the bootlog.txt

bootlog.txt 48.66 kB · 0 downloads

 

Hardware maybe incompatible such as your HDD.

 

What is it HDD or SSD? What brand? NVME? or regular?

 

How is it hooked up in your rig?  Normal way or some patch up job?

 

I would stick with simple right now.  Get the system smooth first before you install 100's of software that makes it difficult to narrow down.

 

Sierra and Catalina and Big Sur are not the same animal.  They are hogs as they increased their apps to be more stream line with

the handhelds --- iPad, iPhone other iPheripherals.

 

So I would just get the system with bare mininum first.  Work on onething at a time.

First your hardware to make sure to be able to read and write,

 

Do you have memory,  resource checking?  Some utlity to check how much reasources is being used?  

 

Possbly kernel is enough.  

 

Test the drive you have on another machine to see what happens.

 

Find some way to see live what's going on besides log files

 

 

 

 

 

 

Link to comment
Share on other sites

Hi! 

Yesterday I bough a new HD.   Samsung Evo 970 Plus.  NVME. 

Upgrade my Mother Bios to last version for support new hardware. 

Installed from zero Catalina to new HD. 

Nothing else HD in my system.   

 

Same Problem!!!!! OMG! 

 

Today I installed Linux and generated DSDT.aml file. Then using SSDTTime I made my own .aml files and patches for OpenCore.  

Updated to OC 7.4

 

Reboot..... and..... SAME PROBLEM!!! 

 

I have sound, wifi, all working..... but kernel_task 75% cpu :(

Link to comment
Share on other sites

I removed my internal wifi card for testing, and disable kext related to it.... same problem.

There is nothing more that I can remove.. Only mother, mem and processor left and same problem. 

 

Link to comment
Share on other sites

  • 2 years later...
On 10/9/2021 at 3:23 AM, Ipotex said:

There is nothing more that I can remove.. Only mother, mem and processor left and same problem. 

Try this small trick I've discovered: put PC to Sleep and then Wake up - the kernel_task issue should go away)

Link to comment
Share on other sites

 Share

×
×
  • Create New...