Jump to content

[Guide] [Mavericks & Yosemite] AMD Radeon HD5450

ATI AMD Radeon HD5450 5450 Mavericks 10.9 Yosemite 10.10

  • Please log in to reply
175 replies to this topic

#61
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Introduction:

After seeing a lot of people having trouble getting the Radeon HD5450 working with Mavericks, I decided to make a guide.

The card works perfectly without any graphics enabler as long as the proper device ids are in place.

Guides made for Mountain Lion are obsolete because Apple changed the kext names.

 

--- The are two ways to get the HD5450 to work properly in Mavericks:

1- Injecting a compatible fake-id (in this case, 68E01002) via DSDT. This has the advantage of using Apple's stock kexts and thus no need to re-patch kexts with every system update. 

2- Adding your specific device-id to the appropriate kexts. This is probably easier, but you'll have to redo it everytime you update the system.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

1- Inject a compatible fake-id via DSDT. (Recommended if you have the skills)

All you need is to add the following code in the appropriate location in your DSDT (usually under PEG0 or PEGP).

PS. With this method you *must* use the original unmodified kexts.

Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0C)
                            {
                                "device-id", 
                                Buffer (0x04)
                                {
                                    0xE0, 0x68, 0x00, 0x00
                                }, 


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


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


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


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


                                "@0,AAPL,boot-display", 
                                Buffer (Zero) {}
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
 

2- Add the device id of your GPU to the appropriate kexts.

Add your device-id to the cedar section of the AMDRadeonX3000.kext and anywhere in the AMD5000Controller.kext

- Go to /System/Library/Extensions/ 
- Copy AMDRadeonX3000.kext and AMD5000Controller.kext to your desktop

- Right click on the AMD5000Controller.kext and click show contents.
- Open the info.plist (using TextEdit or any plist editor)
- Find the IOPCIMatch key and you'll see many device-ids
- Change any of those device-ids with yours (eg. 68981002 -> 68F91002)
- Save (make sure you don't change file extension)

- Right click on the AMDRadeonX3000.kext and click show contents.
- Open info.plist
- Find the AMDCedarGraphicsAccelerator
- Under IOPCIMatch, change 68E01002 to 68F91002
- Save

Use Kext Wizard to reinstall the modified kexts.

 

===============================================================================================================

 

Further Considerations:

1- Power Management

a- I use MacPro3,1 smbios to avoid loading AGPM and my temperature and performance are very acceptable.

b- You can experiment with different smbios (mainly iMac11,2 and 11,1) which will load AGPM.

 

2-  Framebuffers:

a- You can either use the Eulemur or the Generic framebuffer. My tests show no performance difference.

b- Eulemur breaks sleep with DVI and HDMI monitors. VGA works fine though!

c- Clover and Chameleon will automatically set framebuffer to Eulemur so I strongly recommend you disable the graphics injector features. 

 

3-  VESA modes (aka. boot resolution)

a- Chameleon's resolution module can patch the vbios and give you full resolution during boot.

b- Clover's built-in vbios patcher works perfectly too. 

c- VGA does not work in either case. The bootloader fails to read the EDID to obtain the optimal resolution.

 

4- Clover:

a- Clover's graphics injector has the ability to inject a fake id

b- As stated before, the injector automatically set framebuffer to Eulemur and thus breaks sleep. 

 

Hello Dr. Hurt or anyone who can help me,

 

Have been trying to add the id of my HD5450 to my kexts, and am also having problems with editing the dsdt file and adding the fake id, have relised the dsdt approach would be better as i wouldn't have to change every time an update was needed, would be very grateful if you could look at the dsdt file for me.

 

 

I think my id is 0x68e11002

(Device ID= 0x68e1, Vendor= ATI (0x1002), Revision ID=0x0000)

 

Thank you,

edmogeor

Attached Files



#62
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,507 posts
  • Gender:Male
  • Location:Cairo, Egypt and NYC, USA
  • Interests:Wandering around on the internet!! Politics, Sci/Tech, Medicine.

@edmogeor

Attached Files



#63
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

 


 

Hello Dr Hurt,

 

Thank you very much for the quick reply. The graphics card is working perfectly with the dsdt you provided, however my ALC889 audio isn't. There is no sound on my machine, was wondering if this was anything to do with the dsdt as i could get it working with kexts from ##### before. I will reattach the edited DSDT file and the original, incase it is needed, i will also attach the ioreg file.

 

Would be very grateful if you could take a look at it,

 

Many thanks,

edmogeor



#64
morpheousman

morpheousman

    InsanelyMac Protégé

  • Members
  • PipPip
  • 91 posts

I have a fully working installation of Mavericks in an Optiplex 780, including sleep and wake.  I just installed an XFX HD 5450 1GB video/graphics card ( 0X68F91002 ) and got it fully working with acceleration by modding two kext files but I want to edit the DSDT to enable it without hacked kexts so OS updates won't affect it.  

 

I've looked around the net, including here and elsewhere, and found instructions but none appear to relate well to the DSDT code for the Optiplex 780, or the 760 which is very similar, for me to understand well enough to do it with any confidence that what I do will work.  

 

Would someone here please help me with the editing or edit the DSDT for me?  

 

Attached are zipped files containing the DSDT and the IODeviceTree and IOService files generated by IORegistryExplorer.

 

Thanks.

I basically have the same setup, but with an Optiplex 760. Using same DSDT, and a Radeon Saphire 1GB Video Card.

My eyes have gotten blurry many times trying to learn to do these edits.

 

Please help.



#65
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

 

Sorry i forgot to attach the files.

 

Cheers,

edmogeor

Attached Files



#66
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

@edmogeor


Any thoughts?

Btw thank you for taking the time to help I am sure you are very busy,

Edmogeor

#67
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,507 posts
  • Gender:Male
  • Location:Cairo, Egypt and NYC, USA
  • Interests:Wandering around on the internet!! Politics, Sci/Tech, Medicine.

Any thoughts?

Btw thank you for taking the time to help I am sure you are very busy,

Edmogeor

 

Did you try the patched DSDT I uploaded?



#68
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Did you try the patched DSDT I uploaded?


I have tried the patched east, it worked perfectly on the graphics, however for some reason my ALC889 audio has stopped working, is this something that is related to the DSDT patch, as I believe the audio is built into the motherboard.

Will any lines need to be added to the .plist file in the extra folder?

cheers
In an above post I have also supplied the ioreg file, incase this was needed to fix the problem

#69
Dr. Hurt

Dr. Hurt

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,507 posts
  • Gender:Male
  • Location:Cairo, Egypt and NYC, USA
  • Interests:Wandering around on the internet!! Politics, Sci/Tech, Medicine.

I haven't touched the HDEF code of your DSDT so I don't think they are related. Does using your old unpatched DSDT restore your sound?

 

In any case, may I suggest using voodoohda? Its more reliable than AppleHDA.



#70
edmogeor

edmogeor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Managed to patch the HDEF section of the DSDT, and got the sound working :), used a patched AppleHDA.kext and got sound back,

 

Thanks for patching the DSDT, graphics now work like a charm aha

 

edmogeor



#71
ejblom

ejblom

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Do people experience problems with a missing AMDRadeonAccelerator.kext under 10.9.2 ? I currently have difficulties getting ATI 5450 to work under 10.9.2: http://www.insanelym...cceleratorkext/



#72
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Location:mexico

hi again dr hurt, im still trying to get audio in ati 5450, hdmi or headphones outputs, nothing works, i try applehda, all voodoo kexts , and i cant activate audio, im desperate cause in previous hackintosh 10.8.2 everything was fine, but now i updated to mavericks 10.9.2,and only the audio its driving me crazy, in the past i already send u my dsdt, but you ask me to send the ioregistry to get more info about my motherboard settings, so here its my ioreg, please if u can helpme, ill be waiting , thanks doc.

oh btw if i installs vodoo 2.7.2 and unplug hdmi cable the audio returns, if i plug again the audio is disable again, very strange behavior , if i plug by vga cable everything works fine , audio and video. thanks by ur time doc

Attached File  dsdt.dsl.zip   12.48KB   14 downloads

Attached Files



#73
vcrman

vcrman

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Hi all! Been trying to add the code to my existing .aml but every time I try to compile I get a non-ascii error...
 
Any help letting me know where I messed up would be very helpful and appreciated! (been a very long time since I've compiled a DSDT and I forgot almost everything!)

Attached Files



#74
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Location:mexico

Attached File  Mac Pro de key.zip   333.69KB   2 downloadsTry this, and if it doesn't work, upload your ioreg.

hi again dr hurt, im still trying to get audio in ati 5450, hdmi or headphones outputs, nothing works, i try applehda, all voodoo kexts , and i cant activate audio, im desperate cause in previous hackintosh 10.8.2 everything was fine, but now i updated to mavericks 10.9.2,and only the audio its driving me crazy, in the past i already send u my dsdt, but you ask me to send the ioregistry to get more info about my motherboard settings, so here its my ioreg, please if u can helpme, ill be waiting , thanks doc.

oh btw if i installs vodoo 2.7.2 and unplug hdmi cable the audio returns, if i plug again the audio is disable again, very strange behavior , if i plug by vga cable everything works fine , audio and video. thanks by ur time doc



#75
lazyshah

lazyshah

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Hello Dr. Hurt,

 

I tried to get the DSDT working and for whatever I can't find the same text and you explain in your tutorial. I have attached by DSDT here. I would like to get the HDMI audio working if possible. If you could help me out I would really appericiate it. Thanks

 

 

Attached Files

  • Attached File  DSDT.zip   25.68KB   3 downloads


#76
JuniorGump

JuniorGump

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
  • Gender:Male
  • Location:Paraíba, Brasil

Is anyone else experiencing system freezing, with the 5450?  :(



#77
alfonzotan

alfonzotan

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts

My DSDT (Gigabyte GA-EX58-UD4P) DSDT (attached) does not appear to have either PEG0 or PEGP, can you assist?

 

Thanks very much...

 

UPDATE:  Disregard, the DSDT file previously built for JuniorGump's similar (UD3R) board works fine.  Thanks...

Attached Files



#78
JuniorGump

JuniorGump

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
  • Gender:Male
  • Location:Paraíba, Brasil

My DSDT (Gigabyte GA-EX58-UD4P) DSDT (attached) does not appear to have either PEG0 or PEGP, can you assist?

 

Thanks very much...

 

UPDATE:  Disregard, the DSDT file previously built for JuniorGump's similar (UD3R) board works fine.  Thanks...

Interesting that it did not work here. :wacko:



#79
iWire

iWire

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
  • Gender:Male
  • Location:BFE, Earth

Introduction:

After seeing a lot of people having trouble getting the Radeon HD5450 working with Mavericks, I decided to make a guide.

The card works perfectly without any graphics enabler as long as the proper device ids are in place.

Guides made for Mountain Lion are obsolete because Apple changed the kext names.

 

--- The are two ways to get the HD5450 to work properly in Mavericks:

1- Injecting a compatible fake-id (in this case, 68E01002) via DSDT. This has the advantage of using Apple's stock kexts and thus no need to re-patch kexts with every system update. 

2- Adding your specific device-id to the appropriate kexts. This is probably easier, but you'll have to redo it everytime you update the system.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

1- Inject a compatible fake-id via DSDT. (Recommended if you have the skills)

All you need is to add the following code in the appropriate location in your DSDT (usually under PEG0 or PEGP).

PS. With this method you *must* use the original unmodified kexts.

Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x0C)
                            {
                                "device-id", 
                                Buffer (0x04)
                                {
                                    0xE0, 0x68, 0x00, 0x00
                                }, 


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


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


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


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


                                "@0,AAPL,boot-display", 
                                Buffer (Zero) {}
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
 

2- Add the device id of your GPU to the appropriate kexts.

Add your device-id to the cedar section of the AMDRadeonX3000.kext and anywhere in the AMD5000Controller.kext

- Go to /System/Library/Extensions/ 
- Copy AMDRadeonX3000.kext and AMD5000Controller.kext to your desktop

- Right click on the AMD5000Controller.kext and click show contents.
- Open the info.plist (using TextEdit or any plist editor)
- Find the IOPCIMatch key and you'll see many device-ids
- Change any of those device-ids with yours (eg. 68981002 -> 68F91002)
- Save (make sure you don't change file extension)

- Right click on the AMDRadeonX3000.kext and click show contents.
- Open info.plist
- Find the AMDCedarGraphicsAccelerator
- Under IOPCIMatch, change 68E01002 to 68F91002
- Save

Use Kext Wizard to reinstall the modified kexts.

 

===============================================================================================================

 

Further Considerations:

1- Power Management

a- I use MacPro3,1 smbios to avoid loading AGPM and my temperature and performance are very acceptable.

b- You can experiment with different smbios (mainly iMac11,2 and 11,1) which will load AGPM.

 

2-  Framebuffers:

a- You can either use the Eulemur or the Generic framebuffer. My tests show no performance difference.

b- Eulemur breaks sleep with DVI and HDMI monitors. VGA works fine though!

c- Clover and Chameleon will automatically set framebuffer to Eulemur so I strongly recommend you disable the graphics injector features. 

 

3-  VESA modes (aka. boot resolution)

a- Chameleon's resolution module can patch the vbios and give you full resolution during boot.

b- Clover's built-in vbios patcher works perfectly too. 

c- VGA does not work in either case. The bootloader fails to read the EDID to obtain the optimal resolution.

 

4- Clover:

a- Clover's graphics injector has the ability to inject a fake id

b- As stated before, the injector automatically set framebuffer to Eulemur and thus breaks sleep. 

You da Man Doc!  DSDT method works great.....10.9.2!



#80
xeocacad

xeocacad

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:Dojo Shorinji Kempo

Dr. HurtPlease Patch my DSDT

 

Maverick 10.9.2

 

feat.

AMD Fx6300

GA-970A-D3P

PowerColor Radeon HD 7730 2GB DDR3 (DeviceID 68371002)

 

Here is my DSDT + ioreg 

 

 

 

Thanks in advance  :(







Also tagged with one or more of these keywords: ATI, AMD, Radeon, HD5450, 5450, Mavericks, 10.9, Yosemite, 10.10


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy