Jump to content

Tracing back the AMD GPU wakeup issue to its origin

AMD GPU Sierra El Capitan sleep wakeup Radeon

  • Please log in to reply
209 replies to this topic

#21
carlo_67

carlo_67

    AMD

  • Moderators
  • 3,141 posts
  • Gender:Male
  • Location:Roma
  • Interests:Tutto

@pico joe end @cyberdevs

insert the FBuffer in Clover and limit the doors to 2, work in Hsierra

Attached Files



#22
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,461 posts
  • Gender:Male
  • Location:Moscow

@Mieze

It's fantastic work!

Confirm working with my Radeon 6450 in Sierra.

I just made this patch as SSDT

Attached File  SSDT-AMD.aml.zip   384bytes   149 downloads



#23
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,461 posts
  • Gender:Male
  • Location:Moscow

One more confirmation

 full uefi | csm-disabled, Gigabyte Radeon HD 7870 (GV-R787OC-2GD) (1002:6818)



#24
Mainul

Mainul

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

Confirmed working without Whatevergreen.kext on Sapphire Nitro+ RX 580 4GB, High Sierra (10.13). Used SSDT aml provided by slice in clover patched folder. With clover injection System information looks better (shows as RX 480). Without clover injection still works and shows as AMD R9 XXX. Might need some cosmetic DSDT patch to show correct information. Sleep works. I have:

 

1. CSM Disabled

2. IGPU enabled

3. Primary Display PEG

4. ig-platform-id for HD 630 as 0x59120003 for quicksync

5. Lilu.kext and IntelGraphicsFixup.kext for quicksync

 

Everything works fine including hardware decoding by HD 630. SMBIOS used iMac18,3



#25
pico joe

pico joe

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 306 posts
  • Gender:Male

I can confirm too its work without Whatevergreen.kext  in HD 7790 via DSDT @HackPro 6.1



#26
Mainul

Mainul

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

with the patch, on Sapphire nitro+ RX 580 I can get the machine to work on single monitor, however, dual monitor is still not working. dual monitor didn't work with whatevergreen.kext too. Dual monitor works on 10.12.6 but second monitor fails to get signal in 10.13. 

(both monitor connected to DP ports, where ports are DP,DP,HDMI,HDMI, DDVI, both monitor are 4k monitor). 

 

I know some of us have same or similar card and working dual monitor setup. It would be of great help if anyone can give me directions to get my setup working. 

 

Thanks.



#27
Mork vom Ork

Mork vom Ork

    InsanelyMac Sage

  • Donators
  • 332 posts
  • Gender:Male
  • Location:Berlin/Germany

I know some of us have same or similar card and working dual monitor setup. It would be of great help if anyone can give me directions to get my setup working. 

 

Thanks.

Which Framebuffer are you using? Which "AMD9xxxController.kext"  will be loaded for your card?

If you could give me this information, i could tell you, how to make multimonitor setup working or i could build a "dummy"-kext for you, which will enable multi-monitor setup



#28
Mainul

Mainul

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male

Which Framebuffer are you using? Which "AMD9xxxController.kext"  will be loaded for your card?

If you could give me this information, i could tell you, how to make multimonitor setup working or i could build a "dummy"-kext for you, which will enable multi-monitor setup

I was trying to use Orinoco. BUT, I found your suggestion in hackintosh-forum.de (used google translator) and actually made CFG_USE_AGDC to false. For testing, I used WhateverGreen and used SSDT to inject CFG,CFG_USE_AGDC, 0x00  and dual monitor worked. I saw your dummy kext but figured SSDT and WhateverGreen was quicker option for me. 

 

To answer your original question: the controller is AMD9500Controller.kext and access is AMDRadeonX4250 - Ellesmere. 

 

Thanks for your help. was really desperately looking for the solution and you finally guided me to it. 



#29
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,397 posts
  • Gender:Male

Well this is weird, was working now can't boot.

Have to take out my DSDT to be able to boot.

 

Edit.

Re-did DSDT now all good.

Think it was other edits I did the made it not work.

 

edit2. Using the ssdt as its cleaner.



#30
jsl

jsl

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 903 posts
  • Gender:Male

@Mieze

It's fantastic work!

Confirm working with my Radeon 6450 in Sierra.

I just made this patch as SSDT

attachicon.gifSSDT-AMD.aml.zip

Thanks for this trick with SSDT.aml which worked for AMD R9 290X at 10.13.1(17B46a) in which no need of WhateverGreen.kext, but it seems not working at 10.12.6 or lower version in which I still need WhateverGreen.kext in /EFI/CLOVER/kexts/Other or 10.12 respectively.

Is there anyone can confirm AMD Radeon HD 5770 or 6870 working by this method too ?

Or need rolling back with Sierra's related kexts ?



#31
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 6,461 posts
  • Gender:Male
  • Location:Moscow

Thanks for this trick with SSDT.aml which worked for AMD R9 290X at 10.13.1(17B46a) in which no need of WhateverGreen.kext, but it seems not working at 10.12.6 or lower version in which I still need WhateverGreen.kext in /EFI/CLOVER/kexts/Other or 10.12 respectively.

Is there anyone can confirm AMD Radeon HD 5770 or 6870 working by this method too ?

Or need rolling back with Sierra's related kexts ?

But vice versa.

This SSDT works for me in 10.12.6.

For HighSierra I need also to replace 4 kexts from 10.12.6 related to this card.

Don't know about radeon 5xxx. It should work without tricks. The method needed for 6xxx and later.


  • jsl likes this

#32
jsl

jsl

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 903 posts
  • Gender:Male

But vice versa.

This SSDT works for me in 10.12.6.

For HighSierra I need also to replace 4 kexts from 10.12.6 related to this card.

Don't know about radeon 5xxx. It should work without tricks. The method needed for 6xxx and later.

Thanks for your advice & help.

In 10.12.6 or lower my Z87/Z97 Intel hackintoshs can boot to desktop with both Intel HD 4600 & AMD Radeon HD 5770 at the same time.

In 10.13.1 I must disable Intel HD 4600 at BIOS, otherwise it can not boot to desktop with AMD Radeon HD 5770.

In Z97 Intel hackintosh no matter what display card enabled, always got blank screen on wake-up from sleep.

There is no such an issue in Z87 Intel hackintosh if Lilu + WhateverGreen are applied.

I'll test more with AMD Radeon 6870 & report later to confirm whether this SSDT.aml working or not at 10.12.6 & 10.13.1.



#33
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,220 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

Thanks for your advice & help.

In 10.12.6 or lower my Z87/Z97 Intel hackintoshs can boot to desktop with both Intel HD 4600 & AMD Radeon HD 5770 at the same time.

In 10.13.1 I must disable Intel HD 4600 at BIOS, otherwise it can not boot to desktop with AMD Radeon HD 5770.

In Z97 Intel hackintosh no matter what display card enabled, always got blank screen on wake-up from sleep.

There is no such an issue in Z87 Intel hackintosh if Lilu + WhateverGreen are applied.

I'll test more with AMD Radeon 6870 & report later to confirm whether this SSDT.aml working or not at 10.12.6 & 10.13.1.

There is a 95% probability that you have a broken framebuffer configuration (hotplug not working, etc.) and/or wrong BIOS settings.

 

Mieze


  • jsl likes this

#34
jsl

jsl

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 903 posts
  • Gender:Male

There is a 95% probability that you have a broken framebuffer configuration (hotplug not working, etc.) and/or wrong BIOS settings.

 

Mieze

Thanks for your reminding and what should I fix for this issue ?

CLOVER's config.plist or Power management in BIOS ?



#35
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,220 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@jsl: You probably need to inject a framebuffer personality matching your graphics card. Please read the topics about AMD framebuffer edits here on IM. Keep in mind that some framebuffer personalities also select special configuration options.

 

Although I haven't tested this utility thoroughly, it might be worth to give it a try in case you have problems creating a framebuffer patch: https://github.com/J...ebuffer-utility

 

Good luck!

 

Mieze



#36
carlo_67

carlo_67

    AMD

  • Moderators
  • 3,141 posts
  • Gender:Male
  • Location:Roma
  • Interests:Tutto

@:Mieze   I tried your patch, with two rx 270x in CrossFirex, but always black screen

I tried injecting
FB Futomaki and Curacao.rom
FB Hamachi and Pitcairn.rom,
both in Sierra and High Sierra
Maybe I'm wrong in compiling the Dsdt, but I think the problem is always the connectors

 

my AMD 8350 processor, it has no igpu, I could only, CSM Enable and Legacy GPU
 

 

 

sssmy AMD 8350 processor, it has no igpu, I could only, CSM Enable and Legacy GPU

 
my AMD 8350 processor, it has no igpu, I could only, CSM Enable and Legacy GPU
 


#37
Mieze

Mieze

    Giant Cat

  • Developers
  • 1,220 posts
  • Gender:Female
  • Location:Germany
  • Interests:Cats

@carlo_76: correct! If the framebuffer personality doesn't match your card, you'll end up with a black screen because the display isn't recognized. Also keep in mind that Futomaki might not enable all of your display connecters. In my case only the DP and one of the DVI connectors work but that's more than enough for me.

 

Mieze


  • nms likes this

#38
Si Vis Pacem

Si Vis Pacem

    InsanelyMac Protégé

  • Members
  • PipPip
  • 65 posts
Try adding the connectors all as hdmi in your dsdt.

Even dp screens are usable that way.

Works for my R9 390 for which I had to eecode the connectors following VLADs guide before Whatevergreen and now PoweredByMieze.

Thank you so much! And „PoweredByMieze“ seriously needs a logo :D

#39
ic005k

ic005k

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

@Mieze

 

Thanks a lot for this great solution.

 

Does this method work on Legacy BIOS as well or it only applies to UEFI? 

 

I have an old GA-EP45-DS3R and a Sapphire 7790 GPU which was working with WheteverGreen and Lilu, but ever since macOS High Sierra it's not working anymore. I get the black screen.

 

Thanks again

Looks like no, I tried the G41 motherboard (775 platform) above the HD6450, wake up still black, OSX10.13.
Although the patch code can initialize the graphics card, but still can not solve the problem of wake up the black screen.

 

So, for the old motherboard, I may also need to continue to find a solution.


#40
cyberdevs

cyberdevs

    InsanelyMacaholic

  • Donators
  • 2,517 posts
  • Gender:Male

Looks like no, I tried the G41 motherboard (775 platform) above the HD6450, wake up still black, OSX10.13.
Although the patch code can initialize the graphics card, but still can not solve the problem of wake up the black screen.

So, for the old motherboard, I may also need to continue to find a solution.


I hope we can find a solution for older pc rigs. I didn’t have the time to play around with new ideas.


Sent from my iPhone using Tapatalk






5 user(s) are reading this topic

3 members, 2 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy