Jump to content

[HOW TO] Modification of AMD FB + Clover injection


Vlada.
397 posts in this topic

Recommended Posts

Hallo, Pavo,

 

that sounds great! 

According to your recent posts, you did have some serious problems with your 8GB model of the r9 290x. 

Obviously, you have solved them. I think this is good news for everybody who is interested to install this card in his Hackintosh.

Now I will try to get this model as well and see, whether oder not I will manage to use my two monitors with it. 

 

Happy Greetings,

Werner

Link to comment
Share on other sites


Working HDMI + DVI
Find:
000400000403000000010300120403030004000004030000000101001102010100040000040300000001020021030202000400000403000000010400220504040004000004030000000105001000050500040000040300000001060020010606

Replace:
000800000402000000010200220502030004000004030000000101011204010100040000040300000001020021030202040000001402000000010300110203040004000004030000000105001000050500020000040200000001040110000406
Link to comment
Share on other sites

Great work Pavo! Glad to see that you manage to resolve your problem with this method. Best! :D

Yeah now I am trying to get a DP Hub working on 2 monitors, I can get the DP Hub to work with 1 monitor but the second monitor doesn't turn on ie. power saving mode. This is the DP hub I m trying to get working so I don't have to use HDMI, or the DVIs http://www.club-3d.com/index.php/products/reader.en/product/multi-stream-transport-mst-hub.html. I had to slightly modify the patch to this:

000800000402000000010000220501030004000004030000000100071204020100040000040300000001000021030302040000001402000000010000110204040004000004030000000100001000050500020000140200000001000010000606
Link to comment
Share on other sites

Pavo,

 

Can you send me your old and new IOREG? I worked out similar FB codes as yours even though my Graphics Card is a Gigabyte R9 290, but I'm still black-screening. I suspect I have to reorder mine. This is probably the most confusing part. If it matters, I'm using DVI-DL @ 2560x1600 as my sole display.

Link to comment
Share on other sites

Thank you Pavo. I will study it. IOJones is great. Attached is my BIOS. 

You can use the same framebuffer edit that I use but you need to use fakeid in the Devices section in Clover config.plist and use a 290X device id

<key>FakeID</key>
  <dict>
    <key>ATI</key>
    <string>0x68b01002</string>
Link to comment
Share on other sites

 

You can use the same framebuffer edit that I use but you need to use fakeid in the Devices section in Clover config.plist and use a 290X device id

<key>FakeID</key>
  <dict>
    <key>ATI</key>
    <string>0x68b01002</string>

 

I have this in my clover already but when I specify to use the Baladi frame buffer in Clover, I black screen during startup. The only way I can get video working at all is to change it to some other older frame buffer and OS X defaults to whatever default frame buffer (IOJones shows RadeonFramebuffer instead of Baladi).

Link to comment
Share on other sites

I have this in my clover already but when I specify to use the Baladi frame buffer in Clover, I black screen during startup. The only way I can get video working at all is to change it to some other older frame buffer and OS X defaults to whatever default frame buffer (IOJones shows RadeonFramebuffer instead of Baladi).

Are you adding the patch sting and giving it the 8000 kext name like below:

sePK6Yw.png 

and 

7kSuKuq.png

Link to comment
Share on other sites

HI Pavo,

 

Thanks for the info. My settings are exactly as shown with the patch string and ATI Connectors controller. I even tried it with AND without an entry to patch the AMD8000Controller directly in the KextsToPatch section (since I wasn't sure if it was necessary. It didn't matter anyway). 

Link to comment
Share on other sites

I made another AMD Radeon GPU Injector tool, which is based on the results recovered from few similar topics and certain patches that I was working in the past. The idea is to gather all these various solutions in one place and in one pack.
 
The list of supported patches from the pack at this moment is next:
 
AMD Radeon HD 6450
AMD Radeon HD 6790
AMD Radeon HD 6850
AMD Radeon HD 6870
AMD Radeon HD 7730
AMD Radeon HD 7870
AMD Radeon R9 270
AMD Radeon R9 270X
AMD Radeon R9 280X
AMD Radeon R9 290X 
 
If you have a GPU that is not listed here and you are using this method successfully, please send me your solution with the name of your GPU model on PM or just leave it here, and I will add it in the pack.
 

 

Thank you all guys ;)
  • Like 4
Link to comment
Share on other sites

Hi Vlada, I just tried your new patch and it doesn't work properly for me. There are graphic glitches appearing now and then and the mouse pointer jumps around all the time. Seems like I just can't use any framebuffer but the "Radeon" one with my 270X. Bummer…

 

 

EDIT: and I posted an issue I had with the installer in the download thread you linked above but I'll post it here below instead of splitting my comments.

 

The patch for the 270X didn't work for me so I took a look at the script and it seems like the plist patch for the 270X is trying to edit the "/EFI/CLOVER/config.plist" file while I (and most people) have it in the EFI partition, which would result in the following path:

 

/EFI/EFI/CLOVER/config.plist

Link to comment
Share on other sites

Yeah, that's correct. I don't have UEFI BIOS so the pack is using /EFI/CLOVER/Config.plist as a main path…

 
OK... Thanks for the report. This is a minor technical problem which I will resolve during this day…
 
[EDIT]
 
It's done... UEFI solution is imported now. :)  
 
  • Like 1
Link to comment
Share on other sites

Well, this tool is gathering some of the best solutions presented here and on Hackintosh.rs forum where I was participating in resolving certain FB problems on certain AMD GPU models. It is also based on patching technique explained here, for which I think that is probably the neatest patching solution ever. 

 

Basically, it should help people with less experience and to those who are switching from Chameleon to Clover, to set up their graphics properly in just a few clicks of the mouse. The code is confirmed that is working on certain GPU models and what is most important, this solution is permanent, which means that future updates will not be able to break it. So in short, it should be useful to many people.  :yes:

Link to comment
Share on other sites

 

Well, this tool is gathering some of the best solutions presented here and on Hackintosh.rs forum where I was participating in resolving certain FB problems on certain AMD GPU models. It is also based on patching technique explained here, for which I think that is probably the neatest patching solution ever. 
 
Basically, it should help people with less experience and to those who are switching from Chameleon to Clover, to set up their graphics properly in just a few clicks of the mouse. The code is confirmed that is working on certain GPU models and what is most important, this solution is permanent, which means that future updates will not be able to break it. So in short, it should be useful to many people.  :yes:

 

Thanks, Vlada. So if I understand correctly, based on the explanation you wrote in the op (very interesting thread, I must say), the manual process would be: once you've built the FB code you need to insert hex codes, FB name, ATI inj via Clover on the fly (config.plist\Kernel and Kexts Patches etc..) right?

My question still applies, though: how come, running your tool I don't see any change in config.plist? Please note that my system is running with Clover in Efi partition, and I waited until your last fix to use it. What am I missing here? I mean: where should i check those changes your tool provides?

Thanks for your effort.

G.

Link to comment
Share on other sites

hi im following tutorial modfying the framebuffer

 

im using IkuraS since im using HDMI into VGA with converter and its goes black screen but the monitor stays on

im using clover and inject ATI my dev id is 0x6613 and im using Fake id taken from AMD7000

 

System:

Yosemite 10.10.1

ATI Radeon R7 240 

HDMI

 

*Edit adding my bios

Connector Object Id [12] which is [HDMI_TYPE_A]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] 

Connector Object Id [3] which is [DVI_D]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x20 [duallink 0x0] enc 0x1)] 

Connector Object Id [5] which is [VGA]
	encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)]

Connector at index 0
	Type [@offset 43526]: HDMI-A (11)
	Encoder [@offset 43530]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43600]: 0x91, OSX senseid: 0x2
Connector at index 1
	Type [@offset 43536]: DVI-D (3)
	Encoder [@offset 43540]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43627]: 0x90, OSX senseid: 0x1
Connector at index 2
	Type [@offset 43546]: VGA (1)
	Encoder [@offset 43550]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43654]: 0x97, OSX senseid: 0x8


Link to comment
Share on other sites

 

hi im following tutorial modfying the framebuffer

 

im using IkuraS since im using HDMI into VGA with converter and its goes black screen but the monitor stays on

im using clover and inject ATI my dev id is 0x6613 and im using Fake id taken from AMD7000

 

System:

Yosemite 10.10.1

ATI Radeon R7 240 

HDMI

 

*Edit adding my bios

Connector Object Id [12] which is [HDMI_TYPE_A]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] 

Connector Object Id [3] which is [DVI_D]
	encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x20 [duallink 0x0] enc 0x1)] 

Connector Object Id [5] which is [VGA]
	encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)]

Connector at index 0
	Type [@offset 43526]: HDMI-A (11)
	Encoder [@offset 43530]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43600]: 0x91, OSX senseid: 0x2
Connector at index 1
	Type [@offset 43536]: DVI-D (3)
	Encoder [@offset 43540]: INTERNAL_UNIPHY (0x1e)
	i2cid [@offset 43627]: 0x90, OSX senseid: 0x1
Connector at index 2
	Type [@offset 43546]: VGA (1)
	Encoder [@offset 43550]: INTERNAL_KLDSCP_DAC1 (0x15)
	i2cid [@offset 43654]: 0x97, OSX senseid: 0x8


OK think about what you are doing, you are making a FB patch for card A. then using Clover to take card A and turn it into card B by using a fakeID........ see where I am going with this?

Link to comment
Share on other sites

OK think about what you are doing, you are making a FB patch for card A. then using Clover to take card A and turn it into card B by using a fakeID........ see where I am going with this?

yes that what i mean, i read the tutorial till the end i patched the AMD6000Controller framebuffer ikuras

00  08  00  00  04  02  00  00  00  01  01  00  12  04  03  01

00  08  00  00  00  02  00  00  00  01  01  00  10  00  01  02

not solving my problem should i change my fake id into DevID provided by AMD6000 to match the framebuffer?

 

*i try that its goes No Signal

Link to comment
Share on other sites

Thanks Vlada for your efforts and the new tool. I haven't tested it yet though.

Could you please explain further what this tool actually changes? Does it modify my clover config.plist? Does it change any Apple kexts (AMDController etc)?

I am always hesitant applying such one-click tools because I don't know if I can revert the changes when I don't know what was changed...

Link to comment
Share on other sites

The tool modifies only Clover config.plist. When you choose to install patch for some GPU model, this pack will insert selected FB code in Clover config.plist file. That is all... 

 

I didn't insert backup command for the Clover config.plist file before patching, because you can always modify these options from the boot menu if something goes wrong. But you can do that manually if you like...  

 

I'll probably do that in the next version...

  • Like 1
Link to comment
Share on other sites

I am un able to decode my rom bios. I have attached a copy.

My R9 270x is an MSI Radeon R9 270x with 2 dual link DVI-I and DVI-D a display Port and HDMI very similar to the one used in the example. However, I cannot get the display port to work when one monitor is connected to the DVI-D and one to the DP.

Can any one decode this ROM file and post it back to me?

Thanks

 OH! I can't upload this to the forum..let me know if you can help..I will post a link to the file

https://drive.google.com/file/d/0B0LHQZtrOVIKZHFKTnZtY3VVU1k/view?usp=sharing

 

 

Link to comment
Share on other sites

×
×
  • Create New...