Jump to content
About Just Joined group Read more... ×
Mieze

Tracing back the AMD GPU wakeup issue to its origin

365 posts in this topic

Recommended Posts

Slice sir, I've done as per ur advice, but no luck  :(

 

What I've done so far,

 

1. Change 4 kext + AMD6000.kext and DeInit=Yes

2. Applied diff SMBIOS 

3. Patch DSDT to Inject AMD (InjectATI=No is in clover)

4. Applied many FB patches

5. Sir I've tried ur SSDT-AML, n i see some thing diff(white background instead of black) , but it didn't made AMD work  :(

 

Sir Does MCFG.aml has any role to play coz i have to drop it! to get my radeon working.

 

sir can u plz share this 4 kext plz  :), one last try before "I QUIT"  :(

Share this post


Link to post
Share on other sites
Advertisement

Hi, can you please look at my attached ioreg screenshots and tell me if I set my radeon r9 290x GPU PM correctly. AGPM shows under ATY,AMD,RadeonFramebuffer@0 but my display is registered under ATY,AMD,RadeonFramebuffer@3. I have disabled IGPU in BIOS, set ASPM for PEG only and didn't use framebuffer injection or patching since i'm using only one LCD. Sorry if this is too much OT and thanks to all the developers for their priceless work

 

I use iMac13,2 as SMBIOS. In AGPM of  that there are only Nvidia type gpus (GFX0 ...).

If i look on AGPM part of iMac18,x there are AMD Gpus which have other keys in GFX0...

 

I use RX 460 with sucess in Sierra - works- only use whatevergreen, nothing more :).

But i am sure AGPM with unmodded iMac13,2 will make nothing for AMD because keys +IDs there  in GFX0 are for Nvidia gpu.

 

Below yo see my the .plist of AppleAGPM in which a marked my used iMac13,2 blue (second, lower ) and some iMac18 (has AMD) (first, upper)

Would it make sense to use the GFX0 from iMac18 in the iMac13,2 ? ( I have IVY CPU, so for CPU want stay this Modell)

 

post-110586-0-39529100-1511623722_thumb.jpg

Share this post


Link to post
Share on other sites

can i have this kext from 10.12.5 or 10.12.6 or both

AMDRadeonX3000.kext
AMDRadeonX3000GLDriver.bundle
IOAccelerator2D.plugin
IOAcceleratorFamily2.kext

does 10.12.6 n 10.13.1 kext behave same, coz i want it for AMD Radeon HD 7650M GPU

Share this post


Link to post
Share on other sites

SiddRamesh,

Cancel the spam!


I think I injected as Device Properties, take a look.

Hey Pavo!

SSDT is not a DeviceProperties protocol.

I asked one or another and you answered that you are using ACPI method not DeviceProperties method.

Share this post


Link to post
Share on other sites

OK, SO M KILLIN OS X HIGH SIERA AS My AMD Radeon HD 7650M Is not able to get QE/CI

 

ALL HPOE IS GONE :(

 

GOODBYE :(

Share this post


Link to post
Share on other sites

In High Sierra's AMD kexts, I'm curious about what differences there are between ATIFramebuffer and IOFreambuffer. I think there is no ATIFramebuffer in Sierra's AMD kexts. Is it the reason there are cards that works on Sierra but don't work on High Sierra??

I made a topic http://www.insanelymac.com/forum/topic/329602-no-acceleration-for-radeon-rx460/.

Share this post


Link to post
Share on other sites

OK, SO M KILLIN OS X HIGH SIERA AS My AMD Radeon HD 7650M Is not able to get QE/CI

 

ALL HPOE IS GONE :(

 

GOODBYE :(

This laptop doesn't have an iGPU?

Share this post


Link to post
Share on other sites

Here it is

Thanks a lot bro, :)

 

But i can't open it, can u send me .txt 

 

n would u like suggest me sloutuin for my AMD 7650M on 10.13.1 to get QE/CE!

Share this post


Link to post
Share on other sites

Thanks a lot bro, :)

 

But i can't open it, can u send me .txt 

 

n would u like suggest me sloutuin for my AMD 7650M on 10.13.1 to get QE/CE!

I'll send you a PM. Let's keep this thread clean.

Share this post


Link to post
Share on other sites

Have you tried to remove all the ATI injections and let the macOS default framebuffer to be loaded? What happens if you remove the KextToPatches as well?

 

Just keep the RadeonDeInit and remove the rest. and let me know

Share this post


Link to post
Share on other sites

Have you tried to remove all the ATI injections and let the macOS default framebuffer to be loaded? What happens if you remove the KextToPatches as well?

 

Just keep the RadeonDeInit and remove the rest. and let me know

AMD 6000 n X3000 Controller Loads but on 4mb VRam no QE/CI

Share this post


Link to post
Share on other sites

I found an interesting find.

I’m on ryzen 10.13.2 beta 5 and what happened is I always updated my clover and even my fakesmc.kext

I used the latest lilu and whatevergreen. When I wanted to put the computer to sleep it would turn off the monitor and reboot.

 

So I went my old hard drive (10.13.1) using this efi and was getting the same results. Reboot on sleep. Which was very odd for me because steep worked at great when I was in 10.13.1

 

I played around with a lot of files and ended up using my old efi which contained and older version of clover and fakesmc.kext.

Using this old efi and the latest lilu and whatevergreen sleep worked again!!!

 

I’m still playing around with the files I will try on 10.13.2 beta which gave me reboot when I put it to sleep.

 

I’ll report back

Share this post


Link to post
Share on other sites
External (_SB_.PCI0.GFX0.PEGP, DeviceObj)

Should be 

External (_SB_.PCI0.PEG0.PEGP, DeviceObj)

or 

 External (_SB_.PCI0.PEG0.GFX0, DeviceObj)

You either use PEGP or GFX0 not both, if you are replacing PEGP with GFX0 in ACPI patching you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT

 

 

@pavo, can you please explain what you mean by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" ?

I patch ACPI PEGP -> GFX0 in Clover and having the same issue.

 

I cannot get a clean boot via my SSDT-AMD.aml for RX580 8GB

I see the Apple logo and the loading bar. Then the halfway through, the screen flashes partially white and back to half loading bar and the screen freezes. Non of the ports on the GPU work but macOS is up as I can shell via SSH into it remotely.

 

If I use use RadeonDeInit=true and no SSDT, then all is fine.

But I like to find out why my SSDT is not working.

 

Attached my config.plist & SSDT files.

 

I'm using Clover r4318

MacNB-config.plist.zip

SSDT-AMD.aml.zip

Share this post


Link to post
Share on other sites

@pavo, can you please explain what you mean by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" ?

I patch ACPI PEGP -> GFX0 in Clover and having the same issue.

 

I cannot get a clean boot via my SSDT-AMD.aml for RX580 8GB

I see the Apple logo and the loading bar. Then the halfway through, the screen flashes partially white and back to half loading bar and the screen freezes. Non of the ports on the GPU work but macOS is up as I can shell via SSH into it remotely.

 

If I use use RadeonDeInit=true and no SSDT, then all is fine.

But I like to find out why my SSDT is not working.

 

Attached my config.plist & SSDT files.

 

I'm using Clover r4318

In order for SSDT injection method to work you also must use InjectATI=True in config, using RadeonDeInit will not allow SSDT injection method to work. What I meant by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" is if in your clover config you have ACPI PEGP -> GFX0 in ACPI patching, then you only want _SB_.PCI0.PEG0 in your SSDT, because the ACPI patch is looking in your injected SSDT during patching process for PEGP to patch to GFX0, if you have _SB_.PCI0.PEG0.GFX0 then the ACPI patch will make it result in _SB_.PCI0.GFX0.GFX0 because you have it renaming PEGP to GFX0.

 

Wow you have a TON of fixes that you probably don't need, what is this system specs? You SSDT you attached is not complete at all, nothing is being injected. Try these.

MacNB-config.plist.zip

SSDT-RX-580.zip

Share this post


Link to post
Share on other sites

:poster_oops:

In order for SSDT injection method to work you also must use InjectATI=True in config, using RadeonDeInit will not allow SSDT injection method to work. What I meant by "you don't want _SB_.PCI0.PEG0.GFX0 also in SSDT" is if in your clover config you have ACPI PEGP -> GFX0 in ACPI patching, then you only want _SB_.PCI0.PEG0 in your SSDT, because the ACPI patch is looking in your injected SSDT during patching process for PEGP to patch to GFX0, if you have _SB_.PCI0.PEG0.GFX0 then the ACPI patch will make it result in _SB_.PCI0.GFX0.GFX0 because you have it renaming PEGP to GFX0.

 

Wow you have a TON of fixes that you probably don't need, what is this system specs? You SSDT you attached is not complete at all, nothing is being injected. Try these.

 

Thanks for your help. 

Does not quite make sense. My ACPI patch was PEGP to GFX0 and not PEG0 to GFX0. So if I have _SB.PCI0.PEG0.GFX0, then the ACPI patch process should NOT patch that to _SB.PCI0.GFX0.GFX0 because I did NOT ask it to patch PEG0 to GFX0.

 

My system spec is Z77X-UP5-TH with i7-3770K with RX580.

 

Any way, I solved my problem. Feel like an idiot   :poster_oops:  :blush:

I placed my file : EFI/Clover/ACPI/Patched/SSDT-RX580.aml and assumed Clover will automatically inject it.
It wasn't for some reason. The only reason I can think of was that in config.plist ACPI->SortedOrder, the file was called SSDT-AMD.aml which Clover could not find but it ignored the SSDT-RX580.aml that was there.
Interestingly, Clover will load DSDT.aml even if you explicitly name BLAH-BLAH.aml in config.plist ACPI->DSDT->Name->BLAH-BLAH.aml. That is, it will not find BLAH-BLAH.aml but will find DSDT.aml and load it.

​As soon as I corrected the SortedOrder filename, my SSDT is loaded and I have the correct GPU board name, Framebuffers and HDMI audio without using RadeonDeInit.

 

Also, with the SSDT method, the System Profiler states " Metal: Supported, feature set macOS GPUFamily1 v3" but with RadeonDeInit method, it says " Metal: Supported"

Share this post


Link to post
Share on other sites

:poster_oops:

 

 

Thanks for your help. 

Does not quite make sense. My ACPI patch was PEGP to GFX0 and not PEG0 to GFX0. So if I have _SB.PCI0.PEG0.GFX0, then the ACPI patch process should NOT patch that to _SB.PCI0.GFX0.GFX0 because I did NOT ask it to patch PEG0 to GFX0.

 

My system spec is Z77X-UP5-TH with i7-3770K with RX580.

 

Any way, I solved my problem. Feel like an idiot   :poster_oops:  :blush:

I placed my file : EFI/Clover/ACPI/Patched/SSDT-RX580.aml and assumed Clover will automatically inject it.It wasn't for some reason. The only reason I can think of was that in config.plist ACPI->SortedOrder, the file was called SSDT-AMD.aml which Clover could not find but it ignored the SSDT-RX580.aml that was there.Interestingly, Clover will load DSDT.aml even if you explicitly name BLAH-BLAH.aml in config.plist ACPI->DSDT->Name->BLAH-BLAH.aml. That is, it will not find BLAH-BLAH.aml but will find DSDT.aml and load it.

​As soon as I corrected the SortedOrder filename, my SSDT is loaded and I have the correct GPU board name, Framebuffers and HDMI audio without using RadeonDeInit.

 

Also, with the SSDT method, the System Profiler states " Metal:[/size] [/size]Supported, feature set macOS GPUFamily1 v3[/size]" but with RadeonDeInit method, it says " Metal:[/size] [/size]Supported[/size]"

Do you have IGPU partially enabled? The macOS GPUFamily1 status is a rare achievement unless using Intel igpu in some way.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By kokozaurs
      Hi all,
       
      I'm using ESXI 7.0b (did use 6.7 to try but with no difference).
       
      Right now on Catalina but I can't seem to try to get GPU (RX580) working properly.
       
      I pass it through to the VM(tried with windows before with no problems) and it appeared just as pci-device with no name.
       
      After that, I've applied whatevergreen + lilu kexts and it does properly recognize it under system report however that's all there is. It's listed at GFX0. See attached images.
       
      No hardware acceleration. Monitor also not turning on using either DP/HDMI. 
       
      Since it is being passed through to the VM, it seems that the problem is not on ESXi side but on macOS side. 
       
      Has anyone has been able to pass through an AMD GPU to ESXI VM? Can anyone suggest some pointers as to where I could find some solutions to this problem?
       
      Thanks! 
       
       



    • By b2550
      Currently my install is 100% working except that so far I have only been able to get one of my 1080p monitors working with a MiniDP to HDMI cable. I currently am getting a second MiniDP to HDMI cable but for now I am stuck with a DVI to HDMI cable.

      The monitor that is working is plugged in via the MiniDP to HDMI. The monitor that isn't working is using the DVI cable. However I also tried switching it to HDMI to HDMI which had the same result. The monitor wakes up but it's black. However for whatever reason, both monitors are still recognized in system preferences and hackintool.

      I know all my cables are good and work because I updated from an install of El Capitan (which I still have on it's original SSD just in case this install fails) as well as a Windows install. Both monitors worked fine on El Capitan for literally years. El Capitan is just too old now and I need to update to keep up with software updates.

      Problem reporting files should provide needed info about how I've configured this install. Build is in my signature.
      debug_22725.zip
    • By autantpourmoi
      I'm an happy user of a x99 built hackintosch since 6/7 years using it mainly for photoshop and fcpx ... Using new camera with better resolution and video in ProResRaw , my built start to struggle a bit 
      I'm thinking of making a new built and seeking for advices for this new built that I want evolutive and last at least as long as my previous built 
      I'll use a SSD M2 forth Generation so I need at least 2 to 3 SSD M2 PCI x4 slots
      then which proc to use , I was thinking about the AMD Ryzen 9 3900xt or the Intel I9 10900k ( don't have the money for AMD threadripper ) if you have better idea I'm really open to it as long as you explain it to me 
      then which chipset should I use:
      for Intel  , should I go to Z490 or X299 or W480
      For AMD , I think I have only the choice of X570
      I always used Gigabyte motherboard so it will be naturally my first choice but again I'm open to any suggestion
      I need at least usb 3,1 Gen 2 and TB3 is not necessary but an option and can be add later on with a PCI Card I think
      So I'll be pleased o read your opinion and the choices that you'll do for the purpose of this built 
      thanks in advance 
       
       
    • By asheenlevrai
      Hi
       
      I recently built my 1st ryzentosh.
      I also used Opencore (0.6.1) for the 1st time and followed the install guides on Dortania.
       
      Now I need to map my USB ports and apparently it's not achieved the same way on AMD platforms compared to what I was "used to" on Intel platforms.
       
      The guide on Dortania is a bit confusing to me since there is information that is not clearly labelled as "for Intel" or "for AMD" and I thus don't understand very well what I should and shouldn't do.
       
      Can anyone give me advice or point towards as comprehensive tutorial intended for AMD-based builds.
       
      Thank you very much in advance for your help.
       
      Best,
      -a-
×