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 Ade866
      Hi everyone, I have been optimizing my Asus x54h for some time. But now I find myself with sierra 10.12.6 installed with the problem of sleep, well: as soon as I put the PC to sleep the fans keep running, after a while they stop for a second and then start to turn again waking up the PC. What do you think the problem is? The notebook is equipped with: Amd 6470M CPU intel core i3 2330m. 4gb Ram DDR3 SDRAM. Clover legacy bootloader.
      config.plist
      SSDT.aml
      DSDT.aml
      Andrea’s iMac.zip
    • By fantomas1
      Hi InsanelyMacaholics   

      Use this thread to link / talk about of the future Nvidia Web Driver updates for macOS Sierra.
       
      10.12.6
      Nvidia Web Driver - 378.05.05.25f15 --> build 16G1918 (thanks to BreBo) New!
      Nvidia Web Driver - 378.05.05.25f14 --> build 16G1917 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f13 --> build 16G1815 (thanks to flowrider)
      Nvidia Web Driver - 378.05.05.25f12 --> build 16G1710 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f11 --> build 16G1618 (thanks to Frank Nitty)
      Nvidia Web Driver - 378.05.05.25f10 --> build 16G1510 (thanks to BreBo) 
      Nvidia Web Driver - 378.05.05.25f09 --> build 16G1408 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f08 --> build 16G1314 (thanks to BreBo)
      Nvidia Web Driver - 378.05.05.25f07 --> build 16G1314 (thanks to haring)
      Nvidia Web Driver - 378.05.05.25f06 --> build 16G1212 (thanks to WeBeRiO)
      Nvidia Web Driver - 378.05.05.25f04 --> build 16G1114 (thanks to lukazm)
      Nvidia Web Driver - 378.05.05.25f03 --> build 16G1036 (thanks to Gradou)
      Nvidia Web Driver - 378.05.05.25f01 --> build 16G29 (thanks to Badruzeus)
       
       
      10.12.5
      Nvidia Web Driver - 378.05.05.15f01 --> build 16F73 (see this post)
       
       
      10.12.4
      Nvidia Web Driver - 378.05.05.05f02 --> build 16E195(thanks to crachmaster4999)
      Nvidia Web Driver - 378.05.05.05f01 --> build 16E195 (thanks to Moviemakergr)  Pascal support!!!
      Nvidia Web Driver - 367.15.10.45f01 --> build 16E195 (thanks to Lanc)
       
       
      10.12.3

      Nvidia Web Driver - 367.15.10.35f01 --> build 16D32 (thanks to shatterhenner)
       
       
      10.12.2
      Nvidia Web Driver - 367.15.10.25f02 --> build 16C68 (see this post)
      Nvidia Web Driver - 367.15.10.25f01 --> build 16C67 (see this post)
      Nvidia Web Driver - 367.15.10.25b06 --> build 16C60b/16C63a (see this post)
       
       
      10.12.1
      Nvidia Web Driver - 367.15.10.15f03 --> build 16B2657/16B2659 (thanks to Moviemakergr).
      Nvidia Web Driver - 367.15.10.15f01 --> build 16B2555 (thanks to Moviemakergr)
       
       
      10.12.0
      Nvidia Web Driver - 367.15.10.05f01 --> build 16A323 (thanks to phi777)
       
       
      GM
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A323 (same driver since DP4/PB3)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A322 (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A320 (see this post)
       
       
      DP/PB
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A313a (DP8 & PB7) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A304a (DP7 & PB6) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A294a (DP6 & PB5) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A286a (DP5 & PB4) (see this post)
      Nvidia Web Driver - 367.10.10.05b01 --> build 16A270f (DP4 & PB3) (thanks to TheRacerMaster)
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A254g (DP3 & PB2) (see this post)
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A238m (PB1) (thanks to Faun) 
      Nvidia Web Driver - 367.05.10.05b07 --> build 16A239j (DP2) (thanks to Faun)
      Nvidia Web Driver - 367.05.10.05b03 --> build 16A201w (DP1) (thanks to Xmedik)
       
    • By mossy
      Hi i have old laptop and i wanted to install os x i looked online for some TUT's but i didnt understand some people say works some say no 
       
      i being trying all day boots me to install menu for sierra but i cant move the mouse or the keyboard so can some plz help me 
       
      ASUS K50IN Intel® Core™2 Duo Processor T6500 2.10 GHz
       
      NVIDIA® GeForce® G102M, with 512MB VRAM
       
       
    • By slapbass_
      NO AUDIO/SIN SONIDO/ NO HDMI_MOJAVE 10.14.4_AYUDA POR FAVOR
       
      Hola compañeros, buen dia, espero que esten bien en todo,
       
      necesito de su ayuda por favor,
      no lógro activar el sonido de mi laptop eh aqui las especificaciones:
      Dell Inspiron 14 5000 series (5458)
       
      - Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
      - Ram 4GB»
      - Intel HD Graphics 5500
      - Red PCI :
      Intel Dual Band Wireless-AC 3160 AC HMC WiFi Adapter
      Realtek RTL8139/810x Fast Ethernet Adapter
       
      - Audio
      Intel Broadwell HDMI @ Intel Broadwell - Mini HD Audio
       
      Realtek ALC255 @ Intel Wildcat Point-LP PCH High defi.....
       
      alguien de ustedes que pueda darme una mano para ACTIVAR y que funcione todo el sonido y hdmi de mi laptop, les estare infinitamente agradecido con ustedes...
      aqui les dejo mi EFI
      https://www4.zippyshare.com/v/eBhG3AEy/file.html
      saludos
      Dios les bendiga n.n
    • By slapbass_
      Hello colleagues, good morning, I hope they are good in everything,
       
      I need your help please,
      I do not logically activate the sound of my laptop here specifications:
      Dell Inspiron 14 5000 series (5458)
       
      - Intel (R) Core (TM) i5-5200U CPU @ 2.20GHz
      - Ram 4GB »
      - Intel HD Graphics 5500
      - PCI Network:
      Intel Dual Band Wireless-AC 3160 AC HMC WiFi Adapter
      Realtek RTL8139 / 810x Fast Ethernet Adapter
       
      - Audio
      Intel Broadwell HDMI @ Intel Broadwell - Mini HD Audio
       
      Realtek ALC255 @ Intel Wildcat Point-LP PCH High defi .....
       
      Someone of you who can give me a hand to ACTIVATE and let all the sound and hdmi of my laptop work, I will be infinitely grateful to you ...
      Here is my EFI
      https://www4.zippyshare.com/v/eBhG3AEy/file.html
      regards
      God bless you n.n
×