Contribute
Register

[Guide] Enabling ATI Radeon HD 5450

Joined
Apr 17, 2011
Messages
14
Motherboard
Dell 990 Q67 Motherboard
CPU
i5 2400
Graphics
HD 5450
Hello, maybe you can help me then. I have installed 10.12.5 with UniBeast, and installed Clover. When I don't boot from drive, it takes a while 2 min even with SSD and eventually ends up with black screen. I have a Visiontek 5450 1GB. I have attached your requested debug files, but let me know if *.aml files are OK, since I had to extract them in Linux since my Clover is installed on HFS+ partition. Thanks.
 

Attachments

  • DEBUG.zip
    2 MB · Views: 82
Joined
Dec 12, 2016
Messages
19
Motherboard
Dell OptiPlex 3010
CPU
Core i5-3470@3.2GHz
Graphics
ASUS GeForce GT 730
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. Android
While I'm not a computer newbie at all, I'm new to hackintosh, so I'll be glad for a little more help.
Remove DSDT from EFI/Clover/ACPI/patched and use a SSDT i don't use DSDTs nowadays.
OK that's pretty simple.
Graphics is coming under GFX0 which is correct.
Where is it coming? In DSDT.aml I should remove? Didn't find any GFX in .../EFI/CLOVER/ACPI/patched/ssdt.aml or .../EFI/CLOVER/config.plist
In entry .../EFI folder, I found GFX reference only in three files: DSDT.aml, DSDT-or.aml and DSDT-pa0.aml, but maybe, I'm looking in the wrong place.
You'll need to add change _DSM to XDSM to config under ACPI, DSDT, Patches.
Do you mean in .../EFI/CLOVER/config.plist? I can't see any "Patches" key, should I add it under ACPI, DSDT? Can I edit it with TextWrangler or Xcode?
Create a SSDT with the follow,
Hmmm, why create? Should this replace: .../EFI/CLOVER/ACPI/patched/ssdt.aml? Seems a little strange, because the text in the existing file is completely different, without any GFX0 reference... so, where should I place the new SSDT (.aml?)?
 
Last edited:
Joined
Jul 14, 2016
Messages
6
CPU
Intel Core i5 3470
Graphics
XFX ATI Radeon HD5450
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Need problem reporting files.

IOReg and CLOVER.zip attached. Do you need any additional files?
At the moment, I need "FixDisplay" for successful boot.

Thx,
Alex
 

Attachments

  • CLOVER.zip
    1.5 MB · Views: 71
  • IOReg.zip
    345.6 KB · Views: 61
Joined
Jun 9, 2013
Messages
10,736
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
IOReg and CLOVER.zip attached. Do you need any additional files?
At the moment, I need "FixDisplay" for successful boot.

Thx,
Alex

Rename PEGP to GFX0. Create a SSDT with ATY edits. Make sure to add,

Code:
change _DSM to XDSM
<5f44534d>
<5844534d>

Code:
change PEGP to GFX0
<50454750>
<47465830>

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDA", 0x00000000)
{
    External (_SB_.PCI0.PEG0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.PEG0.GFX0, DeviceObj)    // (from opcode)
    External (GFX0, DeviceObj)    // Warning: Unknown object

    Scope (_SB.PCI0.PEG0)
    {
        Scope (GFX0)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                        
                    })
                }

                Return (Package (0x0E)
                {
                    "device-id",
                    Buffer (0x04)
                    {
                         0xE0, 0x68, 0x00, 0x00                      
                    },

                    "ATY,DeviceID",
                    Buffer (0x04)
                    {
                         0xE0, 0x68, 0x00, 0x00                      
                    },

                    "vendor-id",
                    Buffer (0x04)
                    {
                         0x02, 0x10, 0x00, 0x00                      
                    },

                    "ATY,VendorID",
                    Buffer (0x04)
                    {
                         0x02, 0x10, 0x00, 0x00                      
                    },

                    "AAPL,slot-name",
                    Buffer (0x07)
                    {
                         "Slot-1"                      
                    },

                    "@0,AAPL,boot-display",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                      
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }

        Device (HDAU)
        {
            Name (_ADR, One)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                        
                    })
                }

                Return (Package (0x02)
                {
                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }
    }
}
 
Joined
Jun 9, 2013
Messages
10,736
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
While I'm not a computer newbie at all, I'm new to hackintosh, so I'll be glad for a little more help.

OK that's pretty simple.

Where is it coming? In DSDT.aml I should remove? Didn't find any GFX in .../EFI/CLOVER/ACPI/patched/ssdt.aml or .../EFI/CLOVER/config.plist
In entry .../EFI folder, I found GFX reference only in three files: DSDT.aml, DSDT-or.aml and DSDT-pa0.aml, but maybe, I'm looking in the wrong place.

Do you mean in .../EFI/CLOVER/config.plist? I can't see any "Patches" key, should I add it under ACPI, DSDT? Can I edit it with TextWrangler or Xcode?

Hmmm, why create? Should this replace: .../EFI/CLOVER/ACPI/patched/ssdt.aml? Seems a little strange, because the text in the existing file is completely different, without any GFX0 reference... so, where should I place the new SSDT (.aml?)?

Remove DSDT.aml i no longer support DSDTs they're out of date most of the patching is done with a set of SSDTs and Clover's ACPI Patches. Reboot after removing DSDT it is not patched at all re-attach ioreg. [Guide] How to Make a Copy of IOReg | tonymacx86.com
 
Joined
Jun 9, 2013
Messages
10,736
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Hello, maybe you can help me then. I have installed 10.12.5 with UniBeast, and installed Clover. When I don't boot from drive, it takes a while 2 min even with SSD and eventually ends up with black screen. I have a Visiontek 5450 1GB. I have attached your requested debug files, but let me know if *.aml files are OK, since I had to extract them in Linux since my Clover is installed on HFS+ partition. Thanks.

Did not follow the guide correctly. Using incorrect Frame buffer and no FakeID in config.plist.
 
Joined
Jul 14, 2016
Messages
6
CPU
Intel Core i5 3470
Graphics
XFX ATI Radeon HD5450
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Hi,

so PEGP has to be renamed in DSDT.aml in patched directory, right?
And same for _DSM to XDSM (in DSDT.aml)?
Create SSDT from a blank file and just add these lines or copy SSDT to patched dir too?

Rename PEGP to GFX0. Create a SSDT with ATY edits. Make sure to add,

Code:
change _DSM to XDSM
<5f44534d>
<5844534d>

Code:
change PEGP to GFX0
<50454750>
<47465830>

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDA", 0x00000000)
{
    External (_SB_.PCI0.PEG0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.PEG0.GFX0, DeviceObj)    // (from opcode)
    External (GFX0, DeviceObj)    // Warning: Unknown object

    Scope (_SB.PCI0.PEG0)
    {
        Scope (GFX0)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                       
                    })
                }

                Return (Package (0x0E)
                {
                    "device-id",
                    Buffer (0x04)
                    {
                         0xE0, 0x68, 0x00, 0x00                     
                    },

                    "ATY,DeviceID",
                    Buffer (0x04)
                    {
                         0xE0, 0x68, 0x00, 0x00                     
                    },

                    "vendor-id",
                    Buffer (0x04)
                    {
                         0x02, 0x10, 0x00, 0x00                     
                    },

                    "ATY,VendorID",
                    Buffer (0x04)
                    {
                         0x02, 0x10, 0x00, 0x00                     
                    },

                    "AAPL,slot-name",
                    Buffer (0x07)
                    {
                         "Slot-1"                     
                    },

                    "@0,AAPL,boot-display",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                     
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }

        Device (HDAU)
        {
            Name (_ADR, One)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                       
                    })
                }

                Return (Package (0x02)
                {
                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }
    }
}
 
Joined
Jun 9, 2013
Messages
10,736
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Hi,

so PEGP has to be renamed in DSDT.aml in patched directory, right?
And same for _DSM to XDSM (in DSDT.aml)?
Create SSDT from a blank file and just add these lines or copy SSDT to patched dir too?

Correct but can also be done by Clovers config.plist.
 
Joined
Jul 14, 2016
Messages
6
CPU
Intel Core i5 3470
Graphics
XFX ATI Radeon HD5450
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Ok, I guess it's easier to do it in config.plist.
Can you tell me, where to configure these changes?
 
Joined
Jun 9, 2013
Messages
10,736
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Ok, I guess it's easier to do it in config.plist.
Can you tell me, where to configure these changes?

ACPI, DSDT, Patches in config.plist. Use Xcode to edit the config not Clover Configurator.

Screen Shot 2017-06-23 at 17.26.06.png
 
Top