So in my original unpatched DSDT and SSDT tables the discrete graphics card is defined in an external SSDT at _SB.PCI0, under device PEG0 as Device PEGP as would be most systems. The GFX0 you may see in yours is most likely the integrated GPU. I would recommend using this SSDT for adding HDMI audio and renaming the graphics card from PEGP to GFX0 and you can add other device specific info to it. Credit goes to Toleda.macnb said:My h/w is as in my signatue (Z77X-UP5-TH, i7-3770K with Radeon RX580).
I now have a DSDT.aml (I did one last night) that works fine. Here's a snippet of the GFX0 device:
Code (Text):
Device (PEG0)
{
Name (_ADR, 0x00010000) // _ADR: Address
Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
{
If (PICM)
{
Return (AR02 ())
}
Return (PR02 ())
}
Device (GFX0)
{
Name (_ADR, 0x0) // _ADR: Address (was 0xFFFF)
}
}
So the actual discrete GPU device is within _SB.PCI0.PEG0 and is called GFX0. So I guess the scope _SB.PCI0.PEG0.GFX0 is correct ?
Actually, my SSDT is broken. I just tried turning OFF RadeonDeInit assuming my SSDT-RX580.aml will do the same job.
It does not work .... on boot I get the Apple logo, loading bar and half way through the screen freezes. the OS is up and running but no display output.
All this time, I thought everything was fine with my system (and hence SSDT)....and it was because RadeonDeInit was set to True which in effect was overriding my SSDT.
So in my original unpatched DSDT and SSDT tables the discrete graphics card is defined in an external SSDT at _SB.PCI0, under device PEG0 as Device PEGP as would be most systems. The GFX0 you may see in yours is most likely the integrated GPU. I would recommend using this SSDT for adding HDMI audio and renaming the graphics card from PEGP to GFX0 and you can add other device specific info to it. Credit goes to Toleda.
Nope not seen any freezes. I've tried both methods (ReadeonDeinit & SSDT) and both seem to work the same.RadeonDeinit + Inject ATI + config.plist properties for correct GPU name does work for me but it has this annoying slight freeze on login screen. With Lilu + WG, I don't have this issue.
Does anyone have this issue with RadeonDeinit?
Nope not seen any freezes. I've tried both methods (ReadeonDeinit & SSDT) and both seem to work the same.
What do you mean by freeze on the login screen ?
Do you mean that you see the login screen but cannot enter the password or, does it takes longer to see the login screen ?
If you do not already have a DSDT.aml in your EFI/Clover/ACPI/Patched folder then don't worry about it for now.
Yes set Inject ATI = true.
To change the name of your card see my post #1728 above (credit to @carpentryplus25). Just add that to your config.plist.
To add audio to your ports see my #1729 above. Again just add that to your config.plist. I believe that should enable audio on DP's.
BTW, I do not use clover configurator (bad experience from the past that corrupted my config.plist too many times). I prefer to use Xcode editor or plistedit pro as they are much more versatile when it comes to ASCII & Base64 string conversions. Hence you will see in the above posts XML edits which are easier to understand - for me anyway
Thanks - I'll give this a shot now and see. I'll try setting the correct Framebuffer as well from post #1.
I actually had a lot of free time today so I tried to make correct framebuffer patch for my GPU... After that i just set ATI inject (no AddProperties in devices section) and now it's showing the correct name finallyThat's a little surprising as Injecting ATI should not affect the RadeonDeInit. Maybe R9 is a little older the the RX series and Clover injection has a side effect.
As a test, disable the AddProperties devices section and then inject ATI just to rule out any Injection issue.
I actually had a lot of free time today so I tried to make correct framebuffer patch for my GPU... After that i just set ATI inject (no AddProperties in devices section) and now it's showing the correct name finally