-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGPU frequency stuck at 1GHz when using hardware video decode with Apple GuC #800
Comments
Well, we cannot control what Intel firmware does and how it interfaces with the operating system. Most likely the same issue happens with real macs. I can leave this open with help wanted, but we do not plan to explore it ourselves. |
We don't approve content distribution 18+ |
You mean the example link? It's a game streaming video.I don't see how is this 18+ content. |
@Andrey1970AppleLife it is just some game children play, no porn or such, the prompt at the website is misleading. Let's have the issue open if somebody could contribute more technical information. |
I don't think same happens with real macs.Even playing any video in apple tv does the same too.Sleep or Reboot cycle fixes it.I have to figure out if its related to Apple GuC or no.i suppose igfxfw=5 will use host preemptive firmware without apple GuC? |
Correct, removing |
Mine Intel UHD620 goes up to 0,15ghz and then drops to 0 after video exit. |
Are you using latest Whatevergreen from master branch with igfxfw=2 boot args? |
I'm using latest kext but without igfxfw argument. |
can you please use that boot arg and let me know if your gpu behaves normal with above video in safari. |
I'll try and add what I can to this: I'm using latest WhateverGreen with The linked video in Safari does not cause the GFX frequency to go up at all. Although I can't get DRM content (e.g. Amazon Prime Video) to play in Safari so perhaps Safari isn't using the iGPU at all(?) When playing a very high bitrate video (400mbps HEVC) in VLC there's a small ramp up, then it stays at 1.2GHz (I assume the max), then when it's finished it goes back down to 0. If I play a video in Firefox (e.g. Twitch) the iGPU will go up and down, but I've never even seen it go above 1GHz. Note that prior to the latest WhateverGreen version – and without It I manage to get DRM content to play in Safari (I had it work once, but after a reboot it started failing) I'll provide an update regarding the original video posted here. |
@JosephDuffy I don't think GuC firmware is loading for you.Did you check log to see which firmware is loaded for iGPU? Use this command to check: |
In that output I have The system logs in Hackintool contains |
Then it is indeed using Apple GuC.What looked weird to me in your graph is "GFX REQ" and "GFX AVG".Usually when i use GuC, both of them show somewhat same number.When GPU is not in use GFX REQ shows 0. But without GuC, GFX REQ usually shows "0.35" or a higher number with a straight line like your pic. |
GFX req is always 1.2GHz, which I thought was odd, but other than no DRM in Safari (which also doesn't work without Apple GuC) it all seems to work. 1.2GHz seems to be the max my iGPU will go up to. |
I encountered the same problem. |
I also tested and have this problem , when opening App Store and playing ads , GPU frequency stuck at 1GHZ , my build is Skylake based. |
How did u manage to enable GuC loading on skylake ? AFAIK, it loads only on 300 series chipset and later |
Can you post the kernel log that includes the moment when after stopping a video the frequency becomes stuck? I would also need a relevant timestamp (hour and minute). |
Hi, I get the following error message in the kernel log as soon as I kill the window in Safari running the above test... error 19:52:30.266223+0100 symptomsd received unknown kernel SysInfo stat '96' -> '0' |
Can you please post a complete log obtained from running |
No problem, kernel log attached. I started the above website just after 20:05 and then closed the window at 20:06. Let me know if you need anything else. |
Why did you close this if is still unsolved?. I wasn't using igfxfw at all and I had this issue |
It has nothing to do with boot-args like igfxfw. |
@vit9696 I found that WEG 14.0 doesn't have this issue. Could you reopen this one so we can give some more details and try to find a solution? My theory is that the changes made to adapt WEG to Big Sur broke something and it causes the high GPU load even on idle. This has nothing to do with boot-args. |
WEG 1.4.1 got new IGPU performance control support, which you can disable |
Doesn't solve the problem. Booted with igfxnorspc=1 boot-arg on Big Sur. |
With |
Hrm. So, do you all confirm that WhateverGreen 1.4.0 works correctly? Please confirm that. Afterwards, please find the commit where things broke for you. You can get prebuilt binaries for every commit here. |
I dont think that's the case.This issue exists since version 1.3.8 till current version 1.4.1 . By the way in WEG 1.4.1 , what difference does it make if we use |
Hrm, I am afraid there is some level of confusion here.
If you believe that anything of the three does not hold, please provide more detail. |
B360M-HDV, i5-8400, no problem here: WEG: 1.4.1 |
I compiled a kext before commit :acidanthera/WhateverGreen@6a1990e and till now everything is fine. Needs more time though becasue the problem doesn't occureverytime after waking. Please try it and see fr yourself. note: with this version I have noticed better power management , too. With 1.4.1 fans and temps were getting crazy when wathcing video. |
It's |
It does, indeed. Will try to see which commit broke the functionallity.
Yours uses UHD 630 but the desktop variant. AFAIK this may be affecting only laptops, at least I have only seen that problem on laptops.
I can trigger it by changing resolution or speed while seeing videos on youtube, give it a try.
Most likely your issue with temps is caused by getting stuck at high frequencies which makes the whole system consume more energy and therefore getting hot, not because "bad" power management on 1.4.1. I think the best that I can do is explain my setup:
What I mean with this is that the problems I have with 1.4.1 are not caused by any misconfiguration or boot-args.
I'm on 10.15.6, so it isn't 10.16 only. I think that the modifications on the code to make WEG work with 10.16 is what caused this issues, will try to see which commit causes that. |
Tried. No problem with the kext I uploaded.
No , that's not the case. Even when gpu isn't stuck at max , when watching a video or opening an app , gpu behaves "abnormaly" and causes temps to go up. First time I heard the fans go to max speed when just watching video (with WEG 1.4.1 and Big Sur).
I agree on that. |
For me the bad commit is acidanthera/WhateverGreen@6a1990e |
@Mateo1234454545 if this is the case, then Note, that you could always check the argument presence by running |
I did , but didn't do anything. To be more precise , I builded the kext including the commit : acidanthera/WhateverGreen@fee20a9 , because I wanted to run on Big Sur. |
This issue is about GuC PM, not host scheduler. Refrain from posting here unless it's about GuC. |
Ok, last one. I can confirm that acidanthera/WhateverGreen@6a1990e is the bad commit.
This kinda solves the problem. It perform worst in terms of thermals and power efficency. Now it doesn't get stuck at 1GHz but at 300 Mhz, although it gets back to 0 after a few minutes. Not an ideal solution but at least I think we are getting close.
Right, I won't post anymore over here. Can I ask you a favor? Is it possible for you to open an issue dedicated to this problem? I'd do it by myself but I think you will make a better job at giving a proper title and description. Thanks in advance! |
i got the 1.2GHz stuch fixed by force loading GuC using igfxfw=2 boot arg |
As another workaround, you may try to use |
And if you use this kext what value should we enter at "Opencore's Hibernate mode" ? |
There’s |
10th intel igpu has this problem too.(i5.10500h) |
Here is how to reproduce:
Use latest whatevergreen
Use igfxfw=2 boot arg
Open safari
Watch a streaming .eg: https://mixer.com/shroud?vod=xjN2eVd4SUCLiQ00iU-CLw
5)GPU frequency will reach 1GHz and stuck there
Then even closing safari doesn't fix this.GPU stuck at full frequency until sleep/reboot.Looks like using GPU decode breaks something which causes the iGPU to stay at high frequency even on idle.
My hardware: i7-8750h
iGPU: Intel UHD 630
The text was updated successfully, but these errors were encountered: