Jump to content
Slice

[HOW TO] Make Radeon {Desktop or Mobility} be working by using Clover

421 posts in this topic

Recommended Posts

As I see many novices in the forum ask "How to make my Radeon working? I have bad resolution, no QE/CI...." and so on. They come to the section and have no find an answer here because all Radeons are different and they don't know where else they read about this.

I want to explain all steps needed for launching the Radeon family of videocards.

 

Bootloader.

I will speak about Clover because I maintain this bootloader to know recent hardware and modern OSX. Not sure if you will have the same result with other bootloaders. I am carefully checking the injecting of ATI card and correcting it times to times. I am also accessible for bug reports.

 

OSX version.

Older card require older system, newer cards require new system.

ATIRadeon9000 is possible to launch under Tiger.

ATIRadeonMobilityX1400 requires 10.5-10.6. See RadeonHD topic.

As I see RadeonHD3xxx was successful only in 10.5

For new AMDRadeonHD7xxx there must be 10.8.3+ system.

 

DeviceID.

This must be the first question before asking about the card.

You may know the device-id from Windows->DeviceManger->VideoCard.properties->compatibleIDs

You may boot into system in safe mode (key -x) and see system profiler

 

And you may boot into Clover GUI, press F2 and get preboot.log. Find here something like

2:709  0:000  PCI (00|01:00.00) : 1002 6758 class=030000
2:709  0:000  Found Radeon model=AMD Radeon HD 6670 Series

It means my DeviceID=6758 (these are hex numbers)

Then you must check that Apple's drivers support your DeviceID. If not then add it!

For example HD7850 has DeviceID=6819. If we look into ATI7000Controller (AMD7000... in new systems) we find 6818 here but no 6819!


 

IOName

AMD7000Controller
IOPCIMatch
0x26001002 0x22001002 0x67901002 0x67981002 0x679A1002 0x679E1002 0x67801002 0x68201002 0x68211002 0x68251002 0x68271002 0x682D1002 0x682F1002 0x68391002 0x683B1002 0x683D1002 0x683F1002 0x68001002 0x68061002 0x68081002 0x68181002
 

 

I show you how to do this with terminal commands. Launch /Application/Utilities/Terminal.app. Type in opened window:


cp /System/Library/Extensions/ATI7000Controller.kext/Contents/Info.plist ~/Desktop

So you get a copy of the Info.plist on Desktop. Edit it with TextEdit. Change 68181002 -> 68191002.

Don't edit this file directly in the system folder! 

Then copy back by terminal. Don't use finder to copy kexts! They will have wrong permissions in this case.

sudo cp ~/Desktop/Info.plist /System/Library/Extensions/ATI7000Controller.kext/Contents/
sudo rm -r -v /System/Library/Caches/com.apple.kext.caches/*

Second command make sure next reboot the kext will use your edited info.plist.

The same operation you must do with a kext AMDRadeonAccelerator or ATIRadeonX2000 or other one. Check all candidates if they contain such list of possible IDs and choose closest to you.

 

FakeID

Since Clover revision 1971+ you may just inject new DeviceID into DSDT instead of correcting kexts. See instruction here.

 

GraphicsEnabler or Injector

OSX needs to know some properties (Model name, Family, etc...) that must be somehow injected at boot time. Yes, also real Macs got DeviceProperties string from firmware.

Alternatives:

1. Set InjectATI=Yes in Clover (same as GE=y in Chameleon).

2. Use custom string made with gfxutil. For whom who knows.

3. Write _DSM into DSDT. You should know what to write.

4. Use some kext like ATY_init.kext or Natit.kext. If you are sure that the kext is for your card namely.

I want to say that all this methods make the same thing. Differencies in their tuning.

The Clover do this automatically for most known cards at this moment.

 

Connectors.

As you may see to start HD5000-7000 some strange names used: Pithecia, Orangutan, Elodea... What are they?

They are configs for framebuffer. Predefined configs how connectors are solded for cards used in real Macs. Strange but these configs rear coincide with PC card. Usually gurus make advice "choose a framebuffer that most appropriate for your card". The chances 1:10. In most cases you may find a FB name that gives you main monitor working. Or nothing at all.

Great respect to bcc9 who gives us a method to correct one of config to be exactly for you. See here.

My retelling for Clover is here

Success example in the thread in posts 44-52

 

Radeon Mobility

I tested Clover's methods with two users having Mobility Radeon HD5470 and HD5650M. We found that full memory and QE/CI will be achieved if we set in Clover's config

LoadVBios=Yes

even thou no file with bios is provided. This is the key to make Radeon Mobility working!

Other problem is bad gradients or artifacts. For this case Clover accept the key

InjectEDID=Yes

and sometimes you also need to inject CustomEDID.

See Clover instructions for details.

 

And my results.

Gigabyte Radeon HD6670

	<key>Graphics</key>
	<dict>
		<key>GraphicsInjector</key>
		<true/>
		<key>InjectEDID</key>
		<true/>
		<key>FBName</key>
		<string>Ipomoea</string>
		<key>LoadVBios</key>
		<false/>
		<key>VideoPorts</key>
		<integer>3</integer>
		<key>PatchVBios</key>
		<true/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>KernelCpu</key>
		<false/>
		<key>ATIConnectorsController</key>
		<string>6000</string>
		<key>ATIConnectorsData</key>
		<string>000400000403000000010000120401050008000004020000000100001102040310000000100000000001000000000002</string>
		<key>ATIConnectorsPatch</key>
		<string>040000000403000000010000100001061000000010000000000100000000000100080000040200000001000012040403</string>


VTX Radeon HD5570

	<key>Graphics</key>
	<dict>
		<key>PatchVBios</key>
		<false/>
		<key>FBName</key>
		<string>Baboon</string>
		<key>VideoPorts</key>
		<string>3</string>
		<key>GraphicsInjector</key>
		<string>Yes</string>
		<key>LoadVBios</key>
		<string>No</string>
	</dict>

	<key>KernelAndKextPatches</key>
	<dict>
		<key>Debug</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>ATIConnectorsController</key>
		<string>5000</string>
		<key>ATIConnectorsData</key>
		<string>040000001400000000010000010201030008000000020000007100002205020110000000100000000001000000100002</string>
		<key>AppleRTC</key>
		<true/>
		<key>ATIConnectorsPatch</key>
		<string>040000001400000000010000010001040008000000020000007100002200020510000000100000000001000000000002</string>
		<key>AsusAICPUPM</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Find</key>
				<data>RXh0ZXJuYWw=</data>
				<key>Replace</key>
				<data>SW50ZXJuYWw=</data>
			</dict>
		</array>
	</dict>

See PatchVBios=No

for this card "yes" leads to black screen. Use with precautions.

 

A sample for Radeon R7 240

 

UPDATE for ElCapitan.

It seems has more problems. My HD6670 is not working in ElCapitan OOB unlike Mavericks.

I had to set FakeID=0x67401002 as correspond to real iMac12,2 and set this model in SMBIOS section.

It related to GraphicsPM or GraphicsControl.

Look these kexts to decide what you can do for your configuration.

 

HighSierra requires change these kexts by version from Sierra 10.12.6

for Radeon HD6xxx

AMDRadeonX3000.kext
AMDRadeonX3000GLDriver.bundle
IOAccelerator2D.plugin
IOAcceleratorFamily2.kext
for Radeon HD7xxx and up
AMDRadeonX4000.kext
AMDRadeonX4000GLDriver.bundle
IOAccelerator2D.plugin
IOAcceleratorFamily2.kext
 
Black screen after wake problem
resolved by follow method

radeon_bios_decode.0.2.zip

ati-personality.pl.0.15.zip

ati-personality.pl.0.15a.zip

Share this post


Link to post
Share on other sites
Advertisement

Hello and i thanks for your tuts.

please guid me for radeon 7650m .

i have vaio sve15117fdb and my graphics card is radeon 7650m
Graphics Card Manufacturer Powered by AMD
Graphics Chipset AMD Radeon HD 7500M/7600M Series
Device ID 6841
Vendor ID 1002
Subsystem ID 90AB
Subsystem Vendor ID 104D
Graphics Bus Capability PCI Express 2.0
Maximum Bus Setting PCI Express 2.0 x16
BIOS Version 013.012.000.041
BIOS Part Number HK5.019
BIOS Date 2012/07/10
Memory Size 1024 MB
Memory Type DDR3
Core Clock in MHz 500 MHz
Memory Clock in MHz 900 MHz
Total Memory Bandwidth in GByte/s 28.8 GByte/s
It is based on the same chip as the Radeon HD 6650M, but has a lower core clock of 450 – 550 MHz.
The power consumption of the chip and 3D performance is similar to the Radeon HD 6630M.

is this tuts worked for my graphics card?

if = yes

which of  kext and framebuffer is appropriate for i changed these for my Graphics card worked based in tusts?

please help me

I've spent a lot of time to do this please help me :help::)

Share this post


Link to post
Share on other sites

I think your card ID=6841 will be best with FBName=Pondweed.

This ID is native so you don't need Info.plist patch.

LoadVBios=true is required.

Share this post


Link to post
Share on other sites

My card is a 7850 what exactly do i need to do the card ID is 6819 also running Mavericks DP5 so i would say i have to edit different kext files ? 

Share this post


Link to post
Share on other sites

My card is a 7850 what exactly do i need to do the card ID is 6819 also running Mavericks DP5 so i would say i have to edit different kext files ? 

Yes, exactly that I said in topic. ATI7000Controller and AMDRadeonAccelerator or AMDRadeonX4000.kext

You may not set InjectATI because this card is natively supported by RadeonFramebuffer. See results             #22            

Share this post


Link to post
Share on other sites

Hello

i install maverick with my hack and update Bootloaders by Chameleon-2.2svn-r2256 but because not worked my lvsd and i have to install Clover_v2_r1958 (until base in tuts worked my garphics card and lvsd)(my partition is Guid and i install bootloader in installed mac drive)

but i cant boot to menu operation select and i see below screen and then clicked in continue i see this screen again (i change boot drive but not save change this below menu).

please giude me: how to install Clover? or how to Configured  (by Clover Configurator 2.6) until i can go to operation select menu of clover?

 

57627385478929559744.jpg

Share this post


Link to post
Share on other sites

Go to "Boot Maintanence Manager" -> Boot from File ->

then navigate to CloverX64.efi if it exists anywhere.

 

On the photo you see SetupBrowser from CloverEFI, it means you passed process up to boot file but have no find EFI folder.

How to install Clover? By installer! Click "OK".

Share this post


Link to post
Share on other sites

thanks for attention .CloverX64.efi if it not exists (in file explorer

56652189337505978316.jpg

 

45975910324933894881.jpg

i dont see any file or path for efi file..

i install clover by installer.

how to install clover is correct ?

Share this post


Link to post
Share on other sites

no i use vmware only for efi folder in external hard and install clover in external hard (in hackintosh drive) because my hackintosh not boot when computer restarted or turn on computer for login and install clover.

my computer not recognize my hackintosh boot.

Share this post


Link to post
Share on other sites

no i use vmware only for efi folder in external hard and install clover in external hard (in hackintosh drive) because my hackintosh not boot when computer restarted or turn on computer for login and install clover.

my computer not recognize my hackintosh boot.

I never saw computer "not recognize hackintosh boot". Check your BIOS once again.

Clover Installer uses device such as /dev/disk1s1. But in case of VMWare it will not the case and your installation failed.

You must boot real OSX any possible way and then install clover on real HDD.

 

 

To moderators.

I think these posts must be moved to Clover discussion. (I can't)

Share this post


Link to post
Share on other sites

hello vrondena

yes (sve15117fdb)

this model not support UEFI

i have above problem with clover ( also when i boot my laptop with clover iso , this not recognize my hfs mac partition and recognize windows partition in my internal and external hard)

please guide me

Share this post


Link to post
Share on other sites

as far as my experiences and knowledges, clover and vmware forgotten for the moment would not do more than chameleon-chimera-enoch

the problem is the correct LVDS connector configuration.but I also do not know how to do this, and in this forum who can do it reminds us a link or a guide instead of helping.for as for you. if you dont have problems to format the disk. install in EFI mode, from your usb , create 1 partition (guid). install osx .reboot from usb,install boot on osx (suggest enoch) whit boot camp create partition fat32 (for install win).install all kexts you won't (for me on ML almost all work) and like me  wait ...... for lvcd 

if you need, ask

Share this post


Link to post
Share on other sites

Hey nice tut! I think I'm going to give this a try. I've got the HD6990 myself and I tried something similar using Chameleon and AtiConfig=Gibba (which I read in another thread). But none of my screens were working or I was getting full white screens.

 

Do you think using this exact tutorial (Clover bootloader etc.) will work for me? The HD6990 has 2 GPU's and such (seems a very specific card to me).

Share this post


Link to post
Share on other sites

This was the most useful topic I have found about ATI 7xxx, It is easy to follow all the steps and i finally got my 7850 working :)
Without applying other peoples kexts it is far better, no kernel panics, Clover works like a charm, even patched my DSDT for Audio...

Thank you very much for the time spent to do this!

By the way, is there any discussion/troubleshooting topic concerning the sleep fix, white screen bug?
If so, please point me the topic ;)

Thanks!

Share this post


Link to post
Share on other sites

This was the most useful topic I have found about ATI 7xxx, It is easy to follow all the steps and i finally got my 7850 working :)

Without applying other peoples kexts it is far better, no kernel panics, Clover works like a charm, even patched my DSDT for Audio...

 

Thank you very much for the time spent to do this!

 

By the way, is there any discussion/troubleshooting topic concerning the sleep fix, white screen bug?

If so, please point me the topic ;)

 

Thanks!

White screen bug can be eliminated by:

1. Sleep trick. 

2. Install FBRotate into login items.

3. Use UEFI boot and set BIOS to use UEFI VideoBIOS.

4. Use Mavericks DP5 (? I am not sure).

Sorry that I didn't provide you links. All information is on this forum or on russian forum applelife.ru

Share this post


Link to post
Share on other sites

Hi:

I have C2D 8300, GA P43T ES3G, Ati Radeon HD 4850, 8 GB ddr3.

 

I tried to install Mountain Lion with the Ati 4850 and Clover v2 r2061.

I configured config.plist like the image. The point is that it only recognize 5 MB and the resolution is 1280x1024.

 

dhas.jpg

 

Then, I changed like the image. Now, it recognize 6 MB but the resolution is 1680x1050.

 

qnse.jpg

 

I used chameleon and it worked good.

 

c1be.jpg

 

With the systeminfo, in clover and chameleon the kexts are not the same and in chameleon there are more.

 

jmk9.jpg

 

Can you help me with the correctly configuration of the archive config.plist? 

 

Thanks you.

 
 
           or
 

Share this post


Link to post
Share on other sites

Where is the kext ATIRadeonX2000 when booted by Clover?

There are in S/L/E. Using systeminfo, there are not  ATIRadeonX2000 and ATI4800Controller.

 

And that is why I asked If my config.plist is incorrectly.

 

kfta.jpg
 
 
 
I try to upload my config.plist but I can not. However, you can find the link in my first post.
 
Thanks a lot.
 
PS: I'm going to reinstall Mountain Lion  from scratch so I can check it out and I'll let you the results. Sorry for my bad English.

Share this post


Link to post
Share on other sites

Tnx, but there is too many stuff for so many card that i can find what i need. . .so can someone tell my what i need to to to get acceleration on 10.8.3 whit clover . . .i can enter in 10.8.3 whit clover in 1080p res. but its glichy. . .there is no acceleration. . .

post-968257-0-59287900-1378503061_thumb.jpg

 

 

tnx

Share this post


Link to post
Share on other sites

Tnx, but there is too many stuff for so many card that i can find what i need. . .so can someone tell my what i need to to to get acceleration on 10.8.3 whit clover . . .i can enter in 10.8.3 whit clover in 1080p res. but its glichy. . .there is no acceleration. . .

 

 

 

tnx

What should I say?

Share this post


Link to post
Share on other sites

What should I say?

HE HE. . .I think i found the problem but no solution, the problem is in OpenGL ( AMDRadeonX4000GLDriver ). . .

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 nysander
      Hello Guys,
       
      I am looking for tips on how can I patch my FrameBuffer to be able to use mobile ig-platform-id for HD 4600 Intel Graphics. ATM the only way to have recognized full resolution and memory (1,5GB) is to use 0x0d220008 desktop Haswell profile.
       
      Problem is that on this profile backlight patches do not work. I get blank screen during boot instead of apple logo.
       
      As RehabMan suggested in my debug topic, this is possible because of the fact that my laptop uses eDP to connect LCD, and that eDP is not fully supported. But as far as I've found T440 laptop's LCD is also connected via eDP and they work with backlight. 
       
      How can I debug / patch such situation? 
       
      I am new to hackintosh knowledge but want to make my laptop work so any suggestions and help is much appreciated. 
    • By rio2
      How to make AppleHDAController load on Ryzen boards?
      Rename(/add) your audio controller to your DSDT/SSDT as HDEF Add a _DSM method to your HDEF device with layout id 1 Patch the AppleHDAController binary, because it has a static table containing the supported PCI Vendor/DeviceID pairs and it also checks the VendorID against known values. As an example I provide a dif file and patched 10.13.3 binary, but if you want to I can patch the binary for other versions.  
      After AppleHDAController loads to actually get sound working you need to patch AppleHDA.kext for the codec on your board. First I tried to use Lilu+AppleALC for this task, but for some reason it refused to work. (I might look into it later why) But for the time being it was easier to use toleda's cloverALC script for that, but to make it work I had to change(/remove) the specified location of the HDEF device from the script. And for some reason it also required me to mount the EFI partition manually.
       
      Change this:
      if [[ $(cat /tmp/HDEF.txt | grep -c "HDEF@1") != 0 ]]; then Into this:
      if [[ $(cat /tmp/HDEF.txt | grep -c "HDEF") != 0 ]]; then  
      AppleHDAController_Patched10.13.3
      AppleHDAController-10.13.3-AMD.bdiff
    • By Teress
      Hi, I tried during last 4 days almost everything but now I call for help. I have RX560 running on 10.13.4. Previously I was running it on 10.12.6 and had the same problem, but after waking from sleep my thiord display came to life, but it is not working anymore on 10.13.4. Without or with Lilu & Whatewergreen my system correctly recognize my gpu as RX560 but only 2 of 3 displays are displaying content, third display is black but recieving some signal. When I change cabling and connect only two, any combination of 2 displays is working. System profiller and system preferences are sayin I have 3 displays connected.

      Please can somebody help me to figure it out?
      Thanks a lot in advance. Tried to upload my ioreg but it is greater than 10MB allowed for me :(



    • By verymilan
      Hi, i recently set up High Sierra on my AMD computer with the help of the amdosx community (i actually used an installer just to confirm that something would work in the first place before i spend hours for nothing, i can and could have downloaded High Sierra the "legal" way).
      However the graphicscard is recognized properly, the 6gig are recognized and i have no artifacts and no screen tearing with the official nvidia webdriver,
      but unfortunally, dark colors have horizontal dark stripes in them and specific bright colors like on left bar of system windows such as settings do flicker like low fps.

      I only used the clover on the flash drive for now and i'd like if it's worth digging deeper of if i should just forget about it as it is a common nvidia problem on macOS.
      Would be amazing to know.
       
      Closer machine infos:
      * High Sierra (misses a recent minor patch as my network is veeeery slow and i got this nvidia issue anyway so i mainly jumped back to linux)
      * AMD fx8350
      * Asus Sabertooth 990fx Ref. 2.0
      * NVIDIA GeForce GTX 1060 6GB
       
    • By hackintosh_builder
      Hello, I am interested in building a Hackintosh using Threadripper. Could you please recommend good motherboard(s)? Is there one that is fully compatible with the Hackintosh?
×