Contribute
Register

Z790 Chipset & Raptor Lake

Hey guys, I've got a real pickle here and can't seem to find a solution.
The system on ProArt Z790 works almost perfect except a few hiccups, the 2.5GB LAN won't detect the line, the XMP issues but the biggest one is the sleep, I've wasted almost week trying to find a solution to it.

It goes to sleep a second later it wakes up with fans at full, lights on but the light on the power is blinking like its sleeping, reseting/power cycling shows POST bios error like something messed it up. I've tried any possible solution I can think of with with cable on ACQ on/off, ResizeGPU On/Off, 4k on/off, nothing changes gets the same issue.

Any hints? Suggestions?
here is the solution,@jaymonkey, I also had this problem,
It's a problem that many have but don't even know they have:

Third Investigation (Deeper Dive in to Scheduled PM Events)
Method to stop system access to the AutoWake plist

  1. Open Terminal
  2. First make sure the com.apple.AutoWake.plist file is empty by using the following command :-
  3. sudo pmset sched cancelall
  4. Next we need to set the immutable flag to lock/protect the file using the chflags command :-
  5. sudo chflags schg /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
  6. Reboot the System
Thanks @jaymonkey,
 
here is the solution,@jaymonkey, I also had this problem,
It's a problem that many have but don't even know they have:

Third Investigation (Deeper Dive in to Scheduled PM Events)
Method to stop system access to the AutoWake plist

  1. Open Terminal
  2. First make sure the com.apple.AutoWake.plist file is empty by using the following command :-
  3. sudo pmset sched cancelall
  4. Next we need to set the immutable flag to lock/protect the file using the chflags command :-
  5. sudo chflags schg /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
  6. Reboot the System
Thanks @jaymonkey,
Thank you but sadly didn't help, that wasn't the problem.
 
Hey guys, I've got a real pickle here and can't seem to find a solution.
The system on ProArt Z790 works almost perfect except a few hiccups, the 2.5GB LAN won't detect the line, the XMP issues but the biggest one is the sleep, I've wasted almost week trying to find a solution to it.

It goes to sleep a second later it wakes up with fans at full, lights on but the light on the power is blinking like its sleeping, reseting/power cycling shows POST bios error like something messed it up. I've tried any possible solution I can think of with with cable on ACQ on/off, ResizeGPU On/Off, 4k on/off, nothing changes gets the same issue.

Any hints? Suggestions?
Same problem here, but with Raptor Lake i7 13700KF and Gigabyte Z690 Aero D, BIOS F21.
 
It goes to sleep a second later it wakes up with fans at full, lights on but the light on the power is blinking like its sleeping

This happened to me amongst my testing, mainly on 0704 BIOS.

In my case it wouldn't recover (wake up) at all. Had to hard reset it (power off and on), then I'd have a red flashing light (every 4 seconds) which meant no Boot Drive Discovered. To recover the system I had to CMOS reset it by bridging the two pins and then re-configure bios again.

Can't say I narrowed it down as at the time I was heavily focused on TB2 testing, trying to get my UAD Apollo MKII to connect with the TB2->TB3 Apple adapter (with no luck) and thought the Thunderbolt was causing that sleep issue. XMP on/off, using speeds 4800, 5000 and 5600, still happened.

So I updated to BIOS 0814 tested again, no TB2 connection, but in the same instance I borrowed a friend's UAD Apollo Twin X (TB3) to test, and that worked no problem, hot plugged, on/off while in the OS, cold boot, warm boot, everything works. So I went and bought one, and, since then, I haven't experienced that sleep issue.

Now was it the Thunderbolt? Was it the BIOS version? Can't say..

Side note:
I'm on Big Sur 11.7.2
OC 0.8.8
Latest kexts/drivers (at the time of this post)
Thunderbolt driver 1.41.1340.0 (NVM 38.0)
SMBIOS MacPro7,1 & iMacPro 1,1 tested.

What I can say is, I downloaded your EFI to compare to mine quickly, I noticed you're using different **z790.aml files, are they just renamed from Casey's z690 ProArt EFI? Or they different? I'm using his z690 ProArt EFI, updated it to all latest kexts/drivers, added BRG0.aml as I'm using the 6900XTXH variant, fresh installed Big Sur, and it worked. Perhaps use his and test (if not already).

Few questions..
What BIOS version are you running, 0704 or 0814?

Do you have any thunderbolt devices connected? Try cold booting without them connected and put it to sleep to see if it does it again.

Try using SSDT-MAPLE-RIDGE-RP05-V1B.aml instead of V2, I'm currently running V1B and haven't had issues.

One more thing that may not be relevant, but good to test.. What monitor are you using? How is it connected to your GPU, HDMI or DP? In Displays, do you have the resolution SCALED or normal?

I discovered in my case, whenever i had the Display SCALED, i noticed my VRAM would increase to the point of no return (iStatistica showed it) and the machine became noticeably slower, even re-scaling the FINDER window would eat the VRAM...?!
When the Display is set to "Default for Resolution" there is no problems whatsoever, and i tested this by opening Logic Pro X with 20+ graphical meter plugins, 10 youtube videos in google chrome, plus Netflix and Prime in Safari with no VRAM issues.
If you've scaled it, Try Default For Resolution and put it to sleep to see if the same problem occurs.

Hopefully there's some info here that can help you, let us know how you go!
 
Thank you but sadly didn't help, that wasn't the problem.
Very strange, I have the same setup and I don't have these problems:
  • xmp: I enable the 120gb XMP manually changing the memory frequency to less (mine are 5200mhz I can put 4900mhz, if I put more for example 5000mhz I get a black screen and I can't enter the bios anymore, I just reset the bios) . I tried until I had as much as possible.
  • 2.5GbE LAN (tested with my server, very fast) -OK
  • Sleep/ wake : add npci=0x2000 boot-args, wake up soon after sleep:
    Code:
    sudo pmset -a tcpkeepalive 0
  • Code:
    sudo pmset sched cancelall
    sudo chflags noschg /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
with these settings:
- Opencor 0.8.8
- ResizeGPUBars = -1
- ResizeAppleGPUBars=-1
- Bios F4K
- Above 4G Decoding - DISABLE
- Above 4GB MMIO BIOS assignment - DISABLE
 
Very strange, I have the same setup and I don't have these problems:
  • xmp: I enable the 120gb XMP manually changing the memory frequency to less (mine are 5200mhz I can put 4900mhz, if I put more for example 5000mhz I get a black screen and I can't enter the bios anymore, I just reset the bios) . I tried until I had as much as possible.
  • 2.5GbE LAN (tested with my server, very fast) -OK
  • Sleep/ wake : add npci=0x2000 boot-args, wake up soon after sleep:
    Code:
    sudo pmset -a tcpkeepalive 0
  • Code:
    sudo pmset sched cancelall
    sudo chflags noschg /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
with these settings:
- Opencor 0.8.8
- ResizeGPUBars = -1
- ResizeAppleGPUBars=-1
- Bios F4K
- Above 4G Decoding - DISABLE
- Above 4GB MMIO BIOS assignment - DISABLE

Thanks bud, but no dice, and on top of it on Asus ProArt z790 I cannot disable the Above 4G Decoding, it greyed out.

Mind sharing your EFI, maybe I can compare notes see what I've done wrong or extra?

EDIT:

What the hell is proximitywake?

Screenshot 2023-02-02 at 12.46.32 PM.png
 
Last edited:
What BIOS version are you running, 0704 or 0814?
0814, but does the same thing on both BIOSes.

Do you have any thunderbolt devices connected? Try cold booting without them connected and put it to sleep to see if it does it again.
I don't have any thunderbolt devices but I just bought the TB4 hub to test it out, waiting on delivery.

Try using SSDT-MAPLE-RIDGE-RP05-V1B.aml instead of V2, I'm currently running V1B and haven't had issues.
Will try it the moment the TB4 hub is here.

One more thing that may not be relevant, but good to test.. What monitor are you using? How is it connected to your GPU, HDMI or DP? In Displays, do you have the resolution SCALED or normal?
I've got 3 monitors connected, 2 DP, 1 HDMI.
Resolution: 6016 x 3384
UI Looks like: 3008 x 1692 @ 60.00Hz

If you've scaled it, Try Default For Resolution and put it to sleep to see if the same problem occurs.
Maybe, but I doubt it, Might be something I screwed up in the ACPI or could be Radeon VII related. testing will show.


xmp: I enable the 120gb XMP manually changing the memory frequency to less (mine are 5200mhz I can put
Forgot to say thank you for the tip, apparently ProArt Z790 refuses to POST with anything above 5200 (Memory is 5800) with XMP on.
 
0814, but does the same thing on both BIOSes.


I don't have any Thunderbolt devices but I just bought the TB4 hub to test it out, waiting on delivery.


Will try it the moment the TB4 hub is here.


I've got 3 monitors connected, 2 DP, 1 HDMI.



Maybe, but I doubt it, Might be something I screwed up in the ACPI or could be Radeon VII related. testing will show.



Forgot to say thank you for the tip, apparently ProArt Z790 refuses to POST with anything above 5200 (Memory is 5800) with XMP on.
I think i found your potential problem..
I just updated from Big Sur 11.7.3 to Monterey 12.6.2 for testing, and I forced the sleep issue to happen.

Run of events;
Updated so I could see both Ethernet controllers, i226-V and 10Gb. Did @CaseySJ i225-v fix found here, and it came up, connected and tested, works. Then tested 2-4 sleep/wake cycles, all successful with 20 second sleeps and 9 second wake ups.

Swapped to 10Gb port, connected and tested, works. Went to put the machine to sleep and BAM, the issue occurred.
It actually switched off for SPLIT second then all fans, lights came back on again. I quickly smashed the space bar so i could recover it without having to CMOS reset like i mentioned in my previous post.

Side note, my UAD Apollo Twin X was connected and on the whole time so possibly ruling out it being caused by TB.

Perhaps that could be your issue?
 
Definitely the 10Gb port, it just happened twice in a row.
 
Thanks bud, but no dice, and on top of it on Asus ProArt z790 I cannot disable the Above 4G Decoding, it greyed out.

Mind sharing your EFI, maybe I can compare notes see what I've done wrong or extra?

EDIT:

What the hell is proximitywake?

View attachment 562926
I didn't see that the board is not the same; you have an Asus. I've attached my EFI. I've been testing it for 2 weeks, and everything is working very well.
 

Attachments

  • EFI.zip
    45.2 MB · Views: 198
Back
Top