Jump to content

Radeon R9 270X framebuffer issue


Best Answer Vlada., 08 December 2013 - 03:10 AM

I was made a driver pack for those who don't want to mess with DSDT. So this is solution which doesn't require DSDT.aml at all. This pack using modified ATY Init.kext as injector that supports R9 270X GPU with 6810 device id and R9 270 GPU with 6811 device id.
 
You can download it from here:  AMD Radeon R9 270 Series
 
Or if you want to do it by your self you can use this bin patch from terminal:

sudo perl -pi -e 's|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x01\x01\x12\x04\x04\x01\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x02\x01\x22\x05\x05\x02\x04\x00\x00\x00\x14\x02\x00\x00\x00\x01\x03\x00\x00\x00\x06\x06\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x04\x00\x11\x02\x01\x03|\x04\x00\x00\x00\x14\x02\x00\x00\x00\x01\x00\x00\x11\x02\x05\x05\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x22\x05\x02\x03\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x12\x04\x01\x01\x00\x02\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x10\x00\x03\x06|g' /System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller

[R9 270 users will need to manually insert device id number 0x68111002 in to info.plist files inside AMD7000Controller.kext & AMDRadeon4000X.kext]

 

And for those who prefer to use DSDT injector instead of ATYinjector.kext from the pack, here is a patch:

Under Device (PEGP) put this patch:

Device (GFX0)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x18)
{
"AAPL,slot-name",
Buffer (0x07)
{
"Slot-1"
},

"@0,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@1,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@2,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@3,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"ATY,Card#",
Buffer (0x14)
{
"113-R27FD-001"
},

"ATY,Copyright",
Buffer (0x33)
{
"(C) 1988-2010, AMD Technologies Inc."
},

"ATY,Rom#",
Buffer (0x0F)
{
"AMD Curacao XT"
},

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

"ATY,DeviceID",
Buffer (0x02)
{
0x10, 0x68 // or 0x11, 0x68 for 270 
},

"model",
Buffer (0x18)
{
"AMD Radeon R9 270X" //or 270
},

"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}
Go to the full post


  • Please log in to reply
202 replies to this topic

#1
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Graphic card Power Color PCS+ Radeon R9 270X

 

Ok, I am proud owner of mentioned video card and as such, I'm trying to figure how to fix few minor bugs. The card is working Oob, but the problem is in the fact that the system is not assigning proper framebuffer, which might case low performances in certain situations. Instead of this, card is using default one (ATY,AMD,RadeonFramebuffer) so that’s the reason why is not signed properly (AMD Radeon HD 7xxx 2048 MB). The latest Chameleon bootloader doesn't have proper solution for these video cards, because assigning framebuffer from chameleon plist will basically do noting. This means that commands such as: GraphicsEnabler=No, AtiConfig=Hamachi and AtiPorts=4, will not do the job. I don't know why but this is the fact for now. It looks that this little issue does not degrading performances noticeable, however I wouldn’t mine to fix this if I can.

 

So, logically this brings us to the DSDT injector fix…

 

Now here is the catch. When I insert code in my DSDT.aml file and I boot, all I have is the black screen when I enter OS X!

 

The first thing that is cross my mind is a thought that I was probably assigned wrong FB, so I was try to apply all others extracted from ATY personality dump, which is presented in ATI7000Controller.kext.

 

-----------------------------------------------------------------
 
ATY personality dump ML(10.8.5) / AMD7000Controller 
 
Personality: Aji
ConnectorInfo count in decimal: 4
Personality: Buri
ConnectorInfo count in decimal: 4
Personality: Chutoro
ConnectorInfo count in decimal: 5
Personality: Dashimaki
ConnectorInfo count in decimal: 4
Personality: Ebi
ConnectorInfo count in decimal: 5
Personality: Gari
ConnectorInfo count in decimal: 5
Personality: Futomaki
ConnectorInfo count in decimal: 4
Personality: Hamachi
ConnectorInfo count in decimal: 4
Personality: OPM
ConnectorInfo count in decimal: 6
Personality: Ikura
ConnectorInfo count in decimal: 6
Personality: IkuraS
ConnectorInfo count in decimal: 1
 
-------------------------------------------------------
 

But nothing was changed.

 

After some time, I was notice that when I boot in OS X, the display actually is not going in to sleep mode, which it should when the wrong FB is applied, but on the contrary it stays on, beside the fact that the picture is completely black. So I was apply sleep fix by pressing power button and basically force computer to go in sleep mode, and voila, that was do the trick, because when I was wake from sleep my computer, the picture is also back and everything seems to be fine. This also means that assigned framebuffer (Hamachi) is used properly, and in "About this Mac", I have a valid info which I was inserted previously in my DSDT file (check pictures).

 

So the only thing basically which is needed here is fix for black screen on boot!

 

I presume that something is missing in DSDT code, but I’m not sure what precisely that might be, so I will leave here all my files and resources, and if anyone here have an idea how to fix this booting problem, well just let me know.

 

BTW, if anyone wants to know, Mavericks is booting w/o any problems, but ML needs kext patching (device id fix / 68101002) and white screen fix  

 
 

DSDT Injector Radeon R9 270X

Device (PEG0)
            {
                Name (_ADR, 0x00010000)
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x1E)
                            {
                                "AAPL,slot-name", 
                                Buffer (0x07)
                                {
                                    "Slot-1"
                                }, 
 
                                "@0,VRAM,memsize", 
                                Buffer (0x08)
                                {
                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80
                                }, 
 
                                "@0,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Hamachi"
                                }, 
 
                                "@1,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Hamachi"
                                }, 
 
                                "@2,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Hamachi"
                                }, 
 
                                "@3,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Hamachi"
                                }, 
 
                                "ATY,Card#", 
                                Buffer (0x14)
                                {
                                    "113-R27FD-001"
                                }, 
 
                                "ATY,Copyright", 
                                Buffer (0x33)
                                {
                                    "(C) 1988-2010, AMD Technologies Inc."
                                }, 
 
                                "ATY,Rom#", 
                                Buffer (0x20)
                                {
                                    "Southern Islands - ATI PITCAIRN"
                                }, 
 
                                "ATY,VendorID", 
                                Buffer (0x02)
                                {
                                    0x02, 0x10
                                }, 
 
                                "ATY,DeviceID", 
                                Buffer (0x02)
                                {
                                    0x10, 0x68
                                }, 
 
                                "device_type", 
                                Buffer (0x20)
                                {
                                    "ATY,HamachiParent"
                                }, 
 
                                "model", 
                                Buffer (0x18)
                                {
                                    "Radeon R9 270X Graphics"
                                }, 
 
                                "name", 
                                Buffer (0x20)
                                {
                                    "ATY,HamachiParent"
                                }, 
 
                                "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)
                    }
                }

Attached Files



#2
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
  • Gender:Male

Any personality dumps for the card?



#3
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 1,996 posts
  • Gender:Male

We pinned this topic. Great work. 



#4
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Thanks. However this blackout issue is really annoying, so it would be nice if we find a proper fix for that.

 

And here is the full ATY personality dump from 10.9 Mavericks...

 

Kext /System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Aji
ConnectorInfo count in decimal: 4
Disk offset in decimal 662624
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  05  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  04  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  03  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  04
0000040
Personality: Buri
ConnectorInfo count in decimal: 4
Disk offset in decimal 662688
0000000    02  00  00  00  00  01  00  00  29  05  01  00  10  00  05  05
0000010    00  04  00  00  04  03  00  00  00  09  02  00  11  02  01  01
0000020    00  04  00  00  04  03  00  00  00  09  03  00  21  03  02  02
0000030    00  08  00  00  04  02  00  00  00  01  04  00  12  04  03  03
0000040
Personality: Chutoro
ConnectorInfo count in decimal: 5
Disk offset in decimal 662752
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Dashimaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 662832
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  02  02
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  03  05
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  04  04
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  01
0000040
Personality: Ebi
ConnectorInfo count in decimal: 5
Disk offset in decimal 662896
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Gari
ConnectorInfo count in decimal: 5
Disk offset in decimal 662976
0000000    02  00  00  00  00  01  00  00  09  01  01  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  11  02  01  01
0000020    00  04  00  00  00  01  00  00  00  09  03  00  21  03  02  02
0000030    00  04  00  00  00  01  00  00  00  09  04  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050
Personality: Futomaki
ConnectorInfo count in decimal: 4
Disk offset in decimal 663056
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  04  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  05  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  06  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  03
0000040
Personality: Hamachi
ConnectorInfo count in decimal: 4
Disk offset in decimal 663120
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  05  01
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  04  02
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  03  06
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  04
0000040
Personality: OPM
ConnectorInfo count in decimal: 6
Disk offset in decimal 663184
0000000    00  04  00  00  04  03  00  00  00  01  00  00  11  02  01  01
0000010    00  04  00  00  04  03  00  00  00  01  00  00  21  03  02  02
0000020    00  04  00  00  04  03  00  00  00  01  00  00  12  04  03  03
0000030    00  04  00  00  04  03  00  00  00  01  00  00  22  05  04  04
0000040    00  04  00  00  04  03  00  00  00  01  00  00  10  00  05  05
0000050    00  04  00  00  14  03  00  00  00  01  00  00  20  01  06  06
0000060
Personality: Ikura
ConnectorInfo count in decimal: 1
Disk offset in decimal 663280
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: IkuraS
ConnectorInfo count in decimal: 6
Disk offset in decimal 663296
0000000    00  04  00  00  04  03  00  00  00  01  01  00  11  02  01  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  21  03  02  04
0000020    00  04  00  00  04  03  00  00  00  01  83  00  12  04  03  01
0000030    00  04  00  00  04  03  00  00  00  01  04  00  22  05  04  02
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050    00  04  00  00  04  03  00  00  00  01  06  00  20  01  06  06
0000060
Personality: Junsai
ConnectorInfo count in decimal: 6
Disk offset in decimal 663392
0000000    00  04  00  00  04  03  00  00  00  01  00  00  12  04  03  01
0000010    00  04  00  00  04  03  00  00  00  01  00  00  22  05  04  02
0000020    00  04  00  00  04  03  00  00  00  01  00  00  11  02  01  03
0000030    00  04  00  00  04  03  00  00  00  01  00  00  21  03  02  04
0000040    00  04  00  00  04  03  00  00  00  01  00  00  10  00  05  05
0000050    00  04  00  00  04  03  00  00  00  01  00  00  20  01  06  06
0000060
Personality: Kani
ConnectorInfo count in decimal: 1
Disk offset in decimal 663488
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: KaniS
ConnectorInfo count in decimal: 6
Disk offset in decimal 663504
0000000    00  04  00  00  04  03  00  00  00  01  01  00  11  02  01  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  21  03  02  04
0000020    00  04  00  00  04  03  00  00  00  01  83  00  12  04  03  01
0000030    00  04  00  00  04  03  00  00  00  01  04  00  22  05  04  02
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050    00  04  00  00  04  03  00  00  00  01  06  00  20  01  06  06
0000060
Personality: DashimakiS
ConnectorInfo count in decimal: 4
Disk offset in decimal 663600
0000000    00  04  00  00  04  03  00  00  00  01  01  00  12  04  02  02
0000010    00  04  00  00  04  03  00  00  00  01  02  00  22  05  03  05
0000020    04  00  00  00  14  02  00  00  00  01  03  00  00  00  04  04
0000030    00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  01
0000040
Personality: Maguro
ConnectorInfo count in decimal: 1
Disk offset in decimal 663664
0000000    00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01
0000010
Personality: MaguroS
ConnectorInfo count in decimal: 6
Disk offset in decimal 663680
0000000    00  04  00  00  04  03  00  00  00  01  01  00  11  02  01  03
0000010    00  04  00  00  04  03  00  00  00  01  02  00  21  03  02  04
0000020    00  04  00  00  04  03  00  00  00  01  83  00  12  04  03  01
0000030    00  04  00  00  04  03  00  00  00  01  04  00  22  05  04  02
0000040    00  04  00  00  04  03  00  00  00  01  05  00  10  00  05  05
0000050    00  04  00  00  04  03  00  00  00  01  06  00  20  01  06  06
0000060
 



#5
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
  • Gender:Male

Maybe dumps using ati-personality-pl or Redsock BIOS decoder too?

http://rampagedev.wo...er-personality/

 

Edit:

And, system profile when with the default RadeonFB.



#6
crushers

crushers

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 589 posts
  • Gender:Male
  • Location:Serbia,Zaječar,Salaš

Good work.



#7
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

@rayap

 

Here are the files you asked + rom file too...

 

BTW, Redsock BIOS decoder dump is showing 5 connectors, which is interesting… hmm... That question mark on 4th connector is looking a bit odd to me…

 

Power Color PCS+ R9 270X image

C63101 CURACAO XT GDDR5 64Mx32 2GB E8B11LCC.HHW 2013                        
 
Subsystem Vendor ID: 148c
       Subsystem ID: 2336
Object Header Structure Size: 355
Connector Object Table Offset: 48
Router Object Table Offset: 0
Encoder Object Table Offset: fd
Display Path Table Offset: 12
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false
Connector Object Id [4] which is [DVI_D]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
 

 

Attached Files



#8
rayap

rayap

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
  • Gender:Male

@Vlada.

Thank you for the rom file. This new card is in my wish list hence my interest. In the meanwhile have been fiddling the frame buffers for my HD7770 trying to get two displays going. Found Dashimaki most suitable. as the sense ids (from radeon_bios_decode) are closely related. However after many futile attempts now settled with one display on the hdmi connector cos using hdmi audio. Everything works fine with this setup.

Even with the DisplayPort nearly all is well, but cannot wake up from sleep - something about pin 20 and the DP-DP cable. And, in my case without DSDT injection, the DVI connector works well with Buri and GE on. 

With the default Radeon FB both displays work but again wake from sleep failure.

You may want to rearrange your preferred frame buffers similar to the personalities when the default frame buffers is loaded. If you only used the DVI connection arrange to load it @0, or @1 similar to the default RadeonFB. (i.e. rearrange the port hierarchy). This may overcome your black screen but need check wake from sleep.

Best of luck.



#9
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

OK, I was made further tests. Till now, I was figured that the card is working with 3 framebuffers (Aji, Futomaki and Hamachi). Sadly, HDMI doesn't work with any injected Framebuffers, but it works with default one (ATY,AMD,RadeonFrambuffer@0)

 

If I understood well all numbers, this should be correct:

 

Connector-type number for (DVI) is 0x4

Connector-type number for (HDMI) is 0x800

 

With DSDT injector display is reported on third connector (ATY,Hamachi@2), and in situation where DSDT injector is not used it is on first (ATY,AMD,RadeonFrambuffer@0)

 

Those are basically obvious differences.

 

I could rearrange this but if I remember correct that will require AMD7000Controller.kext patching via some hexeditor, which I’m really trying to avoid.

 

In both cases sleep is working properly, which is good thing.

 

I was made also, OpenGL tests in Cinebench. Mavericks reports this card as FirePro D300, but ML 10.8.5 reports it as Pitcairn Unknown model. The better score is in ML 10.8.5, probably because it detects card properly. 

 

I really hope that the future OSX updates will fix this issue…

Attached Files



#10
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Final conclusions:

 

As I was previously mentioned, this GPU is working Oob, but it using default AMD,RadeonFramebuffer, which obviously isn't the best solution. However after further testing, it seems that this doesn't affect performances at all, or if it does, well then that is totally insignificant. Per example, a difference in Cinebench R15 is exactly 1FPS.

 

Although I didn’t have any troubles with my card, I was tried to assign some Framebuffer from the AMD7000Controller list, so that I can sign this video card properly. After 2 day testing it seems that the card can use 3 FrameBuffers and those are: Aji, Futomaki and Hamachi. Aji and Hamachi are same in the code, so I decide to take a chance with Futomaki, because is easer to find it via hex editor. Final result considers DSDT injector in combination with patched AMD7000Controller.kext with next values:

 

Personality: Futomaki

ConnectorInfo count in decimal: 4

Disk offset in decimal 663056

 

00  04  00  00  04  03  00  00  00  01  01  00  12  04  04  01

00  04  00  00  04  03  00  00  00  01  02  00  22  05  05  02

04  00  00  00  14  02  00  00  00  01  03  00  00  00  06  06

00  08  00  00  04  02  00  00  00  01  04  00  11  02  01  03

 

is modified with next values:

 

04  00  00  00  14  00  00  00  00  01  00  00  11  02  05  05

00  08  00  00  04  02  00  00  00  01  00  00  22  05  02  03

00  04  00  00  04  03  00  00  00  01  00  00  12  04  01  01

00  02  00  00  04  02  00  00  00  01  00  00  10  00  03  06

 

First connector is assigned to DVIDL, second to HDMI, third to DP and last one is to DVISL.

 

So in this combination, blackout issue is eliminated and HDMI is fully operational. It works in single and dual variations, which mean that you can plugin in DVI or HDMI separately, and both at the same time. Unfortunately DP cable I don't have so I wasn't been able to test it, but I believe that DVIDL + HDMI combination will be more than enough for most people.

 

I don't know is there any differences in code with others R9 270X graphic cards, but if you have this card (dev-id 6810) and you experience problems in regular work, well I think that you can try this fix or solution…

 

This fix is also "must have" for ML, because Radeon R9 270X is not working by default under OS X 10.8.5. 

 

Hopefully, Apple will fully support this GPU with next system update.

 

 

Best to all of you :D

 

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

 

DSDT Injcetor Radeon R9 270X

Device (PEG0)
            {
                Name (_ADR, 0x00010000)
                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x18)
                            {
                                "AAPL,slot-name", 
                                Buffer (0x07)
                                {
                                    "Slot-1"
                                }, 
 
                                "@0,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Futomaki"
                                }, 
 
                                "@1,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Futomaki"
                                }, 
 
                                "@2,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Futomaki"
                                }, 
 
                                "@3,name", 
                                Buffer (0x1A)
                                {
                                    "ATY,Futomaki"
                                }, 
 
                                "ATY,Card#", 
                                Buffer (0x14)
                                {
                                    "113-R27FD-001"
                                }, 
 
                                "ATY,Copyright", 
                                Buffer (0x33)
                                {
                                    "(C) 1988-2010, AMD Technologies Inc."
                                }, 
 
                                "ATY,Rom#", 
                                Buffer (0x09)
                                {
                                    "PITCAIRN"
                                }, 
 
                                "ATY,VendorID", 
                                Buffer (0x02)
                                {
                                    0x02, 0x10
                                }, 
 
                                "ATY,DeviceID", 
                                Buffer (0x02)
                                {
                                    0x10, 0x68
                                }, 
 
                                "model", 
                                Buffer (0x13)
                                {
                                    "AMD Radeon R9 270X"
                                }, 
 
                                "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)
                    }
                }

Attached Files



#11
yoyovip

yoyovip

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
  • Gender:Female
CLOVER injected with r9 270x? ! ok?
Thanks!


#12
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Best Answer

I was made a driver pack for those who don't want to mess with DSDT. So this is solution which doesn't require DSDT.aml at all. This pack using modified ATY Init.kext as injector that supports R9 270X GPU with 6810 device id and R9 270 GPU with 6811 device id.
 
You can download it from here:  AMD Radeon R9 270 Series
 
Or if you want to do it by your self you can use this bin patch from terminal:

sudo perl -pi -e 's|\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x01\x01\x12\x04\x04\x01\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x02\x01\x22\x05\x05\x02\x04\x00\x00\x00\x14\x02\x00\x00\x00\x01\x03\x00\x00\x00\x06\x06\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x04\x00\x11\x02\x01\x03|\x04\x00\x00\x00\x14\x02\x00\x00\x00\x01\x00\x00\x11\x02\x05\x05\x00\x08\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x22\x05\x02\x03\x00\x04\x00\x00\x04\x03\x00\x00\x00\x01\x00\x00\x12\x04\x01\x01\x00\x02\x00\x00\x04\x02\x00\x00\x00\x01\x00\x00\x10\x00\x03\x06|g' /System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller

[R9 270 users will need to manually insert device id number 0x68111002 in to info.plist files inside AMD7000Controller.kext & AMDRadeon4000X.kext]

 

And for those who prefer to use DSDT injector instead of ATYinjector.kext from the pack, here is a patch:

Under Device (PEGP) put this patch:

Device (GFX0)
{
Name (_ADR, Zero)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x18)
{
"AAPL,slot-name",
Buffer (0x07)
{
"Slot-1"
},

"@0,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@1,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@2,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"@3,name",
Buffer (0x1A)
{
"ATY,Futomaki"
},

"ATY,Card#",
Buffer (0x14)
{
"113-R27FD-001"
},

"ATY,Copyright",
Buffer (0x33)
{
"(C) 1988-2010, AMD Technologies Inc."
},

"ATY,Rom#",
Buffer (0x0F)
{
"AMD Curacao XT"
},

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

"ATY,DeviceID",
Buffer (0x02)
{
0x10, 0x68 // or 0x11, 0x68 for 270 
},

"model",
Buffer (0x18)
{
"AMD Radeon R9 270X" //or 270
},

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


#13
yoyovip

yoyovip

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
  • Gender:Female

Thanks

post-512593-0-95918900-1386504233_thumb.


Thanks :)

 Attached File  屏幕快照 2013-12-08 下午8.28.44.png   177.61KB   13 downloads

Attached Files



#14
Roger OSX

Roger OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

Hi Vlada, 

 

I'm from Brazil and apologize for my English.
 
Very good job for their lucky owners of R9 series 270x.
 
It turns out that previously I had a HD6770, running perfectly on my hackintosh. All perfectly fine. When googled and saw several people commenting that the R9 x270 and X280 worked oob. I thought, there is my new VGA.
 
Happily bought and installed. I realized that probably the kext that I had the HD6770 might be holding something, because I did everything. Including this your last installation. In no time the Mavericks failed to start or have a white or black screen. He just goes out the resolution and information as unknown and 3mb.
 
What I need to clean? have any idea what can I do? I've tried with several things chamelon wizard with startup settings. GraphicsEnabler = No and Yes
 
My VGA is a APPHIRE DUAL-X R9 270X 2GB GDDR5 OC WITH BOOST
 
Any idea?


#15
tony890914

tony890914

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

informative, inspiring even, thank you so much for the great work.

now my new rig is getting into shape, definitely getting the 270x.



#16
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

 

Hi Vlada, 

 

I'm from Brazil and apologize for my English.
 
Very good job for their lucky owners of R9 series 270x.
 
It turns out that previously I had a HD6770, running perfectly on my hackintosh. All perfectly fine. When googled and saw several people commenting that the R9 x270 and X280 worked oob. I thought, there is my new VGA.
 
Happily bought and installed. I realized that probably the kext that I had the HD6770 might be holding something, because I did everything. Including this your last installation. In no time the Mavericks failed to start or have a white or black screen. He just goes out the resolution and information as unknown and 3mb.
 
What I need to clean? have any idea what can I do? I've tried with several things chamelon wizard with startup settings. GraphicsEnabler = No and Yes
 
My VGA is a APPHIRE DUAL-X R9 270X 2GB GDDR5 OC WITH BOOST
 
Any idea?

 

 

Previous settings shouldn't affect enabling of R9 270X graphics, even if you used patched AMD6000Controller.kext for mentioned HD6670, because R9 270X is using other kext ( AMD7000Controller.kext ). I really don't have a clue in this very moment why you have such problem, but you should check which device id number is using your video card. 

 



#17
Roger OSX

Roger OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

ok, thanks... and input this on AMD7000Controller info right?


it's very confusing. I do not know which card belongs...

 

OLcMMWg.png

 

kext loaded

 

 nCWu5iD.png



#18
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Ah, this explains everything. Your card is not 270X but 270. So that's the reason why it's not working. Device id for your card is 6811, but inserting mentioned device id in AMD7000Controller.kext is not enough. You will also need DSDT injector applied, and even then there is no any guaranties...

 

All in all, you will need to do next:

 

1. You'll need to insert device id (68111002) in modified AMD7000Controller.kext which you can download from here, and install it.

2. You'll need to insert DSDT injector fix in your DSDT.aml file

 

[EDIT]

 

3. You can use now also AMD Radeon R9 200X Series pack which you can download from upper link. 

 

Best of luck ;)

 

 

 

 

 

 

 

 

 

 

 



#19
Roger OSX

Roger OSX

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

in AMD7000Controller.kext was easy... but with the DSDT injector I no have ideia. I´ll try to change my video card, because she was sold like a 270x Video card.  :( 

 

Is an 270 OC edition with dual fan, but i think that video card is more weak than 270x.  



#20
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 66 posts
  • Gender:Male
  • Location:Serbia

Well, I guess that I can be little generous. So here they are, ATY init.kext, AMDRadeonX4000.kext & AMD700Controller.kext that supports device id 6810 & 6811. 

 

So just install these and let me know will it work. ;)

 

[EDIT]

 

Obsolete kexts are deleted...

 

 







1 user(s) are reading this topic

1 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