Jump to content
Vlada.

[HOW TO] Modification of AMD FB + Clover injection

403 posts in this topic

Recommended Posts

Hi !

 

I believe I need some help on this one... My card is a Sapphire Dual-X R9 280X 3G D5 (1002,6798). It has a DisplayPort connector, an HDMI, a DVI-D and a DVI-I.

 

I want to use three displays, but no matter what I try, only two are able to fire up when reaching the desktop. My displays are connected via DisplayPort, HDMI and DVI-D, and none of the DVI connectors turn on.

 

Every single display works fine when it is the only one connected to the card, and every combination of two monitors works too without problems, so this fact leads me to believe the solution could be easy.

 

These are my radeon & redsock dumps:

ATOM BIOS Rom: 
	SubsystemVendorID: 0x174b SubsystemID: 0x3001
	IOBaseAddress: 0x0000
	Filename: 249L0C00.U46
	BIOS Bootup Message: 
Tahiti B0 XTL C38650 GDDR5 3GB 500e/150m                                    

PCI ID: 1002:6798
Connector at index 0
	Type [@offset 43578]: DisplayPort (10)
	Encoder [@offset 43582]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43696]: 0x90, OSX senseid: 0x1
	HotPlugID: 5
Connector at index 1
	Type [@offset 43588]: HDMI-A (11)
	Encoder [@offset 43592]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43723]: 0x91, OSX senseid: 0x2
	HotPlugID: 4
Connector at index 2
	Type [@offset 43598]: DVI-D (3)
	Encoder [@offset 43602]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 43750]: 0x92, OSX senseid: 0x3
	HotPlugID: 1
Connector at index 3
	Type [@offset 43608]: DVI-I (2)
	Encoder [@offset 43612]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43787]: 0x95, OSX senseid: 0x6
	HotPlugID: 3
Connector at index 4
	Type [@offset 43618]: DVI-I (2)
	Encoder [@offset 43622]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43787]: 0x95, OSX senseid: 0x6
	HotPlugID: 3

249L0C00.U46:

Tahiti B0 XTL C38650 GDDR5 3GB 500e/150m                                    

Subsystem Vendor ID: 174b
       Subsystem ID: 3001
Object Header Structure Size: 384
Connector Object Table Offset: 48
Router Object Table Offset: 0
Encoder Object Table Offset: 118
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 [4] which is [DVI_D]
	encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
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

Here are the framebuffers included in the AMD7000Controller.kext from 10.10.5:

-------------------------AMD7000Controller.kext-------------------------

Ramen (6) @ 0x1a2c50
LVDS, HDMI, DP, DP, DP, DP
02000000000100002904010020010506
00080000040200000001020010000305
00040000040300000001030711020101
00040000000100000001040321030403
00040000040300000001050712040202
00040000000100000001060322050403

Namako (4) @ 0x1a2d20
LVDS, LVDS, DP, DP
02000000000100000001010322050202
02000000000100000001020312040101
00040000040300000001030711020303
00040000040300000001040721030404

Aji (4) @ 0x1a2dc0
DP, DP, DDVI, HDMI
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104

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

Chutoro (5) @ 0x1a2e40
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020111020101
00040000000100000009030021030202
00040000000100000009040022050404
00040000040300000001050010000505

Dashimaki (4) @ 0x1a2e90
DP, DP, DDVI, HDMI
00040000040300000001010112040202
00040000040300000001020022050305
04000000140200000001030100000404
00080000040200000001040011020101

Ebi (5) @ 0x1a2ed0
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020111020101
00040000000100000009030121030202
00040000000100000009040122050404
00040000040300000001050110000505

Gari (5) @ 0x1a2f20
LVDS, DP, DP, DP, DP
02000000000100000901010012040303
00040000040300000001020111020101
00040000000100000009030021030202
00040000000100000009040022050404
00040000040300000001050010000505

Futomaki (4) @ 0x1a2fa0
DP, DP, DDVI, HDMI
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103

Hamachi (4) @ 0x1a2fe0
DP, DP, DDVI, HDMI
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104

OPM (6) @ 0x1a3060
DP, DP, DP, DP, DP, DP
00040000040300000001000111020101
00040000040300000001000121030202
00040000040300000001000112040303
00040000040300000001000122050404
00040000040300000001000110000505
00040000140300000001000120010606

Ikura (1) @ 0x1a30c0
HDMI
00080000040200000001010012040301

IkuraS (6) @ 0x1a30d0
DP, DP, DP, DP, DP, DP
00040000040300000001010711020103
00040000040300000001020721030204
00040000040300000001030712040301
00040000040300000001040722050402
00040000040300000001050710000505
00040000040300000001060720010606

Junsai (6) @ 0x1a3130
DP, DP, DP, DP, DP, DP
00040000040300000001000112040301
00040000040300000001000122050402
00040000040300000001000111020103
00040000040300000001000121030204
00040000040300000001000110000505
00040000040300000001000120010606

Kani (1) @ 0x1a3190
HDMI
00080000040200000001010012040301

KaniS (6) @ 0x1a31a0
DP, DP, DP, DP, DP, DP
00040000040300000001010711020103
00040000040300000001020721030204
00040000040300000001030712040301
00040000040300000001040722050402
00040000040300000001050710000505
00040000040300000001060720010606

DashimakiS (4) @ 0x1a3200
DP, DP, DDVI, HDMI
00040000040300000001010112040202
00040000040300000001020122050305
04000000140200000001030000000404
00080000040200000001040011020101

Maguro (1) @ 0x1a3240
HDMI
00080000040200000001010012040301

MaguroS (6) @ 0x1a3250
DP, DP, DP, DP, DP, DP
00040000040300000001010711020103
00040000040300000001020721030204
00040000040300000001030712040301
00040000040300000001040722050402
00040000040300000001050710000505
00040000040300000001060720010606


Since Clover injects Futomaki by default, this is the framebuffer I chose for editing. It has four ports (like my card) and HDMI audio worked OOB on at least one screen, so I thought it was a good candidate.

 

So I turned what is contained within Futomaki:

Futomaki (4) @ 0x1a2fa0
DP, DP, DDVI, HDMI
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103

into:

00040000040300000001010112040501 - DP
00080000000200000001020122050402 - HDMI-A
04000000140200000001030011020103 - DVI-D
04000000040200000001040000100306 - DVI-I

...but it didn't work. The only change was that there were two HDMI audio connections available now (both in the displays that were up and running: DisplayPort and HDMI), so the problem with DVI connection was still there.

 

So I tried again, changing this time the order of initialization of ports to DVI-D, HDMI, DP and DVI-I, but I got the same results.

 

That's why now I'm wondering what could be the best way to keep on trying. So I've attached all the necessary information about my system (DSDT & SSDT, ioregs and config.plist of every change made) in the hope that someone could help me.

 

Sorry for the long post and thanks in advance!

 

attachicon.gifultrazone_baseline.zip

Sapphire Dual-X R9 280X should be using Aji or Hamachi, not Futomaki

Share this post


Link to post
Share on other sites
Advertisement

Hey, guys! When using DVI-I it's working 100%, goes straight to the desktop. But when I want to plug it in my TV, I use HDMI, and it's not working how it should, the screen just stays black and I have to put the computer to sleep and wake it up to get video working.

 

I'm using the Futomaki FB (patched using method on OP) and FakeID injection on Clover (68101002). Remember my card is a R9 270 not a 270X.

 

Anyone know how to fix this or why it happens? Thanks!

Share this post


Link to post
Share on other sites

I'm getting the same results with Aji and Hamachi.

 

Thanks!

Its no deal breaker if you are using futomaki

Share this post


Link to post
Share on other sites

I'm still unable to get the framebuffer patch to walk tried this guide and the one here http://www.rampagedev.com/?page_id=82&page=10 and still system crashes when connecting more then one monitor on my 390 Card. If someone wants to help me patch it please send me a pm and I can provide you with all the files you need. (Or check my post earlier in thread). Thanks.

Share this post


Link to post
Share on other sites

@Picasso

To just get it to work is no problem. The problem is to get it to work with more then one monitor and then FB patch seems to be the only thing that shall help.

Share this post


Link to post
Share on other sites

Hello everyone since 3 days i am trying to get the connector information, I have Intel +AMD switchable Laptop intel hd 3000 + AMD 6770M well i have successfully extracted the rom using this article 

 

http://www.hackintoshmumbai.com/extract-gpu-rom-from-windows-amd-only/

 

i use this method because i am not able to get info when i dump the rom using Clover+F6 

 

i have try decode the rom using that decoder which Vlada provides but i got this but nothing anything 

12654402_1081147635258127_20713748327015

 

Help me get ConnectorInfo guys .....

c0000.bin.zip

1002_6740.rom.zip

post-957871-0-22899100-1455129965_thumb.png

Share this post


Link to post
Share on other sites

Finaly i did it! These are my Settings for 2 different RADEON GFX-Cards with different FrameBuffers via "Arbitrary"-Key under "Devices":

 

post-598588-0-62805000-1455143805_thumb.jpg

 

Radeon HD6570 runs with FB "Gibba" while R9 380X runs with FB "Greyhound". Full QE and Accelleration.

Connected are actually 3 Monitors: 4k Iilyama DP and Samsung 48" TV HDMI via R9 380X and same 4k Iilyama HDMI via HD6570

 

HD6570 in PCI-Slot#1 (primary Boot-GFX), Radeon R9 380X in PCI-Slot#3

 

Thanx for the hint to "Arbitrary" Key...  ;-)

Share this post


Link to post
Share on other sites

Helloo guys, i have a Sapphire R9 290 Vapor-x videocard and i cannot enable video acceleration in El Capitan. When i enable Ati injection the screen goes black. Can u help me with FB and Clover inection? becase i`m new in this and i cannot understand various steps on the tutorial :). Thank you! I`m usin 2 monitors. Thank you in advance!

1002_67b1.zip

Share this post


Link to post
Share on other sites

Helloo guys, i have a Sapphire R9 290 Vapor-x videocard and i cannot enable video acceleration in El Capitan. When i enable Ati injection the screen goes black. Can u help me with FB and Clover inection? becase i`m new in this and i cannot understand various steps on the tutorial :). Thank you! I`m usin 2 monitors. Thank you in advance!

 

Try this in clover:

</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>ATIConnectorsController</key>
<string>8000</string>
<key>ATIConnectorsData</key>
<string>000400000403000000010300120403030004000004030000000101001102010100040000040300000001020021030202000400000403000000010400220504040004000004030000000105001000050500040000040300000001060020010606</string>
<key>ATIConnectorsPatch</key>
<string>000800000402000000010300220503030004000004030000000101001204010100040000040300000001020012040201040000000400000000010400010204040400000004000000000105000000050600040000040300000001060020010605</string>

and in graphic section:

 

</dict>
<key>Graphics</key>
<dict>
<key>FBName</key>
<string>Baladi</string>
<key>Inject</key>
<dict>
<key>ATI</key>
<true/>
<key>Intel</key>
<false/>
<key>NVidia</key>
<false/>
</dict>
<key>LoadVBios</key>
<true/>
<key>NvidiaSingle</key>
<false/>
</dict>

 
in device section ad fake id in ATI:
0x67B01002
Edited by Allan
Specials BBCodes added.

Share this post


Link to post
Share on other sites

Cheers mate, solved my R9 270X Dual-Display issue. Although, Futomaki didn't work; I had to use Hamachi for some reason. Mine is a Sapphire Dual-X 2GB. Another odd thing is that I have to plug in my second display after I log in, or I get screen artifacts. Anyway, not complaining!

 

Thanks,

 

- Matt

Share this post


Link to post
Share on other sites

Hello guys,

 

I am going crazy trying to figure out my Sapphire 7970 3GB card.  Whatever i do i get black screen the only way I can go to desktop is if I use fake id 0x6798 for ATI and put FBName Hamachi.  I am booting in El Capitan 10.11.3

 

I have tried to load vBios but i get black screen.  When i look at DPCIManager i see underframbuffer .Display_boot port5.  What do I need to try next... 

 

Thanks all!

Share this post


Link to post
Share on other sites

Does not work with my Saphire R9 290X. In fact none of the Baladi frame buffer ever had success for me. The only 2-screen-on patch I found was with Exmoor:

 

00 04 00 00  04 03 00 00  00 01  04 00  12  04  02  01 DP

00 08 00 00  00 02 00 00  00 01  03 07  22  05  03  03 HDMI
00 04 00 00  04 03 00 00  00 01  02 07  11  02  01  04 DVI-D (upper)
00 04 00 00  04 03 00 00  00 01  01 07  10  00  06  06 DVI-D (lower)
 

but its rather unstable with a lot of WindowServer error message in the system.log

 

This is on OS X 10.10.5

 

 

Try this in clover:

</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>ATIConnectorsController</key>
<string>8000</string>
<key>ATIConnectorsData</key>
<string>000400000403000000010300120403030004000004030000000101001102010100040000040300000001020021030202000400000403000000010400220504040004000004030000000105001000050500040000040300000001060020010606</string>
<key>ATIConnectorsPatch</key>
<string>000800000402000000010300220503030004000004030000000101001204010100040000040300000001020012040201040000000400000000010400010204040400000004000000000105000000050600040000040300000001060020010605</string>
in device section ad fake id in ATI:
0x67B01002

 

Share this post


Link to post
Share on other sites

Hi, i'm using a MSI R7 260X (1DVI-D,1 DVI-I, 1HDMI, 1DP) on 10.10.1 and can't get it work by patching the Baladi Framebuffer.

Can anybody here take a look at this and help me? I'm stuck, and don't know what to do from this, hehe.

 

Here is my radeon bios decode and redsock bios decoder:

 

ATOM BIOS Rom: 

SubsystemVendorID: 0x1462 SubsystemID: 0x2935
IOBaseAddress: 0x0000
Filename: 918.bin     
BIOS Bootup Message: 113-MSITV293MS.300 
C58204 BONAIRE XTX A1 GDDR5 2GB 128MX32 300E/150M          
PCI ID: 1002:6658
Connector at index 0
Type [@offset 43730]: DisplayPort (10)
Encoder [@offset 43734]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43840]: 0x90, OSX senseid: 0x1
Connector at index 1
Type [@offset 43740]: HDMI-A (11)
Encoder [@offset 43744]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43867]: 0x92, OSX senseid: 0x3
Connector at index 2
Type [@offset 43750]: DVI-D (3)
Encoder [@offset 43754]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 43894]: 0x93, OSX senseid: 0x4
Connector at index 3
Type [@offset 43760]: DVI-I (2)
Encoder [@offset 43764]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 43931]: 0x95, OSX senseid: 0x6
Connector at index 4
Type [@offset 43770]: DVI-I (2)
Encoder [@offset 43774]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 43931]: 0x95, OSX senseid: 0x6
 

 

 

113-MSITV293MS.300 

C58204 BONAIRE XTX A1 GDDR5 2GB 128MX32 300E/150M          
Subsystem Vendor ID: 1462
       Subsystem ID: 2935
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 [4] which is [DVI_D]
encoder obj id [0x20] which is [iNTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
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
 

 

I've tried to patch Baladi Framebuffer but i just got a black screen (connected using HDMI to 1 monitor)

 

 

Original Baladi:

0000000    00  04  00  00  04  03  00  00  00  01  03  00  12  04  03  03
0000010    00  04  00  00  04  03  00  00  00  01  01  00  11  02  01  01
0000020    00  04  00  00  04  03  00  00  00  01  02  00  21  03  02  02
0000030    00  04  00  00  04  03  00  00  00  01  04  00  22  05  04  04
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
 
Patched Baladi:
0000000    00  04  00  00  04  03  00  00  00  01  03  00  12  04  01  01 - DP
0000010    00  08  00  00  00  02  00  00  00  01  01  00  22  05  02  03 - HDMI
0000020    04  00  00  00  14  02  00  00  00  01  02  00  11  02  03  04 - DVI D
0000030    00  02  00  00  04  02  00  00  00  01  04  00  10  00  04  06 - DVI I
0000040    00  02  00  00  04  02  00  00  00  01  05  00  00  10  05  06 - DVI I
0000050    00  04  00  00  04  03  00  00  00  01  06  00  20  01  06  06
 

Share this post


Link to post
Share on other sites

Hey all,

 

I am trying to understand the guide as best I can before I start trying this out. One question I have is, I see some post with the following format

0000000 00  02  00  00  04  00  00  00  00  01  00  00  11  02  01  06
0000010 00  08  00  00  00  02  00  00  00  01  00  00  22  05  06  04
0000020 00  04  00  00  04  03  00  00  00  01  00  00  12  04  04  01  
0000030 04  00  00  00  14  02  00  00  00  01  00  00  10  00  03  05
0000040

vs this format

00  02  00  00  04  00  00  00  00  01  00  00  11  02  01  06
00  08  00  00  00  02  00  00  00  01  00  00  22  05  06  04
00  04  00  00  04  03  00  00  00  01  00  00  12  04  04  01  
04  00  00  00  14  02  00  00  00  01  00  00  10  00  03  05

What do the extra 7 digits (0000010) at the start do of every line do? Do I need to include them in Clover to get the Kext patching to work?

Edited by Allan
Code box added

Share this post


Link to post
Share on other sites

 

Hey all,

 

I am trying to understand the guide as best I can before I start trying this out. One question I have is, I see some post with the following format

0000000 00  02  00  00  04  00  00  00  00  01  00  00  11  02  01  06
0000010 00  08  00  00  00  02  00  00  00  01  00  00  22  05  06  04
0000020 00  04  00  00  04  03  00  00  00  01  00  00  12  04  04  01  
0000030 04  00  00  00  14  02  00  00  00  01  00  00  10  00  03  05
0000040

vs this format

00  02  00  00  04  00  00  00  00  01  00  00  11  02  01  06
00  08  00  00  00  02  00  00  00  01  00  00  22  05  06  04
00  04  00  00  04  03  00  00  00  01  00  00  12  04  04  01  
04  00  00  00  14  02  00  00  00  01  00  00  10  00  03  05

What do the extra 7 digits (0000010) at the start do of every line do? Do I need to include them in Clover to get the Kext patching to work?

 

There are addresses that you must exclude from every line before write into Clover config.

Second example is good.

Share this post


Link to post
Share on other sites

I'm having some problems...

 

I have a SAPPHIRE R9 280X VAPOR-X

 

I can only make work 2 screens at time... 

 

Using the kext patch i can make the 2 DVI works or DP + DVI.

 

Can't do the 3 at the same time...

 

If i dont use any patch the three screens are recognizable on the system configuration, but one screen one shows black screen if i for example print screen it shows perfectly like its working...

 

Any ideia?

01[ Display Port ]
redneck:
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
radeon:
Connector at index 0
	Type [@offset 43576]: DisplayPort (10)
	Encoder [@offset 43580]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43694]: 0x90, OSX senseid: 0x1

Code construction: 00040000040300000001000012040101
00040000040300000001010112040401

02 [HDMI ]
redneck:
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
radeon:
Connector at index 1
	Type [@offset 43586]: HDMI-A (11)
	Encoder [@offset 43590]: INTERNAL_UNIPHY2 (0x21)
	i2cid [@offset 43721]: 0x93, OSX senseid: 0x4

Code construction: 00080000000200000001000022050204
00040000040300000001020122050502

03 [ DVI-D ]
redneck:
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
radeon:
Connector at index 2
	Type [@offset 43596]: DVI-D (3)
	Encoder [@offset 43600]: INTERNAL_UNIPHY1 (0x20)
	i2cid [@offset 43748]: 0x92, OSX senseid: 0x3

Code construction: 04000000140200000001000011020303
04000000140200000001030000000606

04 [ DVI-I ]
redneck:
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
radeon:
Connector at index 3
	Type [@offset 43606]: DVI-I (2)
	Encoder [@offset 43610]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43785]: 0x95, OSX senseid: 0x6

Code construction: 00020000040200000001000010000406
00080000040200000001040011020103


05 [ DVI-I ]
redneck:
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false
radeon:
Connector at index 4
	Type [@offset 43616]: DVI-I (2)
	Encoder [@offset 43620]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43785]: 0x95, OSX senseid: 0x6

Code construction: 00020000040200000001000000100506

Radeon_Bios_Decode.txt

RedSock_Bios_Decoder.txt

1002_6798_3001174b.rom.zip

Share this post


Link to post
Share on other sites

Asus R7 260x OC , it works as 7Mb..... I tried fakeid unfortunately I get black screen but monitor stay on, so does this method will fix my issue? I saw some people got R7 260x to work under osx 10.10 ,,, I use AMD Fx 8350/ Asus M5a97 le rev 2.0 / Asus R7 260x OC 2GDD5. what should I do?

Share this post


Link to post
Share on other sites

Hi everyone!

 

I am trying this on an old Laptop, a HP Pavilion DV6-3035es, with a ATI Mobility Radeon HD 5650 (computer has an i7-720qm processor, with no integrated graphics). I am running El Capitan.

 

I can't extract the ROM for my graphics card using GPU-Z, as I understood after some researching, in my case the graphics card's rom is integrated with the mainboard BIOS. So anyway, I am trying to fix it just trying combinations, but not exactly randomly. I almost got it working.

 

I have:

- (obviosly) a LVDS connector, the monitor integrated on the laptop

- VGA connector

- HDMI connector

 

I am trying to just have my LVDS and HMDI working, I would be more than happy with that. And its almost done, but I am in a strange situation I don't know how to solve:

My LVDS is working perfectly with "Baboon" FB, and also with this customized HEX (following the tutorial in first page for the first 12 pairs, and adding the last 4 pairs, from the working Baboon FB:

02000000 40000000 08010000 01020103

 

The HDMI is not working with any of the other FB for AMD5000Controller, I tried them all.... however, if i don't introduce any FB, and then it defults to "ATY,ATY,RadeonFramebuffer" in the IORegistry (Instead of "ATY,Baboon"), I have my HDMI fully working and not my LVDS.

 

So... if i had a way to boot up my laptop on "ATY,ATY,RadeonFramebuffer", and extract the hex code related to the HDMI connector, and then use it together with the Baboon FB hex code for the LVDS... my setup would be completed. But I don't know how to achieve this. I need a way to extract something like "00080000 00020000 00010000 + XXXXXXXX" to use together with "02000000 40000000 08010000 01020103" and introduce this in the ATI connector patch.

 

Any ideas???

Share this post


Link to post
Share on other sites

Hi, i'm using a MSI R7 260X (1DVI-D,1 DVI-I, 1HDMI, 1DP) on 10.10.1 and can't get it work by patching the Baladi Framebuffer.

Can anybody here take a look at this and help me? I'm stuck, and don't know what to do from this, hehe.

 

Here is my radeon bios decode and redsock bios decoder:

 

 

I've tried to patch Baladi Framebuffer but i just got a black screen (connected using HDMI to 1 monitor)

Same here, I have Asus R7 260x with AMD FX 8350 , I tried to patch Baladi with no luck yet.

Share this post


Link to post
Share on other sites

Hello Coders,

 

i have just noticed, that Framebuffer Repository has changed in SIERRA! See, this is the old code of JUNSAI FB in 10.11.6 AMD7000Controller.kext:

00040000 04030000 00010001 11020603
00040000 04030000 00010001 21030104
00040000 04030000 00010001 12040501
00040000 04030000 00010001 20010206
04000000 14000000 00010001 22050402
00020000 14020000 00010001 10000305

Now look, what it looks like in 10.12 AMD7000Controller.kext:

00040000 04030000 00010001 00000000 12040301 00000000
00040000 04030000 00010001 00000000 22050402 00000000
00040000 04030000 00010001 00000000 11020103 00000000
00040000 04030000 00010001 00000000 21030204 00000000
00040000 04030000 00010001 00000000 10000505 00000000
00040000 04030000 00010001 00000000 20010606 00000000

to make my SAMSUNG 46" HDMI FlatTV and my Dell U3415W 4k Monitor via DP port work, i have to change these settings to

00040000 04030000 00010001 00000000 11020603 00000000
00040000 04030000 00010001 00000000 21030104 00000000
00040000 04030000 00010001 00000000 12040501 00000000
00040000 04030000 00010001 00000000 20010206 00000000
04000000 14000000 00010001 00000000 22050402 00000000
00020000 14020000 00010001 00000000 10000305 00000000

otherwise the Dell Monitor gets recognized by Sierra, but wont display anything, cause of wrong connector-codes.

Also the ati-personality.pl script wont work or better say wont detect any FB anymore.

 

So now how to detect framebuffer codes in SIERRAs AMDx000Controller.kext?

Just run the script under EL CAPITAN with the following command: ati-personality.pl /Volumes/your SIERRA drive here/System/Library/Extensions/AMD7000Controller.kext (Change "AMDx000Controller.kext" to the one desired for your gfx-card).

You will get the following output:

Script version 0.15
Kext /Volumes/macOS_SIERRA/System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller
Personality: Ramen
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890192
Personality: Tako
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890448
Personality: Namako
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890592
Personality: Aji
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890784
Personality: Buri
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890880
Personality: Chutoro
ConnectorInfo count in decimal: 0
Disk offset in decimal 1890976
Personality: Dashimaki
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891104
Personality: Ebi
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891200
Personality: Gari
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891328
Personality: Futomaki
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891504
Personality: Hamachi
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891600
Personality: OPM
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891760
Personality: Ikura
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891904
Personality: IkuraS
ConnectorInfo count in decimal: 0
Disk offset in decimal 1891936
Personality: Junsai
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892080
Personality: Kani
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892224
Personality: KaniS
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892256
Personality: DashimakiS
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892400
Personality: Maguro
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892496
Personality: MaguroS
ConnectorInfo count in decimal: 0
Disk offset in decimal 1892528

Notice the Disk offset in decimal of your corresponding framebuffer. (in my case it was JUNSAI with offset 1892080)

Notice the Disk offset in decimal of the next framebuffer, that will be the beginning of the next framebuffer (in my Case it was KANI at 1892224, so JUNSAI ends at 1892220).

 

Open /Volumes/Your SIERRA Volume here/System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller in an hexeditor and jump to that offset (in my case 1892080):

Bildschirmfoto_2016_06_18_um_12_27_23.pn

Find the offset of next framebuffers beginning. Now copy the desired values to clipboard and paste in for example TextEdit:

00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 12 04 03 01 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 22 05 04 02 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 11 02 01 03 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 21 03 02 04 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 10 00 05 05 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 20 01 06 06 00 00 00 00

delete all spaces and get formated like this:

00040000 04030000 00010001 00000000 12040301 00000000
00040000 04030000 00010001 00000000 22050402 00000000
00040000 04030000 00010001 00000000 11020103 00000000
00040000 04030000 00010001 00000000 21030204 00000000
00040000 04030000 00010001 00000000 10000505 00000000
00040000 04030000 00010001 00000000 20010606 00000000

Now change the BOLD values to your desired values to make the frambuffer work for your card:

 

00040000 04030000 00010001 00000000 12040301 00000000
00040000 04030000 00010001 00000000 22050402 00000000
00040000 04030000 00010001 00000000 11020103 00000000
00040000 04030000 00010001 00000000 21030204 00000000
00040000 04030000 00010001 00000000 10000505 00000000
00040000 04030000 00010001 00000000 20010606 00000000

 

In my case for JUNSAI it looks like this after changing the desired values:

 

00040000 04030000 00010001 00000000 11020603 00000000
00040000 04030000 00010001 00000000 21030104 00000000
00040000 04030000 00010001 00000000 12040501 00000000
00040000 04030000 00010001 00000000 20010206 00000000
04000000 14000000 00010001 00000000 22050402 00000000
00020000 14020000 00010001 00000000 10000305 00000000

 

The blue part are the connector type values for DP, HDMI, DVI etc. In my case just 4 times 0403 for DP and one for DVI-I and DVI-D.

Now delete the Line Returns so that u get just one line, like this:

00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 12 04 03 01 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 22 05 04 02 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 11 02 01 03 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 21 03 02 04 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 10 00 05 05 00 00 00 00 00 04 00 00 04 03 00 00 00 01 00 01 00 00 00 00 20 01 06 06 00 00 00 00

do it for both parts, the original code and your modified code.

 

Now paste the following code to your "Kext to patch" section of info.plist file:

			<dict>
				<key>Comment</key>
				<string>Framebuffer JUNSAI</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>AAQAAAQDAAAAAQABAAAAABIEAwEAAAAAAAQAAAQDAAAAAQABAAAAACIFBAIAAAAAAAQAAAQDAAAAAQABAAAAABECAQMAAAAAAAQAAAQDAAAAAQABAAAAACEDAgQAAAAAAAQAAAQDAAAAAQABAAAAABAABQUAAAAAAAQAAAQDAAAAAQABAAAAACABBgYAAAAA</data>
				<key>Name</key>
				<string>AMD7000Controller</string>
				<key>Replace</key>
				<data>AAQAAAQDAAAAAQABAAAAABECBgMAAAAAAAQAAAQDAAAAAQABAAAAACEDAQQAAAAAAAQAAAQDAAAAAQABAAAAABIEBQEAAAAAAAQAAAQDAAAAAQABAAAAACABAgYAAAAABAAAABQAAAAAAQABAAAAACIFBAIAAAAAAAIAABQCAAAAAQABAAAAABAAAwUAAAAA</data>
			</dict>

or use PListEditor or XCode to generate the entry like this:

 

Bildschirmfoto_2016_06_18_um_12_46_23.pn

Use the desired values you just created - not mine in this example or picture  ;-) (just to make sure).

Save edited info.plist file and reboot. In my case it worked for me: Framebuffer JUNSAI in SIERRA detected and well patched.

 

Regards... Mork vom Ork

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.

  • Similar Content

    • By Coddyx
      Hi,
       
      I followed the AMD OSX Vanilla Guide and managed to successfully build my first hackingtosh.
      Everything works great EXCEPT for my MSI - Radeon RX 580 8 GB GAMING X.
      I ran some benchmarks (and tried World of Warcraft) and I am getting ~50% of the performance I am usually getting in Windows 10.
      Unigine Heaven reports ~950 vs 1750 in Windows and World of Warcraft runs @ 30 fps lowest settings vs 60 fps ultra settings in Windows.
       
      Here are the kexts I am using:
      AppleALC Lilu NullCPUPowerManagement RealtekRTL811 VirtualSMC WhateverGreen  
      I should mention that this is an AMD hackingtosh running on Ryzen 5 1600 3.2 GHz 6-Core Processor.
       
      I read and I completely understand that I should not expect 100% performance. But I believe a 50% drop is out of the ordinary.
       
      If anyone has ideas on what I could try to up the performance it would be greatly appreciated.
       
      Thank you!
       
       
    • By blxkspell
      Hey!
      As I have 3 Monitors connected, my RX 570 gets arround 50°C while ideling/ web browsing etc. The problem is, that this temp is apparently just the threshold, when the fans start to spin. So the fans start spinning for a minute then they stop for a while again... This is very annoying for me as the rest of my hackintosh is nearly quiet (SSD, 120mm low RPM cpu fan, nearly silent PSU,...), especially when Im using the pc to revise for school. Does somebody know wether its possible to "change" the threshold till the fans start spinning? Like it would probably not be a problem for the gpu at all, if the temp rises to 55°C but therefore be soundless....
       
       
    • By vlgngrbrdmn
      Hey all,
       
      This is my first time posting to this forum.
       
      Here is my problem: My main issue is random freezing of my display (i.e. cannot move my mouse) and nothing being displayed after my monitors go to sleep (i.e. lock my screen, wait a few minutes, try to move mouse/type on keyboard. My displays wake up but display "no signal"). I have to reboot in order to use my Hackintosh again.

      Another issue that I am experiencing is that, every time I reboot my system and login initially, my right and left vertical displays do not display correctly until I turn one of them off and back on again. It is kind of hard to describe what is wrong, but basically the dimensions of the display and the orientation (horizontal vs. vertical) is wrong, and my mouse does not display in the correct place on the screen.

      Either way, after some research it looks like this all may be due to my Framebuffer being incorrect. However, I am having a hard time trying to determine whether that is the case and, if so, how to fix it.

      I did manually try to add a Framebuffer ("Kamarang") into my config.plist below, however that did not seem to make a difference.

      Any help with this would be much appreciated! Also, please let me know if I should upload anymore information.

      Currently, My setup consists of 1 Dell U3415w and 2 Dell 2415 monitors in an "H" configuration (both 2415s setup vertically on either side of the U3415W).

      This is all being powered by a SAPPHIRE Radeon RX Vega 64 (https://www.newegg.com/Product/Product.aspx?Item=N82E16814202326) with each monitor plugged via a DisplayPort.

      I am currently running the latest version of macOS Mojave, 10.14.4.

      I am also using the latest version of the Clover boot loader (4920) with the following kexts located in kexts\Other:
      AppleALC.kext AtherosE2200Ethernet.kext Lilu.kext USBInjectAll.kext VegaTab_64.kext VirtualSMC.kext WhateverGreen.kext My config.plist file contains the following:
      ?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>#DisableDrivers</key> <array> <string>CsmVideoDxe</string> <string>VBoxExt4</string> </array> <key>ACPI</key> <dict> <key>DSDT</key> <dict> <key>Fixes</key> <dict> <key>FixHPET</key> <true/> <key>FixIPIC</key> <true/> <key>FixRTC</key> <true/> <key>FixShutdown</key> <true/> <key>FixTMR</key> <true/> </dict> <key>Patches</key> <array> <dict> <key>Comment</key> <string>change XHCI to XHC</string> <key>Disabled</key> <false/> <key>Find</key> <data> WEhDSQ== </data> <key>Replace</key> <data> WEhDXw== </data> </dict> <dict> <key>Comment</key> <string>change XHC1 to XHC</string> <key>Disabled</key> <false/> <key>Find</key> <data> WEhDMQ== </data> <key>Replace</key> <data> WEhDXw== </data> </dict> <dict> <key>Comment</key> <string>change SAT0 to SATA</string> <key>Disabled</key> <false/> <key>Find</key> <data> U0FUMA== </data> <key>Replace</key> <data> U0FUQQ== </data> </dict> </array> </dict> <key>DropTables</key> <array> <dict> <key>Signature</key> <string>DMAR</string> </dict> <dict> <key>Signature</key> <string>MATS</string> </dict> </array> <key>FixHeaders</key> <true/> <key>SSDT</key> <dict> <key>Generate</key> <dict> <key>PluginType</key> <true/> </dict> </dict> </dict> <key>Boot</key> <dict> <key>Arguments</key> <string>keepsyms=1 dart=0 debug=0x100 shikigva=40</string> <key>DefaultVolume</key> <string>LastBootedVolume</string> <key>Timeout</key> <integer>5</integer> </dict> <key>BootGraphics</key> <dict> <key>#DefaultBackgroundColor</key> <string>0xF0F0F0</string> <key>EFILoginHiDPI</key> <integer>1</integer> <key>UIScale</key> <integer>1</integer> </dict> <key>CPU</key> <dict> <key>#BusSpeedkHz</key> <integer>133330</integer> <key>#FrequencyMHz</key> <integer>3140</integer> <key>#HWPEnable</key> <true/> <key>#HWPValue</key> <string>0x30002a01</string> <key>#QPI</key> <integer>4800</integer> <key>#SavingMode</key> <integer>7</integer> <key>#TDP</key> <integer>95</integer> <key>#TurboDisable</key> <true/> <key>#Type</key> <string>0x0201</string> <key>#UseARTFrequency</key> <true/> </dict> <key>Devices</key> <dict> <key>Audio</key> <dict> <key>Inject</key> <integer>1</integer> <key>ResetHDA</key> <true/> </dict> <key>Properties</key> <dict> <key>PciRoot(0x0)/Pci(0x2,0x0)</key> <dict> <key>AAPL,ig-platform-id</key> <data> AAASGQ== </data> <key>framebuffer-patch-enable</key> <data> AQAAAA== </data> <key>framebuffer-stolenmem</key> <data> AAAwAQ== </data> </dict> </dict> <key>USB</key> <dict> <key>FixOwnership</key> <true/> </dict> </dict> <key>GUI</key> <dict> <key>Hide</key> <array> <string>PREBOOT</string> </array> <key>Scan</key> <dict> <key>Entries</key> <true/> <key>Linux</key> <true/> <key>Tool</key> <true/> </dict> </dict> <key>Graphics</key> <dict> <key>FBName</key> <string>Kamarang</string> <key>Inject</key> <dict> <key>ATI</key> <false/> <key>Intel</key> <false/> <key>NVidia</key> <false/> </dict> <key>RadeonDeInit</key> <true/> </dict> <key>KernelAndKextPatches</key> <dict> <key>KernelPm</key> <true/> <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>Port limit increase</string> <key>Disabled</key> <false/> <key>Find</key> <data> g710////EA== </data> <key>InfoPlistPatch</key> <false/> <key>MatchOS</key> <string>10.12.x</string> <key>Name</key> <string>com.apple.driver.usb.AppleUSBXHCI</string> <key>Replace</key> <data> g710////Gw== </data> </dict> <dict> <key>Comment</key> <string>Port limit increase (RehabMan)</string> <key>Disabled</key> <false/> <key>Find</key> <data> g32IDw+DpwQAAA== </data> <key>InfoPlistPatch</key> <false/> <key>MatchOS</key> <string>10.13.x</string> <key>Name</key> <string>com.apple.driver.usb.AppleUSBXHCI</string> <key>Replace</key> <data> g32ID5CQkJCQkA== </data> </dict> <dict> <key>Comment</key> <string>Port limit increase (PMHeart)</string> <key>Disabled</key> <true/> <key>Find</key> <data> g/sPD4MDBQAA </data> <key>InfoPlistPatch</key> <false/> <key>MatchOS</key> <string>10.14.0</string> <key>Name</key> <string>com.apple.driver.usb.AppleUSBXHCI</string> <key>Replace</key> <data> g/sPkJCQkJCQ </data> </dict> <dict> <key>Comment</key> <string>Port limit increase (Ricky)</string> <key>Disabled</key> <false/> <key>Find</key> <data> g/sPD4OPBAAA </data> <key>InfoPlistPatch</key> <false/> <key>MatchOS</key> <string>10.14.x</string> <key>Name</key> <string>com.apple.driver.usb.AppleUSBXHCI</string> <key>Replace</key> <data> g/sPkJCQkJCQ </data> </dict> <dict> <key>Comment</key> <string>External Icons Patch</string> <key>Disabled</key> <false/> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>InfoPlistPatch</key> <false/> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> </dict> <key>RtVariables</key> <dict> <key>BooterConfig</key> <string>0x28</string> <key>CsrActiveConfig</key> <string>0x67</string> <key>MLB</key> <string>C02601270QXGPF7FB</string> <key>ROM</key> <string>UseMacAddr0</string> </dict> <key>SMBIOS</key> <dict> <key>BoardSerialNumber</key> <string>C02601270QXGPF7FB</string> <key>ProductName</key> <string>iMac17,1</string> <key>SerialNumber</key> <string>C02R2HZDGG7L</string> <key>SmUUID</key> <string>91E0E343-A938-4117-BBC7-234EA3ED265E</string> </dict> <key>SystemParameters</key> <dict> <key>InjectKexts</key> <string>Yes</string> <key>InjectSystemID</key> <true/> </dict> </dict> </plist> Also, for what it is worth, sleep is disabled on my system:

      Again, thank you all for taking time out of your day to help a fellow hackintosher out!
    • By THE M
      Hi,Everyone
      i've struggled to install Mac High Sierra from three days ago  with an strange error then my pc restart ......
      My PC specifications is
      Cpu amd Athlon 620 II x2
      Ram 8g
      Graphic Ati 5670 DDR3 2g
      Motharboard msi 970 amd

    • By golden eagl
      Hi everyone,
      I'm struggling with installing driver of my graphic adapter on high Sierra but till now I failed to find a solution to my issue ....
      My PC configuration is .
      CPU : AMD A8-5500 APU with integrated Radeon 7560 
      RAM : 8G    
      I tried to download a tool from tonymax website and after I used it I unable to login to my Mac high Sierra so I installed high Sierra again .....
       
      Any help with this issue
      Thanks in advance 
       
×