-
Notifications
You must be signed in to change notification settings - Fork 46
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
Cpustscsync maybe broken on macOS Monterey #1676
Comments
May be related: Mine No advanced logs yet, sadly( |
Try adding cpus=1 boot flag to NVRAM. I can boot with it but using only 1 cpu core out of 4 cores. I checked it and I have the same problem with you. |
I’m not into installing betas yet, sadly. Just tried to get an idea whether it had any problems. Also, does it need to stay |
Yes, before and after install. You should add it and not remove that boot flag (macOS Monterey) until they fixed the issue. |
Thanks for the info. I’ll try to gather logs in the end of the month if noone does it first as now I have no time tinkering with my pc. |
I can actually boot with CpuTscSync.kext, but I will have panic about non-monotonic time, if i put laptop in sleep mode and then let it wake after some time (it can wake 2 or 3 times with no panic, or can`t wake even for 1st time). I am sure, that's panic caused by that kext, because if I remove it from config > no panic will happen. I will add panic log info here, once it get it again. Btw, it can randomly stuck in same place as guys above have already mentioned (AppleACPICPU stuck) |
Example of panic, using CpuTscSync.kext panic(cpu 4 caller 0xffffff800a6d9bbe): Non-monotonic time: last_dispatch at 0x3cdc01b640, ctime 0x3cdc019e1e @sched_prim.c:737 Process name corresponding to current thread (0xffffff869fa892c0): kernel_task Mac OS version: Kernel version: System uptime in nanoseconds: 261389532512 |
I m using kabylake system laptop |
opencore-2021-06-14-163125.txt I encountered the same problem with detailed debug log. |
Same problem here with ASUS S14 X411UF, and I can only boot with cpus=1 flags, without SMCProcessor kext and with cputscsync. Here is my EFI. If anyone knows, take a look of my EFI and compare haha (or if I missing some Kext, ACPI file or option on my config file.) |
With these settings processor frequency stays at max. Currently the only option for BugSur and Monterrey for me here. |
Good find @anonymous-writer. Setting Specs:
|
TSCAdjustReset.kext works with no patches for me |
Beta 2 does not solve the problem. For me still only TSCAdjustReset.kext works under Monterey. After Sleep TSC sync broken. |
Just to make it clear, nobody uses this kext or macOS 12 from the core team. Thus nobody explored it. You are best to submit a PR with a fix. |
Fix would be TSCAdjustReset.kext. The problem is that this kext loses its function after sleep under Monterey. |
Encountered the same problem ,Solved it with the following connection method “https://www.hackintosh-forum.de/forum/thread/35703-kurzanleitung-high-sierra-mojave-catalina-und-bigsur-auf-asus-zenbook-ux330uak/?postID=705772#post705772” |
I would prefer CPUTSCSync fixed, it is more modern and more consistent with OC and Lily ecosystem. |
Both of kexts worked on my laptop but only one thing is not working after sleep wont wake up on macOS Monterey 12 on big sur fine |
@vit9696 it doesn't make it insignificant though. TSC synchronization affects all Kaby Lake CPUs, there're plenty of people who still use it. As macOS 12 becomes official (not beta) you'll be overwhelmed by similar issues here if you don't fix CPUTSCSync because it is in acidanthera repositories. The latest commit with the new constants doesn't fix the problem, I tried to compile. This one may be related |
Oki, this is true, but I hope you didn't say that in a bad way, because OpenCore is free lol. |
I think we can all agree that CpuTscSync is way better than TSCAdjustReset, it's more advanced, in my case, CpuTscSync can boot successfully with Monterey, however, when waking from the screen becomes black and unresponsive, similar to how it would be without it, if the laptop wakes without CpuTscSync it also becomes very laggy and useless. |
Absolutly you are right |
@vit9696 I tried to compile that kext you mentioned in the reference, but I’m getting two errors about missing files (I’m not in front of the computer now, where I took a screenshot). And yes, I have Lilu debug in the correct folder. Maybe you know what it is. Do I need something in particular besides Lilu and Xcode? |
Hi, @Shinji3rd, |
Where is the panic log? |
Can you share this latest driver? |
Here it is, but it’s without keepsyms, so it’s kinda useless… At least from what I can tell it is awfully similar to earlier kps after sleep. |
Need it redone with keepsyms, yes. |
@vit9696 I used two days to fix the error in the motherboard firmware. The problem of stuck loading ssdt has been fixed, but I got a kernel panic. |
Hi @vit9696, it appears that |
@Ab2774 I don't have any boot issue |
Hi, @ameenjuz, can you provide a copy of IOReg in Monterey in both Clover and OpenCore? |
@Ab2774 |
@Ab2774 |
The reason why the Xeon Cpu cannot be synchronized may be related to the new power management driver. After entering the firmware ssdt, I found that the power management uses |
After beta 4 couldn't load extension built from master branch. But realized that my dual-xeon machine works well even without this kext. |
@ameenjuz: it is correct behaviour for macOS 12, tsc adjust is executed when the last cpu is available in ACPI. |
@lvs1974 when I tested on my laptop, during the boot process for me it was sufficient just to reset |
I recently started using CpuTscSync on Skylake laptop in monterey no problem chrome problem |
I believe the recent updates to CpuTscSync and Lilu fix most of the issues. Let's raise another issue if there are more. |
FWIW, I tried with updated kexts and OpenCore 0.75 on a p8p67 pro and still get this same issue. Let me know if I can provide any details. |
Asus UX430AU i7-7500U @vit9696 can you check it please? Thank you
|
I have the same error |
@gulios did you solve this problem |
Report on this issue on a X299 with a i9-9940X: It was still giving me a non-monotonic time KP with version 1.0.5 and with kernel option TSC_sync_margin=0. My machine sleeps every evening, and I was getting this KP once or twice a week. But with the latest version 1.0.6 the issue seems to be solved. I am now on day 6 without a KP. I still use the kernel boot option TSC_sync_margin=0. Thanks for the good work guys! |
vit9696 commented [on Jul 17, 2021] (#1676 (comment)). [on booting issue]:
@vit9696 For systems unable to boot under Monterey due to TSC out of sync, here is a solution worked for my setup (DELL T5810, X99, Hanswell-E/Broadwell-E Xeon): Perform a TSC Reset, with this efi tool ResetTSCAdjust.efi [link], during OC booting, before launching macOS. May be OC could consider add this tool as an option. Or may be built in and perform this command automatically. This could overcome systems with their BIOS not reset TSC properly on boot up. |
Kernel panics and can't boot to macOS Monterey without using cpus=1 boot flag.
Some times it is stucked at Appleacpicpu processor "" local apic "" when booting the installer.
I do clean install and followed dortania's guide, still the problem exist. CPUTSCSync works on macOS Big Sur with oc 7.1 but broken on macOS monterey
Tried using VoodooTSCSync, it didn't work.
Asus X409UA, Intel Core i3-7020U.
The text was updated successfully, but these errors were encountered: