Jump to content

[Guide] [Mavericks] AMD Radeon HD5450

ATI AMD Radeon HD5450 5450 Mavericks 10.9

  • Please log in to reply
107 replies to this topic

#1
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

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, PEGP, or P0P1).

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

               Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero))
                        {
                            Return (Buffer (One)
                            {
                                0x03
                            })
                        }
                        Return (Package ()
                        {
                            "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 (0x04)
                            {
                                0x01, 0x00, 0x00, 0x00
                            }
                        })
                    }
                }
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. 



#2
polyzargone

polyzargone

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France

Hello !

 

Just to be sure, my ID is 68F91002, where should I modify the value in your exemple ?

And If I follow the DSDT method, wil I have to put back the original values for the Apple's Kexts or I can leave it them and wait for the next update to use my DSDT edit ?

Thanks !



#3
polyzargone

polyzargone

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France

Ok thxs ! That's the way I'm used to.

But I 'd like to try the DSDT method to avoid dointg it at every updates. I can send you a chamerleon's generated DSDT if you want because I'm not really sure where to place my IDs.

It could also fix my sleep issues which never worked for me and for the cosmetic part of this, it could finally display "Radeon HD 5450" in my System profile :-)

 

Attached Files

  • Attached File  DSDT.zip   26.98KB   167 downloads


#4
geekgyan

geekgyan

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Hey I managed to upgrade from 10.8.4 to 10.9 without any issues the only thing is the graphics, have got ATI Radeon HD 5450 (device id 68F91002). if I use AMDRadeonX3000 with with edited AMD5000Controller i get kernel panic. If I remove AMDRadeonX3000 it loads up I. My hack recognizes the card. but QC/CI isn't fine (while on the top of it might look fine. but animation flickers.) I have tried to patch the DSDT with your above method, but I am not sure if I am doing it right, can you please check the dsdt and let me know if I have patched it correctly(inserted the code in the right place) Please help me fix this

 

Attached File  dsdt.aml 2.zip   7.54KB   58 downloads



#5
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

@geekyan:

 

You did two mistakes. First, you added your own id instead of the fake one to the DSDT. And the second is that your DSDT doesn't have a display bridge (PEG0), so I added it for you.

 

Restore all the original kexts before you use this DSDT.

Attached Files



#6
geekgyan

geekgyan

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Thanks a lot bro for the edited dsdt. really grateful. 

 

I restored the original kexts, placed the dsdt in extra and booted up. Now, I am getting original res. with the orig. kext and no kernel panic with AMDRadeonX3000.kext in the S/L/E folder. But still No QE/CI :(

 

I just can't figure what could possibly being going wrong. I even added GraphicsEnabler=Yes and AtiConfig=Eulemur in org.chameleon.Boot.plist and rebooted but still no luck. There is even device-property key ( which i had used to for <10.8.4 ) in boot.plist. 

 

Do you think i missing out something. I was really hoping the dsdt.aml patch would fix things.

 

Thanks for your help



#7
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

@polyzargone:

 

Here is your DSDT patched to inject the fake id. 

Give it a try and tell me how it goes. 

 

PS. Restore all your kexts back to normal.

Attached Files



#8
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:mexico
hi dr . one question, im using the dsdt u did to geekgyan, but now i cannot access to my sata hd connected to my hackintosh , before i install the dsdt , no qe/ci but i used to access my other hd, and i try but no use, my hd doesnt appears on desktop, any info willbe appreciated

#9
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

Thanks a lot bro for the edited dsdt. really grateful. 

 

I restored the original kexts, placed the dsdt in extra and booted up. Now, I am getting original res. with the orig. kext and no kernel panic with AMDRadeonX3000.kext in the S/L/E folder. But still No QE/CI :(

 

I just can't figure what could possibly being going wrong. I even added GraphicsEnabler=Yes and AtiConfig=Eulemur in org.chameleon.Boot.plist and rebooted but still no luck. There is even device-property key ( which i had used to for <10.8.4 ) in boot.plist. 

 

Do you think i missing out something. I was really hoping the dsdt.aml patch would fix things.

 

Thanks for your help

 

Remove the Graphics enabler, and ATIConfig option and the efi strings. 

 

Make sure that the X3000 kext is loaded. Check the extensions section in the system profiler.


hi dr . one question, im using the dsdt u did to geekgyan, but now i cannot access to my sata hd connected to my hackintosh , before i install the dsdt , no qe/ci but i used to access my other hd, and i try but no use, my hd doesnt appears on desktop, any info willbe appreciated

You can't use someone else's DSDT. Its system specific. 



#10
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:mexico
ooooh jeje i didnt know that!! sorry, but i cant modify my amdcontroller5000 cause there is no plist to modify, the conten shows only 2 folders but no plist inside. if u can send me the amd controller modified? thanks for the answers

#11
geekgyan

geekgyan

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Hey Dr. Hurt.  Finally Got HD 5450 working with full QE/CI. All thanks to YOU.

 

After trying (n) number of times with all different options. I had a feeling, I should make sure the AMDRadeonX3000.kext and AMD5000Controller.kext are actually the original ones. I had put these file and temp. folder on the desktop.

 

Just to be sure I mounted the OSX Mavericks installer and extracted the above two files from the .pkg files and installed them with #####

 

Rebooted with your suggest steps and edited dsdt.aml and Voila, I have a fully working Mavericks with ATI Radeon HD 5450 with full QE/CI.

 

(so basically, dint' realize those two kexts must have got replaced by edited ones)

 

And Plus, with the dsdt patch, I might not have to bother with future updates. Super Awesome.

 

Thanks Again.



#12
kofmasters

kofmasters

    InsanelyMac Protégé

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

Remove the Graphics enabler, and ATIConfig option and the efi strings. 

 

Make sure that the X3000 kext is loaded. Check the extensions section in the system profiler.


You can't use someone else's DSDT. Its system specific. 

thanks doc, i didnt knew about dsdt, but when i try to edit info.plist appears invisible!! if i send to u mydsdt personal will u edit for me?



#13
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

thanks doc, i didnt knew about dsdt, but when i try to edit info.plist appears invisible!! if i send to u mydsdt personal will u edit for me?

 

Sure, just upload it.



#14
coban

coban

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
selam doctor
 
hope can attach me here, need support.
 
Have a Radeon HD 3600 (RV635), which kext files I need to adjust it? also the AMD5000Controller or else?
 
or can someone help me how do I get this running RV635 with qe / ci on Mavericks?
 
greeting coban
 
 
 
OSX Mavericks 10.9 (13A603)
SMBIOS iMac 12,2
HP DC7900
Core2 Quad Q9400 @ 2.66Ghz
ICH10R
Ati Radeon HD 3600 (RV635)
 
 
 

Attached Files

  • Attached File  dsdt.zip   55.49KB   19 downloads
  • Attached File  ati.JPG   60.93KB   18 downloads


#15
Dr. Hurt

Dr. Hurt

    InsanelyMac Legend

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

I don't know anything about that card. Sorry.



#16
JaE-V

JaE-V

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 933 posts
  • Gender:Male
  • Location:Texas

Think you could add that fake ID fix to my dsdt? I have a 5870 (device ID: 6898) 

 

 

Attached Files



#17
Unicorns

Unicorns

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Hey Dr. Holt,

 

I have been having a lot of problems editing the kexts for my Sapphire Radeon HD 5450. Do you think you can edit my dsdt and once I have the edited dsdt do I just have to save it in a certain location?

 

Thanks

Attached Files



#18
JuniorGump

JuniorGump

    InsanelyMac Geek

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

Dr. Hurt, i searched in my dsdt, but found these lines you quoted. Would you like to add this code to my dsdt?

 
Thanks for listening!
 
 

Attached Files



#19
polyzargone

polyzargone

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 220 posts
  • Gender:Male
  • Location:France

Hi Dr Hurt !

 

I have another Hackintosh with a Radeon HD 5450 with 0x68F91002 id, could you patch the included DSDT for me please ?

Thx

Attached Files



#20
kofmasters

kofmasters

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:mexico
hi dr. i finally made it, but i have another issue ,: when i add string to amd5000controller and x3000, then kextutility to repair permissions, when mavericks boots audio its disable!! if i restore original kexts audio its ok but graphics are again laggy, i mean if i edit kexts audio drooped next time i boot, i use voodoo 2.8.2





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


0 user(s) are reading this topic

0 members, 0 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