Jump to content
Slice

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

428 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

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.

Announcements

  • Similar Content

    • By pink101
      So, here's what i think clover do when it patch ati framebuffer, first it read a cached kext, then it search the original hex value of the connector, then it changed the value with the new one. Is it correct? now, here's what i find confusing... let's say that i want to patch AMD7000Controller.kext, in that kext, i want to patch "AJI" framebuffer with a new value, so clover try to find the hex value of "AJI" connector then replace it with the new one, simple right? but when i search the AMD7000Controller binary file for other framebuffer, some of them didn't exist in the binary, for example, i tried to patch "Ramen" framebuffer, from various source, it said that:
      Ramen (6) @ 0xeba70 LVDS, HDMI, DP, DP, DP, DP 020000000001000039050108000000002001050600000000 000800000402000000010200000000001000030500000000 000400000403000000010343000000001102010100000000 000400000001000000010431000000002103040300000000 000400000403000000010563000000001204020200000000 000400000001000000010651000000002205040300000000 So i open a hex editor and search for:
      020000000001000039050108000000002001050600000000000800000402000000010200000000001000030500000000000400000403000000010343000000001102010100000000000400000001000000010431000000002103040300000000000400000403000000010563000000001204020200000000000400000001000000010651000000002205040300000000 but, it turns out that hex editor couldnt find that hex value in AMD7000Controller,

       
      most of the framebuffer exist in the AMD7000Controller, but some doesnt, If this is the case, then, where does clover find the original framebuffer to be patched? am i missing something?
       
       
    • By Funky frank
      Hi,
       
      I am planning to make my hack ready for post High Sierra macos, finally xD  So I was looking for a proper AMD GPU, but it is not that easy to find a proper, recent guide for that. So compared a bunch of AMD GPUs, and this one seems to suit my needs the most: XFX RX 5500 XT Thicc II Pro 8GB
       
      Will this graphics card work properly in macos? And what macos version is the minimum here? I read so many contradictory statements, some older said that the RX5xxx support in macos still sucks and is much slower than in Windows. Is this still true? I currently have a nvidia GT1050, I guess it still will beat that nvidia card?
       
      Would this work with old but gold clover (recent version) + lilu and whatevergreen, or should I switch to OpenCore then?
       
      Thanks for info!
       
    • By pink101
      Hello everyone, i just want to ask something. why is it that my radeon hd 7770 graphic card was detected as "Latte" gpu instead of verde when using radeon_bios_decode? is the card actually a Latte graphic card but someone flashed it so they can sold to me as radeon hd 7770? or is it actually a real radeon hd 7770 but the tool falsely detected it as latte cpu?

    • By ThomasMattOnline
      Hello Everyone,

      Trying to get Hardware Acceleration working on my Hackintosh (HEVC Support) however I am such a noob, OpenCore is very new to me and would love some support.
      I have included screenshots and the EFI that is currently working on my System, I have USB 2 & 3.0 all working, however, the only thing I can fault is my GPU not being hardware acceleration enabled.

      Final Cut Pro X - Recognises GPU
      VideoProc - Doesn't recognise anything.
       
      (I am running the latest version of OpenCore 0.5.9)

      Things I've tried: I tried following the post https://www.tonymacx86.com/threads/catalina-10-15-2-update-lost-hevc-h265-acceleration.288563/ - No Luck
      I have also tried: https://forums.macrumors.com/threads/activate-amd-hardware-acceleration.2180095/page-53?post=28255048#post-28255048 - No luck either!

      My friend online tells me I shouldn't need such Kext as he has the same build as me but when I load his EFI on my system it boots with no USB 2 or 3.0 (I'm keeping his EFI off here as I've uploaded mine.)

      Please note: I appreciate all (any) pieces of advice and please do bear in mind that I am a noob and may need whatever you say simplifying as I can get easily confused.


      config.plist

    • By miliuco
      Radeon RX 580 8 GB graphics card on macOS High Sierra (as of 10.13.6), Mojave and Catalina on the P55-USB3 board: excellent performance with acceleration (Metal) OOB, no need for drivers (kexts), with 3 drawbacks, one has to do with the boot of the operating system (a solution is proposed), another with the number of rear connectors enabled (a solution is proposed) and another that only affects to one phase of the Mojave or Catalina installation (without clear solution for now).

      I have placed the XFX AMD Radeon RX-580 P8DFD6 8GB Triple X Edition GDDR5, 256BIT, DVI + HDMI + 3DP graphics card on a 10 year old motherboard (Gigabyte P55-USB3) in order to update the hackintosh to 10.14 Mojave and 10.15 Catalina because the card that I have used in past years, Nvidia Geforce GTX 750 1GB, has stopped working after 10.13.6 High Sierra since this was the last version for which Nvidia published the alternate web drivers that were necessary for the card to work well with graphic acceleration.

      The new RX 580 card needs considerably more space than the old one although it fits perfectly in an ATX case, and requires an additional power connector. It has 2 big fans that most of the time are stopped, at least in my case. In macOS it works perfectly, even with Metal acceleration, without additional drivers and without extra settings in Clover. But it has drawbacks that I comment below.

      Alterations during startup

      During the boot of the operating system, when the screen goes from the basic driver to the AMD driver, 2 artifacts appear randomly, they are very short in duration (from one to a few seconds):
      Very short flashing white screen that may or may not be accompanied by purple lines The fans runs for a few seconds (the noise is clearly audible). This behavior is solved with the installation of 2 kexts, Lilu and WhateverGreen. Lilu is an extension created by acidantheraand vit9696 among others whose function is to help to patch kexts, processes and libraries during macOS boot. It is accompanied by specific plugins for the task required, for example WhateverGreen that injects necessary patches for certain AMD, Intel and Nvidia graphics cards. It is mandatory to have both extensions together, one of them separately does not correct the problem.
      I have installed Lilu 1.4.4 and WhateverGreen 1.3.9 in the EFI/CLOVER/kexts/Other folder of the EFI partition and artifacts have disappeared. Remember that these 2 extensions are not necessary for the card to work properly, if you tolerate those very brief distortions of the screen or the noise of the fans running for a few seconds, you can live without Lilu and WhateverGreen.

      Note: authors recommend that when using Lilu and WhateverGreen with Radeon cards, NO graphic settings have to be added to Clover (Inject ATI, etc.).

      Note: these alterations, especially the brief white screen and less frequently purple lines and fan noise, are also seen in Windows and some real Macs with the same card.

      Alteration during macOS installation

      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine
      Boot from USB > Clover menu > Install macOS from MacintoshHD > black screen
      Booting from USB > Clover menu > Boot macOS from MacintoshHD > screen works fine.

      In the first and third stages, screen works fine. In the second stage the screen goes black although the installation continues. The user has nothing to do at this moment so you can leave the PC working until the Clover menu is shown again, the screen is recovered, the initial account options can be configured and you can enter into the newly installed system with correct resolution and acceleration.
      This behavior is not corrected even by placing Lilu and WhateverGreen into the USB device. At least in my case I have not found a solution for it. Yo can install macOS perfectly with that drawback of not seeing how it progresses during the second phase of the installation.

      Only 2 connectors of the 5 available work

      This card has 3 Display Port (DP) ports, 1 HDMI port and 1 DVI port. In my case, only 2 DP work, those that are further from the HDMI connector. It is enough if you use a single monitor or 2 monitors that can be connected by DP. But if you want to have 3 or more connected devices or some of them only have HDMI, it is necessary to enable the 5 connectors or at least 4 of them since the DVI is obsolete and does not allow resolutions as high as DP and HDMI.
      User foxbox has proposed a solution in a thread titled [Solved] Sapphire RX 580 Nitro + SE | black screen on HDMI and DVI. Must inject from Clover a modification to the Orinoco framebuffer (which is used in the RX 580 card) so that the 5 connectors lack a fixedly assigned address and, instead, receive it dynamically. This change is made from the KextsToPatch section of Clover. Read the post from foxbox.
      This has to be accompanied by 3 changes in the Graphics section of Clover: Orinoco in FB Name / Inject ATI / 5 in Video Ports. I have tested this solution in macOS Catalina and it effectively enables the 5 ports of the card but, since I only use 1 monitor, I have removed it and I am with Lilu and WhateverGreen.
       

×