Dual boot: Windows 11 with nvidia dgpu and Sonoma with intel igpu 530 spoofing a Kaby Lake. Efi and image from Olarilla
Everything works fine, graphics acceleration included (well, except for some USB port that doesn't work and when connecting an e-reader, system disables it saying that it uses too much energy).
But when it goes to sleep (not when it just turns off the screen) there is a kernel panic and it doesn't wake up. The error is:
Machine-check capabilities: 0x0000000000000c0a
family: 6 model: 94 stepping: 3 microcode: 240
signature: 0x506e3
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
10 error-reporting banks
Processor 0: IA32_MCG_STATUS: 0x0000000000000005
IA32_MC4_STATUS(0x411): 0xba00000011000402
IA32_MC4_MISC(0x413): 0x0000000000000000
Processor 1: IA32_MCG_STATUS: 0x0000000000000005
IA32_MC4_STATUS(0x411): 0xba00000011000402
IA32_MC4_MISC(0x413): 0x0000000000000000
mp_kdp_enter() timed-out on cpu 1, NMI-ing
mp_kdp_enter() NMI pending on cpus: 0 2 3 4 5 6 7
mp_kdp_enter() timed-out during locked wait after NMI;expected 8 acks but received 1 after 10849525 loops in 2004000001 ticks
panic(cpu 1 caller 0xffffff8009589cf7): Machine Check at 0xffffff800959e418, registers:
CR0: 0x000000008001003b, CR2: 0x000000010d923000, CR3: 0x0000000017075000, CR4: 0x00000000003626e0
RAX: 0x0000000000000020, RBX: 0x00001b8fe4d677b6, RCX: 0x0000000000000001, RDX: 0x0000000000000000
RSP: 0xffffffc4adedfec0, RBP: 0xffffffc4adedfef0, RSI: 0xffffff800a25bd40, RDI: 0xffffff800a0fc4e8
R8: 0x0000000000000201, R9: 0x0000000000000008, R10: 0x0000000000000380, R11: 0x0000000000000380
R12: 0x0000000000000006, R13: 0xffffff800a123d80, R14: 0x0000000000000020, R15: 0x0000000000000001
RFL: 0x0000000000000046, RIP: 0xffffff800959e418, CS: 0x0000000000000008, SS: 0x0000000000000010
Error code: 0x0000000000000000
@trap_native.c:168
Panicked task 0xffffff8b7c3d2df8: 225 threads: pid 0: kernel_task
Backtrace (CPU 1), panicked thread: 0xffffff8b7c339b30, Frame : Return Address
0xffffff800910ca40 : 0xffffff800943aca1 mach_kernel : _handle_debugger_trap + 0x4b1
0xffffff800910ca90 : 0xffffff80095993c0 mach_kernel : _kdp_i386_trap + 0x110
0xffffff800910cad0 : 0xffffff8009588b0c mach_kernel : _kernel_trap + 0x55c
0xffffff800910cb50 : 0xffffff80093d7971 mach_kernel : _return_from_trap + 0xc1
0xffffff800910cb70 : 0xffffff800943af8d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffff800910cc60 : 0xffffff800943a633 mach_kernel : _panic_trap_to_debugger + 0x1e3
0xffffff800910ccc0 : 0xffffff8009bd957b mach_kernel : _panic + 0x84
0xffffff800910cdb0 : 0xffffff8009589cf7 mach_kernel : _sync_iss_to_iks_unconditionally + 0x167
0xffffff800910cec0 : 0xffffff8009be310c mach_kernel : _panic_machine_check64 + 0x15
0xffffff800910ced0 : 0xffffff80093d7e4f mach_kernel : _hndl_machine_check + 0xf
0xffffffc4adedfef0 : 0xffffff800958b0e3 mach_kernel : _machine_idle + 0x1c3
0xffffffc4adedff10 : 0xffffff800946da58 mach_kernel : _processor_idle + 0x148
0xffffffc4adedff80 : 0xffffff800946dca4 mach_kernel : _idle_thread + 0x54
0xffffffc4adedffa0 : 0xffffff80093d719e mach_kernel : _call_continuation + 0x2e
Process name corresponding to current thread (0xffffff8b7c339b30): kernel_task
Boot args: -v alcid=1 watchdog=0 -wegnoegpu dk.e1000=0 e1000=0 igfxonln=1 keepsyms=1 swd_panic=1
Mac OS version:
23B81
Any idea? Thanks