PIut02 / ROG-Zephyrus-G14-GA401-Hackintosh

OpenCore Config for Asus ROG-Zephyrus-G14-GA401(2020-2021) with AMD Ryzen.
87 stars 4 forks source link

last line ACPI: sleep states S3 S4 S5 #22

Closed edwin170 closed 6 months ago

edwin170 commented 11 months ago

hi, first thanks for this efi.

when i try to boot monterrey on an external ssd with this efi with some modifications like the serial number. this gets stuck on ACPI and reboot. do you have any idea how to fix it please

my laptop is a g14 2021. AMD Ryzen 7 5800HS with a rtx 3060. i have activated the s3 sleep, above 4g decoding, the igpu ram to 2gb. i tried without this option and this reboot continues.

https://github.com/PIut02/ROG-Zephyrus-G14-GA401-Hackintosh/assets/122418602/73b2a143-1f1a-435d-baf2-7e343a010afb

edwin170 commented 11 months ago

https://github.com/PIut02/ROG-Zephyrus-G14-GA401-Hackintosh/issues/5%20, here the lastest efi zip file, could you tell me what did you change or what's the difference between the original one or this one? i mean if OC.7z.zip disable something important ?

PIut02 commented 11 months ago

if I'm not mistaken, something important should be consistent with the files under the 2021 folder in the current repository. With the file in #5 can you boot normally? And please tell me your internal ssd model, even if you boot from an external ssd it still has an effect.

edwin170 commented 11 months ago

if I'm not mistaken, something important should be consistent with the files under the 2021 folder in the current repository.

With the file in #5 can you boot normally? And please tell me your internal ssd model, even if you boot from an external ssd it still has an effect.

It's an Intel chip one iirc, it is a kingspace. And yeah it booted up after I reset nvram with the efi above. But internet and Bluetooth are not working sadly

edwin170 commented 11 months ago

amfi_get_out_of_my_way=1 i saw this argument, isn't this dangerous ?

PIut02 commented 11 months ago

amfi_get_out_of_my_way=1 i saw this argument, isn't this dangerous ?

This is just to unblock some apps that don't have a signature, and you can delete it if you don't need it.

edwin170 commented 11 months ago

amfi_get_out_of_my_way=1 i saw this argument, isn't this dangerous ?

This is just to unblock some apps that don't have a signature, and you can delete it if you don't need it.

Oh well ok thank you, hey do you know if i can fix the wifi ?

PIut02 commented 11 months ago

And ask if there is still a boot error with the latest files in the repository now?

edwin170 commented 11 months ago

And ask if there is still a boot error with the latest files in the repository now?

It stops bro into sleep thingy but with the zip efi above it worked but wifi and Bluetooth doesn't work 😭

PIut02 commented 11 months ago

Ok, I think there may be something wrong in a certain update, I will recheck it, about wifi and bluetooth, the kext in the zip above is only for the Ventura version, other versions of the system cannot be used, to fix it only need to download the corresponding version of the kext replacement or change the system version.

edwin170 commented 11 months ago

Ok, I think there may be something wrong in a certain update, I will recheck it, about wifi and bluetooth, the kext in the zip above is only for the Ventura version, other versions of the system cannot be used, to fix it only need to download the corresponding version of the kext replacement or change the system version.

I already downloaded the kext for my current Monterrey, but it continue. Btw soon I am gonna update to Ventura to see if works better

edwin170 commented 11 months ago

so i tried ventura and most of things works great, but wifi and bluethooth are not working :(

edwin170 commented 11 months ago

MediaTek Wifi-6 MT7921 also just in case this is my card

PIut02 commented 11 months ago

MTK is unsupported and there is no way to use it in macOS, please replace the Intel network card if necessary.

edwin170 commented 11 months ago

MTK is unsupported and there is no way to use it in macOS, please replace the Intel network card if necessary.

Alright bro thank you so much for your help, I am gonna try to replace the card with another laptop one

edwin170 commented 11 months ago

I changed the wifi card and wifi and bluetooth started working well. thank you so much for this efi

edwin170 commented 11 months ago

hi, do you have any idea about this ?, I always execute sudo pmset autopoweroff 0 && sudo pmset powernap 0 && sudo pmset standby 0 && sudo pmset proximitywake 0 && sudo pmset tcpkeepalive 0 before sleep. so always it can't show anything when I want to wake it up so I had to force reboot. now after it sleep I wake it up and then connect a hdmi and I can see the screen but in my laptop I can't. it is not detecting the laptop screen after the sleep. could you please tell me if you know something about it.

PIut02 commented 11 months ago

So, first check the USB issue and check whether the dGPU mask patch takes effect, by checking whether there is NVIDIA-related in the PCI device.

edwin170 commented 8 months ago

hi, first thanks for this efi.

when i try to boot monterrey on an external ssd with this efi with some modifications like the serial number. this gets stuck on ACPI and reboot. do you have any idea how to fix it please

my laptop is a g14 2021. AMD Ryzen 7 5800HS with a rtx 3060. i have activated the s3 sleep, above 4g decoding, the igpu ram to 2gb. i tried without this option and this reboot continues.

IMG_0007.MOV

this happens when I try to use the SSDT-NoHybGfx.aml acpi, but if I disabled I booted well however the graphics is consuming resources I mean energy, then after a reboot and I try again boot with the SSDT-NoHybGfx acpi it shows some thing like [ PCI configuration begin ] IOPCIConfigurator: : configure kIOPCIEnumerationWaitTime is 900,

I think it is a problem with the Nvidia graphic after sleep it can't find it

edwin170 commented 8 months ago

any idea please ?

PIut02 commented 8 months ago

Please view the information below in wIndow and show it to me: Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name

edwin170 commented 8 months ago

Please view the information below in wIndow and show it to me: Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name

it is the same as in the .aml PCI0.GPP0.PEGP

edwin170 commented 8 months ago

Screenshot 2024-03-07 at 12 23 18 PM

and here is from macOS

PIut02 commented 8 months ago

It looks like the patch didn't work, I think maybe 2020 and 2021 used different acpi methods, try this one: SSDT-dGPU-Off.aml.zip

edwin170 commented 8 months ago

It looks like the patch didn't work, I think maybe 2020 and 2021 used different acpi methods, try this one: SSDT-dGPU-Off.aml.zip

yeah bro I was looking information about this and i think I saw something about it happens when bad acpi method, let me try it and thanks

edwin170 commented 8 months ago

it still detecting the Nvidia graphic

PIut02 commented 8 months ago

Did you add it to the config file?

edwin170 commented 8 months ago

Did you add it to the config file?

Ofc and it was enabled it

PIut02 commented 8 months ago

That is strange because so far there are only two acpi methods to mask discrete graphics cards. Have you ever tried to clear nvram?

edwin170 commented 8 months ago

Let me try clear nvram

edwin170 commented 8 months ago

it continue detecting the graphic

PIut02 commented 8 months ago

Please extract the DSDT file and upload it so I can see where the problem is

edwin170 commented 8 months ago

Let me try clear nvram

Do you mean dump my acpi DSDT?

PIut02 commented 8 months ago

Do you mean dump my acpi DSDT?

Yes. Tips: it is best to get dsdt in windows without opencore boot, so as not to interfere with dsdt files.

edwin170 commented 8 months ago

ok thank you bro, look i dumped it on windows 11 DSDT.zip

i updated as zip because github doesn't allow me to share it

PIut02 commented 8 months ago

Try this one: SSDT-GPU-DISABLE.aml.zip

edwin170 commented 8 months ago

Try this one: SSDT-GPU-DISABLE.aml.zip

same, thank you for help I will look for others methods and see if I can fix it

PIut02 commented 8 months ago

There is another way to disable dgpu by adding -wegnoegpu to boot-args, but this method is not complete, it only makes nvidia devices not display, actually still powered, that is, it cannot save power by this method, and sleep will have problems.

edwin170 commented 8 months ago

There is another way to disable dgpu by adding -wegnoegpu to boot-args, but this method is not complete, it only makes nvidia devices not display, actually still powered, that is, it cannot save power by this method, and sleep will have problems.

: ( so wegnoegpu will not help, as I want to save power.

edwin170 commented 8 months ago

Screenshot 2024-03-07 at 2 40 59 PM

in a SSDT7.aml file I found that, should that help ?

PIut02 commented 8 months ago

Maybe you should check ssdt5 because PCI0.GPP0.PEGP is in this one.

edwin170 commented 8 months ago

Maybe you should check ssdt5 because PCI0.GPP0.PEGP is in this one.

okey thank you