Jump to content

Graphics Injection (ATI)


KonstantinosNks
 Share

3 posts in this topic

Recommended Posts

Hello there, im using ati 5770 card and works without an injection, however without injection system recognise the card as 5000 and boot resolution is a mess.

I tried to use clover ati injection and works like a harm but broke sleep/wake  (system wake but monitor stay in power saving mode).

 

Also i tried to inject my card via dsdt without success, after injection i can see 2 models on ioregistry on IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/NPE3@2/IOPP/GFX0@0/AMD5000Controller@0:

1) ATI 5000 series

2) ATI 5770 (injected from dsdt)

 

my injection code:

               Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x24)
                            {
                                "AAPL, slot-name", 
                                Buffer (0x07)
                                {
                                    "Slot-1"
                                }, 
                                "@ 0, compatible", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 0, name", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 0, deviceType", 
                                Buffer (0x07)
                                {
                                     0x64, 0x69, 0x73, 0x70, 0x6C, 0x61, 0x79
                                }, 
                                "@ 1, compatible", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 1, name", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 1, deviceType ", 
                                Buffer (0x07)
                                {
                                     0x64, 0x69, 0x73, 0x70, 0x6C, 0x61, 0x79
                                }, 
                                "@ 2, compatible", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 2, name", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 2, deviceType", 
                                Buffer (0x07)
                                {
                                     0x64, 0x69, 0x73, 0x70, 0x6C, 0x61, 0x79
                                }, 
                                "@ 3, compatible", 
                                Buffer (0x0E)
                                {
                                    " ATY, vervet "
                                }, 
                                "@ 3, name", 
                                Buffer (0x0C)
                                {
                                    "ATY, vervet"
                                }, 
                                "@ 3, deviceType", 
                                Buffer (0x07)
                                {
                                     0x64, 0x69, 0x73, 0x70, 0x6C, 0x61, 0x79
                                }, 
                                "ATY, Rom #", 
                                Buffer (0x0E)
                                {
                                    /* 0000 */   0x31, 0x31, 0x33, 0x2D, 0x43, 0x30, 0x31, 0x36,
                                    /* 0008 */   0x30, 0x43, 0x2D, 0x31, 0x35, 0x35
                                }, 
                                "ATY, EFIVersion", 
                                Buffer (0x0A)
                                {
                                    "01.00.436"
                                }, 
                                "VRAM, totalsize", 
                                Buffer (0x04)
                                {
                                     0x00, 0x00, 0x00, 0x40
                                }, 
                                "model", 
                                Buffer (0x1C)
                                {
                                    "ATI Radeon HD 5770"
                                }, 
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "Onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

I missed something?

Link to comment
Share on other sites

try to insert this code inside Device PCI0,under Method_S3D

For me work fine,also sleep and wakeup,Card is recognized as 5770:

            Device (PEGP)
            {
                Name (_ADR, 0x00010000)
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Name (_SUN, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0C)
                            {
                                "@0,name",
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                },
                                "@1,name",
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                },
                                "@2,name",
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                },
                                "@3,name",
                                Buffer (0x0D)
                                {
                                    "ATY,Vervet"
                                },
                                "model",
                                Buffer (0x13)
                                {
                                    "ATI Radeon HD 5770"
                                },
                                "hda-gfx",
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx",
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...