In Monterey or Ventura during sleep (or at least black screen before sleep) I get this random freeze and the computer does not respond neither to the wake request, nor to the power reset button, so I have to force Power OFF button for shutdown. No errors are indicated and no panics are recorded. It does not happen in Windows so it is definitely MacOS specific.I have not had the freeze in Big Sur, though I have noticed random reboots (no apparent reason). Anyone has a hint on what to chase here? My OC settings and Bios settings are in my signature link for the x299.
x299 pro/se freeze in Monterey or Ventura
- startergo
- Erledigt
-
-
You are going with XCPMConfigLock via OpenCore instead of using it unlocked via BIOS? Why do you do so?
Is there no Option for that?Must be there, that might be the issue.
Quite much renames in ACPI Section, do you really need them? What’s your EFI built from? Full ACPI Patch based on the origin one?
Looked for that in your Textfile: found it and it is enabled, has to be disabled. Do so and don’t forget to disable the Quirk in OC. Should solve your issues. -
Thank you very much kaneske for the advise. I have changed the suggested settings and will monitor the performance.
Quite much renames in ACPI Section, do you really need them?
Are you talking about these?
Code- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>Fix RTC Range</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>X0NSUxEYChVHAXAAcAABAkcBdAB0AAEEIgABeQ==</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data></data>
- <key>Replace</key>
- <data>X0NSUxEYChVHAXAAcAABBEcBdAB0AAEEIgABeQ==</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data>RFNEVA==</data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>HPET _CRS to XCRS Rename</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>Bl9DUlM=</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data>AAAAAA==</data>
- <key>Replace</key>
- <data>BlhDUlM=</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data></data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>RTC IRQ 8 Patch</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>IgABeQA=</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data>AAAAAA==</data>
- <key>Replace</key>
- <data>IgAAeQA=</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data></data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>TMR IRQ 0 Patch</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>IgEAeQA=</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data>AAAAAA==</data>
- <key>Replace</key>
- <data>IgAAeQA=</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data></data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>Rename HEC1 to IMEI (PAVP)</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>SEVDMQ==</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data></data>
- <key>Replace</key>
- <data>SU1FSQ==</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data>RFNEVA==</data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>Rename IDER to MEID (PAVP)</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>SURFUg==</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data></data>
- <key>Replace</key>
- <data>TUVJRA==</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data>RFNEVA==</data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>SMBS._ADR -> XSBU.XADR</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>U01CUwhfQURS</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data></data>
- <key>Replace</key>
- <data>WFNCVQhYQURS</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data>RFNEVA==</data>
- </dict>
- <dict>
- <key>Base</key>
- <string></string>
- <key>BaseSkip</key>
- <integer>0</integer>
- <key>Comment</key>
- <string>Rename _DSM to XDSM (NVDIMM)</string>
- <key>Count</key>
- <integer>0</integer>
- <key>Enabled</key>
- <true/>
- <key>Find</key>
- <data>X0RTTQ==</data>
- <key>Limit</key>
- <integer>0</integer>
- <key>Mask</key>
- <data></data>
- <key>OemTableId</key>
- <data></data>
- <key>Replace</key>
- <data>WERTTQ==</data>
- <key>ReplaceMask</key>
- <data></data>
- <key>Skip</key>
- <integer>0</integer>
- <key>TableLength</key>
- <integer>0</integer>
- <key>TableSignature</key>
- <data>RFNEVA==</data>
- </dict>
What is wrong with them?
-
You’re welcome.
Yes those, since Renaming isn’t that usual today I ask why you’re using such. You must know why you did them. Any Reasons?
-
SMBS._ADR -> XSBU.XADR
ZitatX299 system don't like this patch. (npci=0x2000(3000)
I remove this and patched my system with
SMBS._ADR -> XSBU.XADRProbably not needed
Rename _DSM to XDSM (NVDIMM). This might not be needed, but look here:
ZitatRenaming all _DSM to XDSM insures no existing _DSM at the NVMe SSD path. The _DSM injection via SSDT_NVMe-Pcc.aml will not work if there is an existing _DSM at that path.
Probably not needed.
Rename HEC1 to IMEI (PAVP) and Rename IDER to MEID (PAVP) as per Apple's naming convention.
HPET _CRS to XCRS Rename, RTC IRQ 8 Patch, TMR IRQ 0 Patch are generated by SSDTTime
Fix RTC Range is from khronokernel
I have updated the config removing some renames in GitHub.
Unfortunately I got the freeze again after a few hours of inactivity with the current setup. What gives?
-
How do you map your usb things. Sounds like an usb issue.
-
Either this or defective RAM.
If you have working XCPM, of course.
-
How do you map your usb things. Sounds like an usb issue.
I use USBMap.kext, SSDT-X299-XHC.aml, SSDT-X299-XHCI.aml here.
Either this or defective RAM.
If you have working XCPM, of course.
How come the issue does not manifest itself in Windows if it was a defective RAM?
Interesting I have set up last night XMP profile for the RAM in BIOS and this morning the PC was not frozen.
-
nteresting I have set up last night XMP profile for the RAM in BIOS and this morning the PC was not frozen. Online
macOS is more Vulnerable in RAM issues than Windows is. XMP off may help many others with sleep.
Maybe you can set Timings manually and check if problem occurs.
-
Create a bootable usb thumbdrive with memtest on it. Boot with that drive and check your RAM completely.
i also have an x299 board, I don’t use unnecessary kexts or quirks.
i have an usb-ssdt and it works fine.
before I used a kext for that and also have problems with sleep / hibernate and some freezes.Take a look on how to create a custom usb ssdt. Trust me it is worth it.
-
Take a look on how to create a custom usb ssdt. Trust me it is worth it.
Any reference? Or can you attach yours as an example?
-
there are many sources on the web try to search for "USB-SSDT Hackintosh" also there is an how to here in the forum.
in the attachment you'll find my ssdt for reference. But you need to change the entire ports and settings to your needs.
Read everything attentive, it's hard for the first time. But I think it's the best way to map the usb ports correctly.
-
in the attachment you'll find my ssdt for reference
I don't see any currents defined there. Do they attach from somewhere else?
-
for me, in my case, this is in another SSDT, which I also use for Ethernet.
But I won't share it.for this you need add some code like this:
Code- Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
- {
- If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */))
- {
- Local0 = Package (0x08)
- {
- "kUSBSleepPowerSupply",
- 0x13EC,
- "kUSBSleepPortCurrentLimit",
- 0x0834,
- "kUSBWakePowerSupply",
- 0x13EC,
- "kUSBWakePortCurrentLimit",
- 0x0834
- }
- DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
- Return (Local0)
- }
-
So I guess the Idea is to reset RHUB found in the original SSDT
CodeAnd Insert a new device Device (XHUB) with select properties?
Isn't it easier to modify the original SSDT and drop it during loading replacing with the modified?
There is an example for creating an SSDT.
-
Yes you're right.
You can also drop the original (it's the same way I suggested). or better you'll have to do it. If not all the crap things you don't need would be loaded (there are many ACPI things which aren't related (mostly) to Apple Computers.
and at the end of that file add the power delivery things. Or place this functionality on top of your ssdt. It doesn't matter.
But if you use the same original ssdt, there is too much unnecessary crap in it, this is why it would better to create a new one from what actually is in the original ssdt.
-
Replaced the USB Mapping with SSDT from kext.
Still freezing.
Now added CPUfriend.kext
Last night I replaced the TSCAdjustReset.kext with the CpuTscSync.kext. The computer was awake this morning. No freeze though.
Code- x299@x299s-iMac-Pro ~ % pmset -g assertions
- 2022-11-30 07:30:50 -0500
- Assertion status system-wide:
- BackgroundTask 0
- ApplePushServiceTask 0
- UserIsActive 1
- PreventUserIdleDisplaySleep 0
- PreventSystemSleep 0
- ExternalMedia 0
- PreventUserIdleSystemSleep 1
- NetworkClientActive 0
- Listed by owning process:
- pid 171(WindowServer): [0x00007817000993e3] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000b01d service:AppleUserHIDEventService product:Apple Extended USB Keyboard eventType:3"
- Timeout will fire in 600 secs Action=TimeoutActionRelease
- pid 634(sharingd): [0x00007a790001952f] 00:03:01 PreventUserIdleSystemSleep named: "Handoff"
- Kernel Assertions: 0x104=USB,MAGICWAKE
- id=506 level=255 0x100=MAGICWAKE creat=11/29/22, 10:36 PM mod=11/30/22, 7:22 AM description=en3 owner=en3
- id=507 level=255 0x100=MAGICWAKE creat=11/29/22, 10:30 PM mod=11/30/22, 7:18 AM description=llw0 owner=IOSkywalkNetworkBSDClient
- id=508 level=255 0x100=MAGICWAKE creat=11/29/22, 10:31 PM mod=11/30/22, 7:18 AM description=en0 owner=en0
- id=1111 level=255 0x4=USB creat=11/30/22, 7:16 AM description=com.apple.usb.externaldevice.14700000 owner=Hub in Apple Extended USB Keyboard
- id=1112 level=255 0x4=USB creat=11/30/22, 7:17 AM description=com.apple.usb.externaldevice.14900000 owner=Lenovo FHD Webcam Audio
- id=1113 level=255 0x4=USB creat=11/30/22, 7:18 AM description=com.apple.usb.externaldevice.14a00000 owner=W10 GYRO
- id=1114 level=255 0x4=USB creat=11/30/22, 7:21 AM description=com.apple.usb.externaldevice.14800000 owner=Microsoft USB Optical Mouse
- Idle sleep preventers: IODisplayWrangler
Looks like Handoff is preventing the sleep.
-