Jump to content

Radeon R9 270X framebuffer issue


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

Latest solution considers modified code injected via Clover, or other words this method represents a permanent solution that does not depend from the future system upgrades. If you want to use it or you still have issues with solution presented here, check this topic: 

 

[HOW TO] Modification of AMD FB + Clover injection

 

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

 

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
296 replies to this topic

Poll: Radeon R9 270X framebuffer issue (12 member(s) have cast votes)

Binary-patch R9 270X tool pack v1.7 / Vote if you have DVI or HDMI connector issues

  1. GIGABYTE GV-R927XOC-2GD Radeon R9 270X 2GB (2 votes [16.67%])

    Percentage of vote: 16.67%

  2. GIGABYTE GV-R927XOC-4GD Radeon R9 270X 4GB (1 votes [8.33%])

    Percentage of vote: 8.33%

  3. MSI R9 270X GAMING 2G Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  4. MSI Radeon R9 270X GAMING 4GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  5. SAPPHIRE 100364L Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  6. SAPPHIRE 100364TXSR Radeon R9 270X 2GB (2 votes [16.67%])

    Percentage of vote: 16.67%

  7. SAPPHIRE Vapor-X 100364VXL Radeon R9 270X 2GB (1 votes [8.33%])

    Percentage of vote: 8.33%

  8. SAPPHIRE 100364-4GL Radeon R9 270X 4GB 384-Bit (Dual-X Edition) (1 votes [8.33%])

    Percentage of vote: 8.33%

  9. ASUS DirectCU II R9270X-DC2T-2GD5 Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  10. ASUS DirectCU II R9270X-DC2T-4GD5 Radeon R9 270X 4GB (1 votes [8.33%])

    Percentage of vote: 8.33%

  11. XFX Double D R9-270X-CDFC Radeon R9 270X 2GB (1 votes [8.33%])

    Percentage of vote: 8.33%

  12. XFX R9-270X-CDBC Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  13. PowerColor DEVIL AXR9 270X 2GBD5-A2DHE Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  14. PowerColor PCS+ AXR9 270X 2GBD5-PPDHE Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  15. HIS IceQ X² Turbo Boost Clock H270XQMT2G2 Radeon R9 270X 2GB (1 votes [8.33%])

    Percentage of vote: 8.33%

  16. HIS Mini IceQ X² Boost H270XQMS2G2M Radeon R9 270X 2GB (0 votes [0.00%])

    Percentage of vote: 0.00%

  17. Club3D royalQueen CGAX-R927X6 Radeon R9 270X 2GB (2 votes [16.67%])

    Percentage of vote: 16.67%

Vote Guests cannot vote

#281
joe75

joe75

    Renegade

  • Retired
  • 2,308 posts
  • Gender:Male
  • Location:Rochester, NY

the "window sever problem" is windows server crashes by disconnecting a monitor and then that crashes all displays while it tries to reconnect. Im not the only one thats seen this and I've tested with a few people on trying to fix it and its still a problem. by not injecting and letting it use the RadeonFramebuffer its working normal. 

 

As far as cinabench I've tried a few different framebuffers and they all give the same score for me and i have gotten my highest score of 105 with using RadeonFramebuffer so there is no need to think about performance. Frame buffer names have nothing to do with performance and for us are strictly for output configs.



#282
parabol4

parabol4

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:Belgium

the "window sever problem" is windows server crashes by disconnecting a monitor and then that crashes all displays while it tries to reconnect. Im not the only one thats seen this and I've tested with a few people on trying to fix it and its still a problem. by not injecting and letting it use the RadeonFramebuffer its working normal. 

 

As far as cinabench I've tried a few different framebuffers and they all give the same score for me and i have gotten my highest score of 105 with using RadeonFramebuffer so there is no need to think about performance. Frame buffer names have nothing to do with performance and for us are strictly for output configs.

 

Interesting, thanks. There are some framebuffer specific parameters in the X4000 plist for example, that seem to indicate differences in power management or rendering. I have no clue about what specifically they manage. You should check them out.

 

As for the crash on disconnecting a monitor. If the disconnect is wanted and not involuntary, you should use this handy piece of software https://github.com/Eun/DisableMonitor to first disable them in the OS. I have a multi-monitor setup myself, and this app is enormously useful. You can even make scripts with it, as it supports command-line.



#283
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,408 posts
  • Gender:Not Telling

the "window sever problem" is windows server crashes by disconnecting a monitor and then that crashes all displays while it tries to reconnect. Im not the only one thats seen this and I've tested with a few people on trying to fix it and its still a problem. by not injecting and letting it use the RadeonFramebuffer its working normal. 

 

As far as cinabench I've tried a few different framebuffers and they all give the same score for me and i have gotten my highest score of 105 with using RadeonFramebuffer so there is no need to think about performance. Frame buffer names have nothing to do with performance and for us are strictly for output configs.

 

I've got my Sapphire Dual-X 270X running right OOB just like you said. It loads the Radeon FB and scores 82 in Cinebench, but it's far from the 120 it does on Windows, and from your 105. Could you tell me what SMBIOS and patches you're using? Could the CPU be the reason for the difference? Just to compare, could you run Geeks3D's GpuTest?

 

GpuTest.pngGpuTest%20fs.pngGpuTest%20JuliaFP64.png



#284
joe75

joe75

    Renegade

  • Retired
  • 2,308 posts
  • Gender:Male
  • Location:Rochester, NY

Im using MP6,1 and no extra patches or injection. Doing the benches you listed with same sizes I get:

 

4963 82fps

 

7648 128fps

 

7448 123fps

 

I ran cinebench after that and got 98fps. I would guess my cpu is adding the extra fps in cinebench but you are @4.5 and mine is auto to 4.0, and you have 270X which is a little faster than mine. I don't understand why your GpuTest 1024x640 windowed score is so much higher than mine or why my fullscreen 1920x180 is so much higher than yours :P



#285
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,408 posts
  • Gender:Not Telling
Thanks joe75, seems like performance is inconsistent in Cinebench and that the CPU affects it quite a bit. For now I'm also using the MacPro6,1 profile but with Vlada's PM patch for Sandy, so I get good PStates and the graphics performance is good too, but I think it should be better. I'll try with the new iMac profile just to see if there's any performance difference and report back.

#286
warrimonk

warrimonk

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Just want to say that I updated my mackintosh to an Z97 Intel 4690k and my Club3D R9 270x works perfectly with no changes to the drivers at all. It seems AMD is to blame for my issues. 

 

Thanks again!



#287
maleorderbride

maleorderbride

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 353 posts
  • Gender:Male

CInebench OpenGL is heavily CPU-biased. Don't use it, or at least don't think it means anything other than you have functional OpenCL.



#288
TimeShift

TimeShift

    InsanelyMac Protégé

  • Members
  • PipPip
  • 96 posts
  • Gender:Male
  • Location:Porto Alegre, RS - Brazil

I edited myself my AMDRadeonX4000, AMD7000Controller and added the DSDT patch (under P0P2) but I won't get any video after the verbose boot finishes. If I don't use my DSDT but still use the patched kexts I still get no video. If I don't load the kexts (kext-dev-mode=0) then I get video but with no acceleration (sh**).

 

This is what I get when not using the kexts, only the DSDT patch:

 

1hZd7cy.png

 

Any ideas on how to fix this? Thanks!

 

 

EDIT:

 

After only patching AMD7000Controller and rebooting with kext-dev-mode=1, I was able to boot "successfully". I just get a black screen but the system is working, I had to "imagine" the screen and put the computer to sleep (imagining and trying to get the clicks right), then after waking up I got video but without acceleration. If I boot without DSDT, only with AMD7000Controller patched, I get video but without acceleration and the graphic card is identified as 7xxx series.



#289
copil

copil

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,946 posts
  • Gender:Male
  • Location:Italy

TimeShift

add complete ID 68111002 in the two kext above

 

and that's it, you've tried?


#290
TimeShift

TimeShift

    InsanelyMac Protégé

  • Members
  • PipPip
  • 96 posts
  • Gender:Male
  • Location:Porto Alegre, RS - Brazil

 

TimeShift

add complete ID 68111002 in the two kext above

 

and that's it, you've tried?

 

Yeah. All I get is a quick flash after finishing the boot process. Just like that flash you get when you are going to get video but here nothing shows up. I guess the opposite was supposed to happen: when I have the ID on those kexts, I should get video and when I don't have the ID inserted, I shouldn't get. But the inverse is happening.

 

I found out that the problem is when X4000 gets loaded. I get video (even though w/o acceleration) if only 7000Controller is loaded, but I get no video at all if X4000 gets loaded.

 

My boot loader is chameleon 2.3svn r2468.

 

EDIT:

 

Alright, turns out I was adding my device ID on the wrong personality in the X4000 kext. And I also had to remove the DSDT patch (thought I had to use both DSDT and kexts). Now everything is working. Many thanks!!!



#291
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 posts
  • Gender:Male
  • Location:Serbia
Ok, It's obvious that there are some differences between certain GPU models, so basically the only one thing that I can do more, is to explain how I was made this patch via tutorial. 
 
So here it is and I hope that it will help you all:
 

[HOW TO] Modification of AMD FB + Clover injection

 

Best! 



#292
maleorderbride

maleorderbride

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 353 posts
  • Gender:Male

I am using the default RadeonFramebuffer with my XFX Double D 270X in 10.9.5, which allows me to get to desktop without any problems and apps work.

 

However, if I connect my 2560x1440 display via DVI (instead of using my default 1920x1080 via DVI) then I get weird graphical glitches and lines. Replugging the DVI after the OS boots seems to fix it, but would like to avoid that.

 

Does anyone else have this problem? Is it worth messing with an individual framebuffer to try to address this? I do like the default Radeon one otherwise =/

 

edit: setting

 

Graphics Mode=2560x1440x32 was all it took ;p

 

Now to find a good 1440p theme! :)



#293
Zackptg5

Zackptg5

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts

I have the power color radeon r9 270 and based on the files from Vlad and his frame buffer guide, I got it fully working with chameleon. I've attached the dsdt patch, patched 10.10.1 AMD7000Controller.kext, and patched 10.10.1 AGPM kext (for the mac mini 6,2 smbios).

 

In order to use chameleon with a radeon hd7xxx based card, you need to install it to the EFI partition instead of the normal method. You can google it since the guide is on a website not supported here.

 

Attached File  Screen Shot 2015-01-09 at 10.43.07 AM.png   80.84KB   3 downloads

 

Attached File  Screen Shot 2015-01-09 at 10.48.10 AM.png   61.64KB   2 downloads

Attached Files



#294
ERVANIX

ERVANIX

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Hi Vlada, 

 

I have a Gigabyte R9 270X, i only can boot without the AMDRadeonX4000.kext, Yosemite recognize my graphic as AMD Radeon R9 270X 2048 MB, but no acceleration.

If i put AMDRadeonX4000.kext in S/L/E i have a black screen with mouse cursor and beachball spinning(i can move the mouse).

 

I tried with Uefi clover injected Ati has you post in your manual and with chameleon installing the R9 270 Series pkg with no luck. Same results  black screen with mouse cursor and beachball spinning(i can move the mouse).

 

Without AMDRadeonX4000.kext no acceleration i have 2 monitors 1 dvi 1 Hdmi working.

 

Radeon Bios Code

ATOM BIOS Rom: 
	SubsystemVendorID: 0x1458 SubsystemID: 0x2272
	IOBaseAddress: 0x0000
	Filename: R927XO2D.F1 
	BIOS Bootup Message: 
GV-R927XOC-2GD/F1                                                           

PCI ID: 1002:6810
Connector at index 0
	Type [@offset 43520]: DisplayPort (10)
	Encoder [@offset 43524]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43630]: 0x90, OSX senseid: 0x1
Connector at index 1
	Type [@offset 43530]: HDMI-A (11)
	Encoder [@offset 43534]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43657]: 0x92, OSX senseid: 0x3
Connector at index 2
	Type [@offset 43540]: DVI-I (2)
	Encoder [@offset 43544]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43694]: 0x95, OSX senseid: 0x6
Connector at index 3
	Type [@offset 43550]: DVI-I (2)
	Encoder [@offset 43554]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43694]: 0x95, OSX senseid: 0x6
Connector at index 4
	Type [@offset 43560]: DVI-D (3)
	Encoder [@offset 43564]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 43721]: 0x94, OSX senseid: 0x5

Kext loaded

   82    2 0xffffff7f81bf9000 0x11f000   0x11f000   com.apple.kext.AMDSupport (1.2.8) <81 71 12 11 7 5 4 3 1>
   83    0 0xffffff7f81d18000 0x420000   0x420000   com.apple.kext.AMD7000Controller (1.2.8) <82 71 12 11 5 4 3 1>
  100    0 0xffffff7f8223f000 0x24000    0x24000    com.apple.kext.AMDFramebuffer (1.2.8) <82 71 12 11 7 5 4 3 1>

Thank you in advance for any help you can provide.



#295
grom306

grom306

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Russia Saint Petersburg

Hi Vlada, 

 

I have a Gigabyte R9 270X, i only can boot without the AMDRadeonX4000.kext, Yosemite recognize my graphic as AMD Radeon R9 270X 2048 MB, but no acceleration.

If i put AMDRadeonX4000.kext in S/L/E i have a black screen with mouse cursor and beachball spinning(i can move the mouse).

 

I tried with Uefi clover injected Ati has you post in your manual and with chameleon installing the R9 270 Series pkg with no luck. Same results  black screen with mouse cursor and beachball spinning(i can move the mouse).

 

Without AMDRadeonX4000.kext no acceleration i have 2 monitors 1 dvi 1 Hdmi working.

 

Radeon Bios Code





ATOM BIOS Rom: 
	SubsystemVendorID: 0x1458 SubsystemID: 0x2272
	IOBaseAddress: 0x0000
	Filename: R927XO2D.F1 
	BIOS Bootup Message: 
GV-R927XOC-2GD/F1                                                           

PCI ID: 1002:6810
Connector at index 0
	Type [@offset 43520]: DisplayPort (10)
	Encoder [@offset 43524]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43630]: 0x90, OSX senseid: 0x1
Connector at index 1
	Type [@offset 43530]: HDMI-A (11)
	Encoder [@offset 43534]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43657]: 0x92, OSX senseid: 0x3
Connector at index 2
	Type [@offset 43540]: DVI-I (2)
	Encoder [@offset 43544]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43694]: 0x95, OSX senseid: 0x6
Connector at index 3
	Type [@offset 43550]: DVI-I (2)
	Encoder [@offset 43554]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43694]: 0x95, OSX senseid: 0x6
Connector at index 4
	Type [@offset 43560]: DVI-D (3)
	Encoder [@offset 43564]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 43721]: 0x94, OSX senseid: 0x5

Kext loaded





   82    2 0xffffff7f81bf9000 0x11f000   0x11f000   com.apple.kext.AMDSupport (1.2.8) <81 71 12 11 7 5 4 3 1>
   83    0 0xffffff7f81d18000 0x420000   0x420000   com.apple.kext.AMD7000Controller (1.2.8) <82 71 12 11 5 4 3 1>
  100    0 0xffffff7f8223f000 0x24000    0x24000    com.apple.kext.AMDFramebuffer (1.2.8) <82 71 12 11 7 5 4 3 1>

Thank you in advance for any help you can provide.

http://www.hackintos...for-amd-kernel/ replace original kexts  and back AMDRadeonX4000.kext



#296
ERVANIX

ERVANIX

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

http://www.hackintos...for-amd-kernel/ replace original kexts  and back AMDRadeonX4000.kext

Wow, tks man. That´s it. Thank YOU.



#297
Multisaft

Multisaft

    InsanelyMac Protégé

  • Members
  • PipPip
  • 75 posts
  • Gender:Male
  • Location:Germany

hi guys,

anyone ever tried an 4k SST monitor on the display port of his r9 270x? even more precise on a PowerColor Radeon R9 270X PCS+ using a Philips BDM4065UC monitor? In theory, the dipslay port 1.2 should provide the full 4k resolution via sst protokoll and 60Hz. 

at the moment im using 2 24" connected via hdmi, but I'm thinking about a change to the philips monitor.

 

greetings







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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