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 dasca.thea
      Hi everyone,

      I have run into a frustrating problem here.

      My hardware:
      MSI x399 Meg Creation
      2990WX
      64GB ram @2933Mhz
      Radeon 7
      Sata: Samsung 130GB SSD
      M.2: Samsung 970 Pro 1TB(latest firmware)

      Using OpenCore 0.5.6
      (NVMeFix NVMeDxe installed)
      I have successful installed OSX catalina onto my 130GB. It works flawlessly.

      and then I figure I should do it on my M.2 drive. It installs flawlessly, at the last stage of installation, it naturally restart and thats it.
      I can not boot into this newly installed OS on the M.2 drive. it keeps throwing: "error loading kernel cache 0x1"

      I have tried deleting the prelinkedkernel from recovery partition. Tried rebuilding cache(I have not installed any kext into L/E).

      All this time, I can use the same boot USB to boot into catalina on my sata 130Gb SSD working just fine.
       
      attached is my EFI folder. I have tried all the suggested SMBios iMacPro1,1 MacPro6,1 MacPro7,1
       
      is this ruled out that samsung 970Pro doesnt work?
      Please help. 
       
       
      EFI.zip
    • 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
×