Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
HFW

ATI Radeon HD 5xxx/6xxx

1 post in this topic

Recommended Posts

Based this on some code I found for ATI Radeon HD 5770 in DSDT... posted it in the topic for ATI 5770. There's probably some code here that isn't actually needed for injection of Framebuffer and whatever else is needed but I'm not sure what's safe to remove =/

 

                Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_PRW, Package (0x02)
                   {
                       0x09, 
                       0x05
                   })
                   OperationRegion (PEGH, PCI_Config, Zero, 0x40)
                   Field (PEGH, ByteAcc, NoLock, Preserve)
                   {
                       VID0,   16, 
                       DID0,   16
                   }

                   Method (_DSM, 4, NotSerialized)
                   {
                       If (LEqual (Arg0, Buffer (0x10)
                               {
                                   /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, 
                                   /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
                               }))
                       {
                           If (LNotEqual (And (VID0, 0xFFFF), 0xFFFF))
                           {
                               Store (Package ()
                                   {

                                       "@0,compatible", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "@0,name", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "@1,compatible", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "@1,name", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "@2,compatible", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "@2,name", 
                                       Buffer ()
                                       {
                                           "ATY,Vervet"
                                       }, 

                                       "AAPL00,blackscreen-preferences", 
                                       Buffer ()
                                       {
                                           0x00, 0x00, 0x00, 0x08
                                       }, 

                                       "AAPL01,Coherency", 
                                       Buffer ()
                                       {
                                           0x02, 0x00, 0x00, 0x00
                                       }, 

                                       "device_type", 
                                       Buffer ()
                                       {
                                           "ATY,VervetParent"
                                       }, 

                                       "model", 
                                       Buffer ()
                                       {
                                           "ATI Radeon HD 5770"
                                       }, 

                                       "name", 
                                       Buffer ()
                                       {
                                           "ATY,VervetParent"
                                       }, 

                                       "hda-gfx", 
                                       Buffer ()
                                       {
                                           "onboard-1"
                                       }
                                   }, Local0)
                               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                               Return (Local0)
                           }
                       }

                       Return (0x80000002)
                   }
               }

Of course, you'll need to know what PCIE address your GPU is at and add a device for that too.

Vervet should of course be changed to the framebuffer for your card & I think you know what to do with model? :P And if anyone has suggestions for what else can be removed, shoot.

 

I realise some don't like adding add-on cards to DSDT, so for those people, feel free not to use this. ;) I personally don't like having to rely on kexts or Chameleon to get my GPU working.

 

Hope this is useful to someone anyway...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Up for https://sourceforge.net/p/cloverefiboot/wiki,
    • Has anyone had success/failure with using UPnP working with this Intel Network? I have a onboard Intel I219V2, that is working quite well, except I can't make UPnP work.  It works fine for other devices on my network, and my previous mac Mini.   In fact, I've not been able to get forwarded ports working even if I do them manually.   Any help or pointers towards where to look would be greatly appreciated.     (High Sierra, i7-8700K, ASUS ROG STRIX Z370-G)
    • Hi,  the resoldering complete socket would kill the board totally in couple month (as the guys from super-duper repair shop told me). It's all because of gygabite layered silicon grade. The layers are so thin, that they give 90% chance, that board would work correctly only a couple month until it would die. Even with IR equipment they have, gygabite silicon starting to get micro-bubbly 10-20 C before target desoldering temperature. So they not recommending to do it with this particular z97 lineup.   About pins - they are corrected with a microscope and skilled technician. As they broke right near the start, I won't be able to do it with looking glass I have). He did it quite good, visible that they were repaired, but esthetically looking super good.    As for build and Oz in it.  Current configuration is: Xeon e3 1245v3 CPU Z97hd3 Mobo Msi gtx 1050ti gaming X GF 1) Before pins problem, after I flash anything infused with Oz - it won't work with the graphics card installed. If I pull it out, flash, get bios setting right, boot and reset NVRAM (or clear CMOS, bios setting, NVRAM) than install graphics card - it freezes every boot.   2) If I press the CPU cooler a little bid, just give it a solid push - it kinda boots without a freeze, but not correctly. Bios go flickery.  3) After I pushed CPU couple times, I started to get random BSODS on windows, so I tested RAM. One dim would give me errors. I don't know, is this went after pushed a bid CPU cooler, or it was like that, but using totally different ram would give same freezes with OZ.  4) Tomorrow I would go again to this repair shop, they would try to perform another round of magic tricks. As this mobo work correctly (fully) with windows 10 - they not recommending it for full socket resolder. damaged pins were reserved. Maybe OZ uses them after all, but they were repaired. It's all looking magic, but there is no magic. If swapping not XEON CPU won't help it (but I saw builds with OZ and XEON), then I would search for another board or platform.       
    • You can try this one here 2.9.0 let me know if its better for you ?   VoodooHDA.kext.zip
    •   Boot option name retrieval 1) Locate the booter image as explained blow. 2) Locate ".contentDetails" in the parent folder 2.1) if unsuccessful, locate ".disk_label.contentDetails" in the parent folder 2.2) if unsuccessful, retrieve the volume's name   HFS Boot 1) Retrieve blessed file via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L41 1.1) if unsuccessful, retrieve blessed folder via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L45, append "\\boot.efi". NOTE: This is broken in the latest binary I checked. 1.2) if unsuccessful, use the following hard-coded paths: "\System\Library\CoreServices\boot.efi", "\EFI\APPLE\{ARCH}\BOOT.EFI", <StandardEfiPath>, "\\boot.efi" in this order 2) FV2 Recovery does not follow the usual practice because it is not shown by BootPicker anyway. Determine it via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleBless.h#L49, verify it does not match 1).   APFS Boot 1) Determine the APFS Volume Info (and hencefor detect whether it is APFS in the first place) via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L54 1.1) Determine the APFS Container Info via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L36 1.2) Verify the Volume Role via https://github.com/CupertinoNet/EfiPkg/blob/development/Include/Guid/AppleApfsInfo.h#L51 1.3) Retrieve blessed file analoguous to HFS 1). NOTE: This step and 1.3.1) are broken in the binary I checked, hencefor it does not happen, but is probably supposed to. 1.3.1) if unsuccessful, retrieve blessed folder and append the booter name the same way as in HFS 1.2) 1.4) (if unsuccessful,) locate all Volumes that are part of the same container, check whether the current Preboot partition has folders named by the just located Volumes' GUIDs and append the hard-coded paths from HFS 1.2) if existant 2) Recovery detection works the same way as 1.4), just for a Recovery instead of a Preboot volume


×