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. 
daniesy

AMD r9 270 problem

43 posts in this topic

Recommended Posts

Hello!

I just got a brand new AMD R9 270 graphics card and i can't seem to make it work on Mavericks. I'm using clover as a bootloader...

I've attached a picture of the system profiler info...

Can you please help me?

Thanks a lot!

D.

 

post-457859-0-59650300-1386692499_thumb.png

Share this post


Link to post
Share on other sites

post DSDT an ioreg


well, the  device id of your card not present in the AMDController7000.kext,,,, edit the info.plist of the kext AMDController7000.kext with  your device id  68111002

 

In the kext AMDRadeonX4000.kext edit here with the  device id  of your Card : 68111002, then repair permissions reboot

 

<key>AMDPitcairnGraphicsAccelerator</key>
<dict>
<key>ATIEnableWideBlitSupport</key>
<true/>
<key>ATIUseTearingWideBlit</key>
<false/>
<key>CFBundleIdentifier</key>
<string>com.apple.AMDRadeonX4000</string>
<key>GpuDebugPolicy</key>
<integer>0</integer>
<key>IOClass</key>
<string>AMDPitcairnGraphicsAccelerator</string>
<key>IODVDBundleName</key>
<string>AMDRadeonVADriver</string>
<key>IOKitDebug</key>
<integer>0</integer>
<key>IOMatchCategory</key>
<string>IOAccelerator</string>
<key>IOPCIMatch</key>
<string>0x68001002 0x68011002 0x68061002 0x68081002 0x68101002 0x68111002</string>
<key>IOProbeScore</key>
<integer>200</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOSourceVersion</key>
<string>0.0.0.0.0</string>
<key>IOVARendererID</key>
<integer>16908288</integer>
<key>sensor-properties</key>

Share this post


Link to post
Share on other sites

Ok i did it. Now it believes my GPU is ATI 7xxx with correct memory, i still have no graphics support :( can't play any videos and the OS animations are choppy :(

Share this post


Link to post
Share on other sites

I managed to make it work: I had to edit also the AMDRadeonX4000.kext in the same way.

Thanks iFIRE for the support :)

Share this post


Link to post
Share on other sites

of course, this that I put in my above post: AMDRadeonX4000.kext edit here with your device id 68111002, then repair permissions reboot

 

Congratulations!!!! :D 

 

Good Hack!!!

Share this post


Link to post
Share on other sites

It looks like your boot is trying to allocate an instance of a Hawaii driver -- that would be for the r9 290/290x not the 270. Assuming you are using an r9 270 you've probably edited the kexts incorrectly -- I'd guess you put the device id into the Hawaii section rather than the Pitcairn section.

Share this post


Link to post
Share on other sites

It looks like your boot is trying to allocate an instance of a Hawaii driver -- that would be for the r9 290/290x not the 270. Assuming you are using an r9 270 you've probably edited the kexts incorrectly -- I'd guess you put the device id into the Hawaii section rather than the Pitcairn section.

i have a 290x and was sent here by the admins to see if this method would work which is kinda does but no kext's get's loaded by the next beta of 10.9.2 i think a 290x should work as everything is needed and all the driver info is their all i have to do is make the driver load

Share this post


Link to post
Share on other sites

I have my R9 270 recognized as 7xxx series with 2048MB memory, but then when i try to run any 3D application that requires OpenGL to function such as Unigine Heaven Benchmark tool or certain games, thing happens to run extremely slow at 3~5 FPS which is terrible. Is there anyone can help?

Share this post


Link to post
Share on other sites

I have my R9 270 recognized as 7xxx series with 2048MB memory, but then when i try to run any 3D application that requires OpenGL to function such as Unigine Heaven Benchmark tool or certain games, thing happens to run extremely slow at 3~5 FPS which is terrible. Is there anyone can help?

 

This happens to me too...

Share this post


Link to post
Share on other sites

well, I think that this is a problem with framebuffer, can be that if you not asigne any framebuffer, the system load the default Framebubuffer. look this example for my ATI 5000 Series, I set in boot.plist mine Vervet for my card.

 

 

bash-3.2# lspci -nnvd 0x1002: | grep -B2 Subsystem

 

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series] [1002:68b8] 

(prog-if 00 [VGA controller])

Subsystem: XFX Pine Group Inc. Unknown device [1682:2991]

--

 

01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]

Subsystem: XFX Pine Group Inc. Unknown device [1682:aa58]

bash-3.2# lspci -nnvd 0x1002: | grep -B2 Subsystemdeleted s/l/coreservices/platformsupport.plist

 

 sudo kextstat | grep AMD

63 2 0xffffff7f80ba9000 0x1d8000 0x1d8000 com.apple.kext.AMDSupport (8.0.0) <62 10 9 7 5 4 3 1>

64 0 0xffffff7f80d81000 0x41000 0x41000 com.apple.kext.AMD5000Controller (8.0.0) <63 62 10 9 5 4 3 1>

75 0 0xffffff7f80e62000 0x3cd000 0x3cd000 com.apple.AMDRadeonAccelerator (1.0.0) <74 73 62 10 7 5 4 3 1>

77 0 0xffffff7f812ca000 0x13000 0x13000 com.apple.kext.AMDFramebuffer (8.0.0) <63 62 10 9 7 5 4 3 1>

 

 

bash-3.2# ioreg | grep ATY

    | |   |   | +-o ATY,Vervet@0  <class AtiFbStub, id 0x10000035e, registered, matched, active, busy 0 (90 ms), retain 8>

    | |   |   | | +-o ATY_Vervet  <class AMDFramebuffer, id 0x10000036b, registered, matched, active, busy 0 (16 ms), retain 18>

    | |   |   | +-o ATY,Vervet@1  <class AtiFbStub, id 0x10000035f, registered, matched, active, busy 0 (0 ms), retain 8>

    | |   |   | | +-o ATY_Vervet  <class AMDFramebuffer, id 0x100000379, registered, matched, active, busy 0 (0 ms), retain 14>

    | |   |   | +-o ATY,Vervet@2  <class AtiFbStub, id 0x100000360, registered, matched, active, busy 0 (0 ms), retain 8>

    | |   |   | | +-o ATY_Vervet  <class AMDFramebuffer, id 0x10000037f, registered, matched, active, busy 0 (0 ms), retain 14>

    | |   |   | +-o ATY,Vervet@3  <class AtiFbStub, id 0x100000361, registered, matched, active, busy 0 (0 ms), retain 8>

    | |   |   | | +-o ATY_Vervet  <class AMDFramebuffer, id 0x100000385, registered, matched, active, busy 0 (0 ms), retain 14>

bash-3.2# 

Share this post


Link to post
Share on other sites

well, you can try to test other  framebuffer  from the list down, add in your boot.plist the flag AtiConfig=..........,  conforme the output of the yours  graphics, and if  is needed patch the Framebuffer, and this can help too

 
<key>AtiConfig</key>
<string>Vervet</string> your framebuffer here
<key>AtiPorts</key>

<string>4</string>          yours output video

<key>UseAtiROM</key> Extract the rom from your card and rename with your device id  of your card and put in Extra.  EX: mine: 1002_68B8.rom

<string>Yes</string>

 

ATI7000Controller.kext

Aji (4) @ 0xa1c60
DP, DP, DDVI, HDMI
00040000040300000001010012040501
00040000040300000001020022050402
04000000140200000001030000000306
00080000040200000001040011020104

Buri (4) @ 0xa1ca0
LVDS, DP, DP, HDMI
02000000000100002905010010000505
00040000040300000009020011020101
00040000040300000009030021030202
00080000040200000001040012040303

Chutoro (5) @ 0xa1ce0
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020011020101
00040000000100000009030021030202
00040000000100000009040022050404
00040000040300000001050010000505

Dashimaki (4) @ 0xa1d30
DP, DP, DDVI, HDMI
00040000040300000001010012040202
00040000040300000001020022050305
04000000140200000001030000000404
00080000040200000001040011020101

Ebi (5) @ 0xa1d70
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020011020101
00040000000100000009030021030202
00040000000100000009040022050404
00040000040300000001050010000505

Gari (5) @ 0xa1dc0
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020011020101
00040000000100000009030021030202
00040000000100000009040022050404
00040000040300000001050010000505

Futomaki (4) @ 0xa1e10
DP, DP, DDVI, HDMI
00040000040300000001010012040401
00040000040300000001020022050502
04000000140200000001030000000606
00080000040200000001040011020103

Hamachi (4) @ 0xa1e50
DP, DP, DDVI, HDMI
00040000040300000001010012040501
00040000040300000001020022050402
04000000140200000001030000000306
00080000040200000001040011020104

OPM (6) @ 0xa1e90
DP, DP, DP, DP, DP, DP
00040000040300000001000011020101
00040000040300000001000021030202
00040000040300000001000012040303
00040000040300000001000022050404
00040000040300000001000010000505
00040000140300000001000020010606

Ikura (1) @ 0xa1ef0
HDMI
00080000040200000001010012040301

IkuraS (6) @ 0xa1f00
DP, DP, DP, DP, DP, DP
00040000040300000001010011020103
00040000040300000001020021030204
00040000040300000001830012040301
00040000040300000001040022050402
00040000040300000001050010000505
00040000040300000001060020010606

Junsai (6) @ 0xa1f60
DP, DP, DP, DP, DP, DP
00040000040300000001000012040301
00040000040300000001000022050402
00040000040300000001000011020103
00040000040300000001000021030204
00040000040300000001000010000505
00040000040300000001000020010606

Kani (1) @ 0xa1fc0
HDMI
00080000040200000001010012040301

KaniS (6) @ 0xa1fd0
DP, DP, DP, DP, DP, DP
00040000040300000001010011020103
00040000040300000001020021030204
00040000040300000001830012040301
00040000040300000001040022050402
00040000040300000001050010000505
00040000040300000001060020010606

DashimakiS (4) @ 0xa2030
DP, DP, DDVI, HDMI
00040000040300000001010012040202
00040000040300000001020022050305
04000000140200000001030000000404
00080000040200000001040011020101

Maguro (1) @ 0xa2070
HDMI
00080000040200000001010012040301

MaguroS (6) @ 0xa2080
DP, DP, DP, DP, DP, DP
00040000040300000001010011020103
00040000040300000001020021030204
00040000040300000001830012040301
00040000040300000001040022050402
00040000040300000001050010000505
00040000040300000001060020010606

Share this post


Link to post
Share on other sites

I get 26FPS in Cinebench and very low performance in Geeks3d GpuTest. Here are some dumps 


192-168-0-100:~ daniesy$ ioreg | grep ATY
    | |   |   | +-o ATY,AMD,RadeonFramebuffer@0  <class AtiFbStub, id 0x100000336, registered, matched, active, busy 0 (13 ms), retain 8>
    | |   |   | +-o ATY,AMD,RadeonFramebuffer@1  <class AtiFbStub, id 0x100000337, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | +-o ATY,AMD,RadeonFramebuffer@2  <class AtiFbStub, id 0x100000338, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | +-o ATY,AMD,RadeonFramebuffer@3  <class AtiFbStub, id 0x100000339, registered, matched, active, busy 0 (0 ms), retain 8>
192-168-0-100:~ daniesy$  sudo kextstat | grep AMD
   75    2 0xffffff7f81a65000 0x7a000    0x7a000    com.apple.kext.AMDSupport (1.1.4) <74 70 11 10 7 5 4 3 1>
   76    0 0xffffff7f81fb0000 0x1d6000   0x1d6000   com.apple.kext.AMD7000Controller (1.1.4) <75 70 11 10 5 4 3 1>
   91    0 0xffffff7f81b44000 0x381000   0x381000   com.apple.AMDRadeonX4000 (1.1.4) <90 70 11 7 5 4 3 1>
  103    0 0xffffff7f81f94000 0x14000    0x14000    com.apple.kext.AMDFramebuffer (1.1.4) <75 70 11 10 7 5 4 3 1>

I cannot run the lspci -nnvd 0x1002: | grep -B2 Subsystem command :(

Share this post


Link to post
Share on other sites

this not importantI cannot run the lspci -nnvd 0x1002: | grep -B2 Subsystem command

 

like you can see, your system is using the default Framebuffer, you have tested others framebuffers from this post ?  #20 icon_share.png

92-168-0-100:~ daniesy$ ioreg | grep ATY
   
| |   |   | +-o ATY,AMD,RadeonFramebuffer@0  <class AtiFbStub, id 0x100000336, registered, matched, active, busy 0 (13 ms), retain 8>

Share this post


Link to post
Share on other sites

I'm just wondering, if there's anyone who has R9 270 framebuffer patched successfully? I just can't make it work...

iFIRE, you've been very helpful, though. thank you!

Share this post


Link to post
Share on other sites

I got 2x r9 270 in my macpro 2009 with 10.9.2.

Cinebench is 53.32

ioreg show that it is using default framebuffer.

I'm working with FCPX 10.1.1 most of the time, I've tested with BruceX and it was done in 35 sec. (was more than 160 sec with 10.9.1)

Tested also on OpenGL Extension Viewer and have 1736 with 4.1 (was less than 200 if I remember with 10.9.1)

I've modified AMD7000Controller.kext and AMDRadeonX4000.kext to add the card id.

Also I used ATYinjector.kext (modified)

 

Also on 10.9.1, it was unstable.

Share this post


Link to post
Share on other sites

Hey yoda. Can you share the kexts ? ATYinjector.kext on 10.9.2 didn't work at all. I also have a R9 270 GPU...

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.

×