acidanthera / CpuTscSync

It is a Lilu plugin, combining functionality of VoodooTSCSync and disabling xcpm_urgency if TSC is not in sync. It should solve kernel panics after wake.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CpuTscSync

Build Status Scan Status

It is a Lilu plugin, combining functionality of VoodooTSCSync and disabling xcpm_urgency if TSC is not in sync. It should solve some kernel panics after wake.

WARNING: CPUs without MSR_IA32_TSC_ADJUST (03Bh) are currently unsupported on macOS 12 and newer. WARNING: if you still get kernel panic like "Non-monotonic time: invoke at 0xxxxxxxxxxx, runnable....", you can try to add TSC_sync_margin=0 into your boot-args. See CpuTscSync Monterey kernel panic on wake up #1900" for more details

Boot-args

  • -cputsdbg turns on debugging output
  • -cputsbeta enables loading on unsupported osx
  • -cputsoff disables kext loading
  • -cputsclock forces using of method clock_get_calendar_microtime to sync TSC (the same method is used when boot-arg TSC_sync_margin is specified)

Credits

About

It is a Lilu plugin, combining functionality of VoodooTSCSync and disabling xcpm_urgency if TSC is not in sync. It should solve kernel panics after wake.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 100.0%