Jump to content
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

You got the black screen or the naming wasn't right?

black screen 

F0VN0Fy.pnggreat work 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Poirot
      I have a Vanilla Catalina issue….with a different twist.  Installation/upgrade went fine, just took a loooooooong time as I was working from a cloned Mojave external USB hard drive.  Boots just fine, and all my apps seem happy.  Here lies the twist....Sleep/wake.  It will sleep and stay asleep just fine.  The issue is with waking up:

      Under Clover with FakeSMC, it would wake, but not accept my password. ??????  Ok, its clover....
      Under Clover 0.5.5 with VitrualSMC, it would wake, but with no video signal/crash.  Again, its clover...
      Under OpenCore 0.5.5 with VirtualSMC, it would wake, but with no video signal/crash, and no crash log.
      Under OpenCore 0.5.5 with FakeSMC, it sleeps, it wakes,....and accepts my password!!!!   Only once.  The next time it went to sleep, it would wake, but not accept my password.  HUH??????
       
      Kinda strange.  For the most part I have just stuck with Mojave.  I was waiting for the next build of OC, but I may just use OC builder myself and see if the latest solves any issue, as I see there have been quite a few updates to the project.  In the mean time…..suggestions?  I have attached an image of the efi.
       
      Specs:
      Gigabyte Z390 Aorus Xtreme
      Intel 9900K, stuck @ 4.9Ghz
      Sapphire RX590 Nitro+
      Corsair AX1200i
      32GB Corsair Dominator Ram
      Lian Li 011 Dynamic XL
       
      Poirot

    • By Prasanth_1991
      I recently installed Hackintosh Sierra. I don't have dedicated graphics card so I just used Intel integrated graphics which is Intel HD 4600 but since the Mac OS Sierra graphics acceleration not supported by native VGA output I'm left out options. I tired many things but nothing works. It's 2020 I'm pretty sure many people probably have better solution for this, if yes please help me.   Details PC Spec  i7 4790k HD 4600 Motherboard Gigabyte B85M-D3H-A
    • By kevpatts
      Hey all,
       
      This is the opposite of a lot of other peoples problems!
       
      For me USB ports (ASRock Z390 Phantom mITX) work for USB devices all the time. USB3 devices don't work when I boot until AFTER I sleep and then wake again; then everything works fine.
       
      Any idea how to get them working straight after boot/login?
       
      Kev
    • By D3s0lat0r
      Greetings to the Forum,
      i recently followed a guide on hackintosh,and also i am complete noob in this field.
      all is working great, as i am using macpeets codec with layout id=18 cause i like to manually switch to my headphones.
      only one thing doesnt work and its my mic. I tried all the layout ids but no luck.
      i am using ASROCK Fatal1ty b450 k4 with amd r5 2600.
      wich has alc 892.
      Can you please help me? Thank you very much
    • By John Wilde
      Salve, chiedo aiuto con il mio primo hackintosh!
      E’ stata ardua ma son riuscito grazie a varie guide a sistemare piano piano il tutto. 
      Purtroppo l’unica cosa che ancora non sono riuscito a sistemare è lo sleep. 
      Se premo Stop, nel laptop si oscura soltanto lo schermo, e appena premo un tasto o muovo il mouse, compare il logo del caricamento e subito dopo il desktop.
      Ho letto che va patchato il DSDT, non ne sono sicuro, ma per lo sleep non so proprio come fare. L’unica patch che ho fatto al DSDT è stato per l’audio.
      Inoltre, un altra cosa che non vanno sono i tasti per la luminosità. La luminosità riesco a impostarla dalle impostazioni, quindi andrebbero solo rimappati i tasti..
      Per il resto va tutto, la scheda video nvidia mi pare di aver letto che non è compatibile, ma mi basta la intel. La scheda di rete che monto è un AR9565 (lo so che non è delle migliori, ma funziona bene al momento, magari la cambierò in seguito). La configurazione credo sia un pò sporca, probabilmente molte opzioni sono del tutto inutili, ma ripeto è il mio primo hackintosh..
      Se qualche anima pia mi vuole aiutare a sistemarla un pò ben venga, tuttavia ciò che mi interessa principalmente è lo sleep..

      Allego Cartella Clover, IoReg e cartella Origin.
      All’interno della cartella Patched ci sta gia un dsdt modificato per l’audio, a cui ho aggiunto solo l’IRQ fix, ma non ricordo se ho aggiunto altre cose nel tentativo vano di sistemare lo sleep, quindi prendete il tutto con le pinze.
      Grazie mille in anticipo a chiunque provi ad aiutarmi!
      CLOVER.zip
      origin.zip
      John’s iMac.ioreg.zip
×