Jump to content

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


Slice
 Share

431 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!

 

Quote

 

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

  • Like 16
Link to comment
Share on other sites

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::)

Link to comment
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            

Link to comment
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

Link to comment
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".

Link to comment
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.

Link to comment
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)

  • Like 2
Link to comment
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

Link to comment
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

Link to comment
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).

Link to comment
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!

Link to comment
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

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

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.

 

 

 

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

 

 

 

I used chameleon and it worked good.

 

 

 

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

 

 

 

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

 

 

Link to comment
Share on other sites

On 9/10/2013 at 10:06 AM, Slice said:

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.

 

 
 
 
 
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.
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
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?

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...