Contribute
Register

[Guide] Enabling ATI Radeon HD 5450

Status
Not open for further replies.
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: 89
  • IOReg.zip
    345.6 KB · Views: 82
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"
                    }
                })
            }
        }
    }
}
 
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
 
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.
 
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"
                    }
                })
            }
        }
    }
}
 
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.
 
Ok, I guess it's easier to do it in config.plist.
Can you tell me, where to configure these changes?
 
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
 
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
OK, I've removed DSDT (renamed in place to DSDT.removed... it's the same?), and I've added "change _DSM to XDSM" to config.plist. Now System Information shows the device ID as 0x68f9, the same I get in Windows. I created a SSDT file with the code you posted few days ago, and placed it in ...EFI/CLOVER/ACPI/patched/, named as ssdt-0.aml to not overwrite existing ssdt.aml. But graphics crashed again. I attach IOReg and the latest Console Kernel log.
 

Attachments

  • Optiplex 3010 OSX.zip
    538.8 KB · Views: 75
  • Kernel.gpurestart.zip
    31.9 KB · Views: 79
OK, I've removed DSDT (renamed in place to DSDT.removed... it's the same?), and I've added "change _DSM to XDSM" to config.plist. Now System Information shows the device ID as 0x68f9, the same I get in Windows. I created a SSDT file with the code you posted few days ago, and placed it in ...EFI/CLOVER/ACPI/patched/, named as ssdt-0.aml to not overwrite existing ssdt.aml. But graphics crashed again. I attach IOReg and the latest Console Kernel log.

Attach Clover Folder removing Themes ZIP attach.
 
Status
Not open for further replies.
Back
Top