Jump to content
lukakeiton

MacOS 11.3 & Windows 10 on AMD Ryzen | Sleep/wake works

Recommended Posts

OzFeMk4.png

Specs:

Motherboard: ROG STRIX X570-E GAMING (BIOS rev 3801)

CPU: AMD Ryzen 9 3900X

GPU: Sapphire Nitro+ Radeon RX 590 8GB GDDR5

Watercooler: Corsair H115i RGB Platinum

Case: NZXT H700

RAM: 2x CORSAIR Vengeance LPX 16GB DDR4 3600Mhz

NVMe:

  1. Goldenfir M.2 1TB (Windows 10)
  2. Asgard M.2 1TB (macOS Big Sur 11.X)

SSD:

  1. Sandisk 60GB (Ubuntu 20.04.2.0 LTS)

Wifi/Bluetooth: BCM94360CS2

Monitor: AOC C24G1

BIOS Settings (rev 3801)

  • Ai Tweaker -> Ai Overclock Tuner -> D.O.C.P.
  • Advanced -> CPU Configuration -> SVM Mode -> Enabled
  • Advanced -> APM Configuration -> Power On By PCIe -> Enabled
  • Advanced -> PCI Subsystem Settings -> Above 4G Decoding -> Enabled
  • Advanced -> PCI Subsystem Settings -> Re-Size BAR Support -> Disabled
  • Advanced -> USB Configuration -> Legacy USB Support -> Auto
  • Boot -> Boot Configuration -> Fast Boot -> Disabled
  • Boot -> CSM -> Launch CSM -> Disabled
  • Boot -> Secure Boot -> OS Type -> Windows UEFI mode
  • Boot -> Secure Boot -> Key Management -> Clear Secure Boot Keys

Installation

First, install Windows 10 on a separate hard disk.

Use this method to create the USB installer

Use this premade EFI

https://www.olarila.com/applications/core/interface/file/attachment.php?id=27878

Compile OpenCore and Kexts, use these commands

https://www.olarila.com/applications/core/interface/file/attachment.php?id=27628

https://www.olarila.com/applications/core/interface/file/attachment.php?id=27825

Update OpenCore and kexts in premade EFI folder. Add to boot-args 'vsmcgen=1' argument.

Also update SMCAMDProcessor.kext from https://github.com/trulyspinach/SMCAMDProcessor/releases

Install as normal

Post-installation (only works with same motherboard)

Copy the EFI folder from your USB to your hard disk.

Sound

Inject on DeviceProperties, PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4) -> layout-id | 7 | Number

Hard disks internal

Select on Kernel ExternalDiskIcons

Use SSDTs provided on EFI

2.5Gb Ethernet

Go to System Preferences, Network. Select 2.5Gb Ethernet connection (en3), Advanced, Hardware. Choose manual configuration and then 1000baseT. Accept and apply.

USB

Included on EFI

Note: Do not use this kext if you don't have the same motherboard.

Note 2: Only USB 3_4 2.0 from motherboard is mapped as internal, it is a watercooler fully recognized. Only one USB 3.0 from motherboard and only one USB 3.2 Type C from motherboard. That's all I need.

EFI

Download from here

IMAGES

Big Sur

pi58oBc.png

NZD4GY5.png

FO5arDx.png

System Report

FqZxMVV.png

WdbQhLL.png

O5qgKH0.png

ZekoXMm.png

UWKELbi.png

GU67TI4.png

xtyb1OA.png

CTf57aX.png

qOFtse2.png

cQxHcqG.png

OpenCore

VNCSJmI.png

41VcSkZ.png

hwf5OXI.png

IORegistryExplorer

LQSpC3K.png

jR6pNTO.png

dB4AVz6.png

QLgeMIy.png

yMmHNTi.png

jCHsApC.png

myJs2mz.png

Edited by lukakeiton
update to 11.3
  • Like 3
  • Thanks 2

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

  • Administrators

👍 

pure rock n' roll :guitar

 

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

5 minutes ago, MaLd0n said:

👍

pure rock n' roll :guitar

 

This PC is a beast! Thanks!

2 minutes ago, johnnybravo said:

nice job mate!  

Thanks!

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

On 8/9/2020 at 11:32 PM, lukakeiton said:

Motherboard: ROG STRIX X570-E GAMING

@lukakeitonSMCAMDProcessor.kext Version using ?. I'm using ver 0.6.4 boot panic ( ryzen r5 3600). Please share your efi. Tks.

Edited by HUYNH ANH

MSI B450 TOMAHAWK MAX, RYZEN R5 3600, MSI RX 5500 XT, WIFI BCM94360cs2 , MacOS 10.16 Beta 9, Opencore 0.6.2

Link to comment
Share on other sites

On 8/10/2020 at 7:24 PM, HUYNH ANH said:

@lukakeitonSMCAMDProcessor.kext Version using ?. I'm using ver 0.6.4 boot panic ( ryzen r5 3600). Please share your efi. Tks.

Sorry, I have no notifications on my email. I am using the same version. I upload my EFI to OP.

  • Thanks 1

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

On 8/15/2020 at 1:30 PM, lukakeiton said:

Sorry, I have no notifications on my email. I am using the same version. I upload my EFI to OP.

Wake up from sleep working on your PC ? My PC not work: black screen, keyboard, mouse not.

Edited by HUYNH ANH

MSI B450 TOMAHAWK MAX, RYZEN R5 3600, MSI RX 5500 XT, WIFI BCM94360cs2 , MacOS 10.16 Beta 9, Opencore 0.6.2

Link to comment
Share on other sites

On 8/22/2020 at 6:27 PM, HUYNH ANH said:

Wake up from sleep working on your PC ? My PC not work: black screen, keyboard, mouse not.

Probably USB map solves your problem.

On 8/24/2020 at 5:17 PM, CharlesChumb said:

Ive been contemplating putting together a new desktop mostly for Autodesk stuff, but with a secondary gaming use. Would a Ryzen be completely crap for this?

In theory, you should't have any problem.

  • Thanks 1

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

UPDATE TO DEVELOPER BETA 5

iZQmjb5.png

Disable AMDRyzenCPUPowerManagement.kext in opencore.

Update as normal.

Edited by lukakeiton
  • Like 1

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

1 hour ago, lukakeiton said:

UPDATE TO DEVELOPER BETA 5

iZQmjb5.png

Disable AMDRyzenCPUPowerManagement.kext in opencore.

Update as normal.

SMCAMDProcessor release 0.3.4 working fine on beta5

https://github.com/trulyspinach/SMCAMDProcessor/releases/tag/0.3.4

MSI B450 TOMAHAWK MAX, RYZEN R5 3600, MSI RX 5500 XT, WIFI BCM94360cs2 , MacOS 10.16 Beta 9, Opencore 0.6.2

Link to comment
Share on other sites

6 hours ago, HUYNH ANH said:

SMCAMDProcessor release 0.3.4 working fine on beta5

https://github.com/trulyspinach/SMCAMDProcessor/releases/tag/0.3.4

Release 0.6.4 works in beta 5. Remember you have two kexts, SMCAMDProcessor and AMDRyzenCPUPowerManagement.kext but only first works. The second is just for all power management features. I am working on SSDTs now to make sleep work again, but this time manually.

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

UPDATE:

I have updated the USB map due to a better understanding of the ACPI table. Now, it works like a charm. READ THE NOTES. Also updated EFI folder. 

Thanks to @MaLd0n for sending me the ACPI manual.

IORegsitryExplorer image:

Dsd5VX0.png

UPDATE 2:

Sleep still no working, I am on it.

UPDATE 3:

As far as I red, people still have Preboot disk instead the name of the HDD, I think this is due to XHC0, with the new SSDT rename, I get MacOS Big Sur, which is how I name my HDD, when I boot.

RpF8GdQ.jpg

UPDATE 4:

Increased RAM frequency to 3600 MHz with no problem.

wqSXYVA.png

Edited by lukakeiton
  • Like 1

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

MAJOR UPDATE:

I have created next SSDTs: 2xNVMe (Slot 1 and 2), graphic card (Slot 1 PCIe), HPET (SSDTTimer).

Two ethernet ports are working, but 2.5Gb one at 1Gb.

Added AGPMInjector kext for RX 590

With respect to sleep/wake, it enters to S3 state but immediately wakes up. @MaLd0n any advice? If you need any file (or the hole project), I will send it.

I also extracted the ACPI table with OC and added the SSDT-*.aml files to OC. Is this necessary?

Thank you in advance!

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

  • Administrators

Hey. Ye. sleep in amds in many cases dont work. some people report sucess in bigsur

  • Sad 1

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

Updated EFI with SSDTs, updated kexts and OpenCore 0.6.1 debug version. Now, both ethernets work.

Changes:

- Rename NVMe slot 1 to ANS1 and injected properties (SSDT)

- Rename NVMe slot 2 to ANS2 and injected properties (SSDT)

- Rename graphic card slot 1 to EGP0 and injected properties (SSDT)

- Rename XHC0 to XHC2, XHC1 to XHCI, XHC0 (2) to XHC3 with all ports correctly mapped (SSDT)

- Added HPET SSDT

- Added DTGP SSDT (for graphic card SSDT)

- SSDT-EC0 + oc patch

Note: I have also created a SSDT to rename XHC0 to XHC2 and XHC1 to XHCI, at the same time. Not used in this config.

Note 2: Sleep/wake still not working. PC enters to S3 state but immediately wakes up.

Edited by lukakeiton

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

There is one SSDT wrong, when renaming _SB.PCI0.GPP0.D004 to ANS1, it is not a 4 (my big mistake), it is a 5. The correct path is _SB.PCI0.GPP0.D005.

I upload the new SSDT:

SSDT-X570-NVMe-ANS1-GPP0-noTB.aml

I am going to create ethernet ssdt because I want to stay clean in OpenCore device properties.

Edited by lukakeiton

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

FINAL UPDATE

I get sleep/wake work, it takes 30 seconds to go to sleep. I have made next changes:

- Remove bluetooth (4.0 version) from usb 2.0 connector.

- Fix USB map, SSDT and kext.

- Add Intel bluetooth kexts (5.0 version). Source from here

Updated EFI on OP.

Now, everything works like a real Mac :)

Thank you very much to @MaLd0n for introducing me in the ACPI world and sending me the ACPI manual.

Edited by lukakeiton

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

  • Administrators

Nice. Congratz!

  • Thanks 1

-Donations-

PayPal HERE - Stripe HERE - Ko-Fi HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3 - BNB 0x10D1d656eCa00bD521f9b4A43B83098B8142e115 - USDT BSC BEP20 0xb57cfdfa371fad1981910f0e8332409ab99f74d9 - USDT TRC20 TUR6Z9AVS4AYzqPnULoHrfFvppRbhXmNbZ - KASPA kaspa:qpxzufgfj8p6r0krg58yzvs0009h2mwqgvcawa0xc2pth7sgzpv56j4f6dtvk - PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Sign up for a Bybit account and claim exclusive rewards HERE

New ways to earn money with Linkvertise HERE

Link to comment
Share on other sites

I am back! Updated OC to 0.6.2 stable version (working now on 0.6.3), updated to last kexts and update to 11.0.1 beta.

EFI 0.6.2

AZobdjq.png

Sleep, wake, continuity, bluetooth, wifi... still working

Edited by lukakeiton
  • Like 2

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

14 hours ago, lukakeiton said:

Update to Release Candidate 2 without any problem. Same EFI as previous.

guYdrzV.png

With his EFI Folder, I can log in and install Big Sur, However when he restarts and i Need to enter the install option to continue the installation and he throws me into the kernel panic. Do you know i should proced?
But if I Enter the installer, it will enter normally.

https://ibb.co/K2zCy36
Edited by pdevonie
Link to comment
Share on other sites

6 hours ago, pdevonie said:

With his EFI Folder, I can log in and install Big Sur, However when he restarts and i Need to enter the install option to continue the installation and he throws me into the kernel panic. Do you know i should proced?
But if I Enter the installer, it will enter normally.

https://ibb.co/K2zCy36

Are you using the first efi folder or the last efi folder?

EFI 0.6.2

This KP is related with kernel patches, remember they were updated.

AMD Ryzen 9 3900X

ASUS ROG STRIX X570-E GAMING

Sapphire Nitro+ Radeon RX 590 8GB

CORSAIR Vengeance LPX 32GB DDR4 3600Mhz

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...