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

Advertisement

Not working Amd 390X Asus Strix, tried al combination possible in Bios and Ati Inject Yes and No. 

 

- Connectors problem?

- If someone wants to cooperate and need a compiled Darwin or sth like that just tell me and I will add the file.

 

Did you decode your gpu bios as per VLADs guide and check if your connectors are the same as the one in the Baldi frame buffer? Or just use AtiFramebufferUtility.

 

edit:

corrected an autocorrect change

Share this post


Link to post
Share on other sites

Just out of curiosity can you tell me the device ID for your GPU? Is it 67B0? right?

yup all the info was in the bios I gave you and the 290x has only one device Id

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

Nice to see this issue finally being fully understood and solved! I've assumed that pre-OS initialization of the GPU was the culprit for quite a long time, but I never was able to prove/fix it (as documented in the other thread).

 

Great work Mieze!  :)

Share this post


Link to post
Share on other sites

yup all the info was in the bios I gave you and the 290x has only one device Id

 

 

Sent from my iPhone using Tapatalk

When I tried to open the BIOS there was an error. So I couldn't say for sure, and I know that there's only one device ID for R9 290X but if it has a custom VBIOS or if it is a custom designed GPU things might change.

 

Anyways your problem is solved and that's what matters.

post-1011040-0-34763500-1510483118_thumb.png

Share this post


Link to post
Share on other sites

Added all the SSDTs in this thread to the repo https://ddi.hopto.org/gogs-server/henry.brock/AMD_SSDT

Thanks Pavo, it's nice to have a SSDT repo for all the AMD GPUs.

 

I created this one for @xtddd's RX 580 which he confirmed that it was working. I'll send you another one later for Sapphire Radeon HD 7790.

RX580 SSDT.zip

Share this post


Link to post
Share on other sites

Thanks Pavo, it's nice to have a SSDT repo for all the AMD GPUs.

 

I created this one for @xtddd's RX 580 which he confirmed that it was working. I'll send you another one later for Sapphire Radeon HD 7790.

Uploaded, everyone is more than welcome to add to the repo themselves, just make a account

Share this post


Link to post
Share on other sites

Here it's XFX Radeon RX 580 8GB on Asus Z270 Prime A board, CSM disabled and PEG0 as Primary display in BIOS.

 

I used the SSDT from Slice on post #22, but still 1thing is not working: multi-monitor... I added the property from Orinoco fb as cyberdevs' post #161 and also HDAU section for the digital audio. But both are still not working ... 

Share this post


Link to post
Share on other sites

Here it's XFX Radeon RX 580 8GB on Asus Z270 Prime A board, CSM disabled and PEG0 as Primary display in BIOS.

 

I used the SSDT from Slice on post #22, but still 1thing is not working: multi-monitor... I added the property from Orinoco fb as cyberdevs' post #161 and also HDAU section for the digital audio. But both are still not working ... 

You will need to do normal kext patching for multi monitor patching

Share this post


Link to post
Share on other sites

You will need to do normal kext patching for multi monitor patching

 

what do you mean? can you elaborate more? Thank!

Share this post


Link to post
Share on other sites

 

I know that 3D very well ... and I wrote there many times ... not the solution I want ... Mieze's SSDT gave us an elegant solution to solve AMD boot problems, I don't want to patch 580's kexts anymore - as we all did till 6 months ago, before whatevergreen - because those kexts won't survive any update. I'd like to change ATI connectors and/or AMD FB directly in SSDT without the need of patching kexts.

Share this post


Link to post
Share on other sites

I know that 3D very well ... and I wrote there many times ... not the solution I want ... Mieze's SSDT gave us an elegant solution to solve AMD boot problems, I don't want to patch 580's kexts anymore - as we all did till 6 months ago, before whatevergreen - because those kexts won't survive any update. I'd like to change ATI connectors and/or AMD FB directly in SSDT without the need of patching kexts.

Sorry, but this isn't possible because the framebuffer data is located inside the kext. By the way, Whatevergreen.kext also patches the framebuffer.

 

In order to be able to inject custom framebuffers via DSDT Apple would have to add this ability to the framebuffer controllers but I don't think that this will happen because they have no need for this feature.

 

Mieze

Share this post


Link to post
Share on other sites

Sorry, but this isn't possible because the framebuffer data is located inside the kext. By the way, Whatevergreen.kext also patches the framebuffer.

 

In order to be able to inject custom framebuffers via DSDT Apple would have to add this ability to the framebuffer controllers but I don't think that this will happen because they have no need for this feature.

 

Mieze

hi ,great work you have done . i patched AMD9500Controller.kext to display correct amd card model but failed...now i use the parameter slice added into clover4296.

Share this post


Link to post
Share on other sites

@slice @mieze guide me...


Ive found 2 thing:

1.When ATIInject=Yes in clover i get Panic n it sys reboots
2.Every Version of OS X(or its AMD6000COntroller.kext) have diff versions/values/data of Framebuffers
 
AMD Radeon HD 7650M in not working on 10.13.1, can someone guide me !  

Share this post


Link to post
Share on other sites

@slice @mieze guide me...

Ive found 2 thing:

1.When ATIInject=Yes in clover i get Panic n it sys reboots

2.Every Version of OS X(or its AMD6000COntroller.kext) have diff versions/values/data of Framebuffers

 

AMD Radeon HD 7650M in not working on 10.13.1, can someone guide me !

 

Try clover boot manager set ATI fake ID 0x68401002.

Share this post


Link to post
Share on other sites

@all

 

Even if @Mieze didn't complain yet, I suggest you to keep this (precious) topic as clean as possible, thanks!!!

 

If you have any question about Clover 'RadeonDeInit' flag, then please post in Clover topic.

 

Cordially

Share this post


Link to post
Share on other sites

Sorry, but this isn't possible because the framebuffer data is located inside the kext. By the way, Whatevergreen.kext also patches the framebuffer.

 

In order to be able to inject custom framebuffers via DSDT Apple would have to add this ability to the framebuffer controllers but I don't think that this will happen because they have no need for this feature.

 

Mieze

This is not correct.

Firstly, it is possible, by updating the video bios and loading it via SSDT ATY,bin_image property, for example.

The algorithm Apple uses to generate connectors from ATOM VBIOS was properly reverse-engineered and even opensourced by me some time ago:

https://github.com/vit9696/WhateverGreen/blob/master/Manual/reference.cpp

 

Secondly, WhateverGreen does not patch any framebuffers, which is conceptually insane and may lead to other initialisation issues most of you cannot even imagine, but intercepts the autodetection algorithm and in fact only does very minor things like prioritisation or dvi lane downgrade if requested.

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-
×