Jump to content
Devonavar

HD5750 Framebuffer Sierra (or, what I wish people had told me about patching framebuffers in clover)

4 posts in this topic

Recommended Posts

Putting this here for posterity in hopes it helps someone else (maybe just my future self).

 

I just spent 2.5 days getting my previously working HD5750 up and running after a motherboard swap.  At the same time, I upgraded to Sierra.

 

Here's what I wish people had told me about patching your framebuffer in Clover:

 

  • Patches only take effect with "WithKexts" in boot args.  At least, that was the case for me.
  • Patches don't get recognized if they cross line breaks (yes, even in a binary file there are line breaks).  Thus, attempting to patch a multi-line framebuffer fails in a single patch.  I believe this is why the official "ATIConnector" patch sometimes fails.

If someone had spelled out those things for me, I would have been done in a few hours, not a few days.

 

That said, here's my working configuration:

 

Card details:

Asus HD5750, 1GB vRAM, Mfr ID:  0x1002 (ATI), Device ID:  0x68BE  Subsystem ID (useful for matching BIOS):  0x03381043
Card on TechPowerUp:  https://www.techpowerup.com/vgabios/79262/asus-hd5750-1024-100331

 

Working Framebuffer (note the extra 2 bytes at the end of each line compared to most examples ... I believe this is a Sierra quirk):

 

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

 

To get it working in Clover v2.3 r3766 (Use Clover Configurator to make your life easier):

 

  • Spoof Device ID as 0x100268B8 ("Fake ID" in "Devices")
  • Check Inject ATI (in "Graphics")
  • FB Name "Alouatta" (in "Graphics")
  • Video Port "4" (in "Graphics")  (Setting ports to 4 with the Alouatta personality will initially recognize both the HDMI and DVI outputs, but they will detect with the monitors swapped)
  • Custom Boot Flag:  "WithKexts" (in "Boot")

 

Three separate patches in "Kernel and Kext Patches", one for each output:

 

  • Name:  AMD5000Controller, Find:  00040000 04060000 00710000 00000000 11020101 00000000, Replace:  00080000 04020000 00710000 00000000 22050101 00000000, Comment:  HDMI
  • Name:  AMD5000Controller, Find:  00040000 04060000 00710000 00000000 22050404 00000000, Replace:  04000000 14000000 00710000 00000000 11020204 00000000, Comment:  DVI
  • Name:  AMD5000Controller, Find:  02000000 00010000 19010000 00000000 12040303 00000000, Replace:  10000000 10000000 00010000 00000000 02120403 00000000, Comment:  VGA (not tested)

 

-----------------------------------------------------

 

Useful resources:

 

Share this post


Link to post
Share on other sites
Advertisement

In case you've never been told: don't put your hands in boiling water... Don't put your fingers in a live power socket either. Don't put your cat in the washing machine or the microwave.

Share this post


Link to post
Share on other sites

Framebuffer            Hoolock

 

ATI Connectors  Data         Find 

 

000400000406000000010000000000002103050100000000000400000406000000010000000000001102040200000000040000001402000000010000000000000204010300000000

 

 

ATI Connectors Patch all in one          Replace

 

000800000402000000710000000000002205010100000000040000001402000000010000000000000002020400000000100000001000000000010000000000000010030300000000

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 STLVNUB
      Script file to clone Clover, Opencore (official and unofficial) repos
      Script will create link to itself in /usr/local/bin/bob
      Wouldn't hurt to check there are no "Bob"'s there, i "Hope" there isn't.
      Then you only need to type bob. and a parameter
      "n" for NDK repo, unofficial
      "a" for ACID repo, official
      "c" for CLOVER
      It also takes "all" for ALL, if your game
       
      Easier typing bob than.....usual stuff
      Enjoy
       
    • By TimothyF
      My PROBLEM: I followed the Plain Vanilla guide (https://hackintosh.gitbook.io/-r-hackintosh-vanilla-desktop-guide/) to a T in creating the OS X Catalina installer USB. I'm totally new to Hackintosh, and just want an Apple environment to Time Machine migrate my files and system from my ageing MacBook Pro. When I start to use the USB on the target PC (Dell Inspiron 3847 desktop), I ONLY see the Microsoft (which is the original OS, and on a SEPARATE Hard drive from where I want to install Mac OS), ZERO option for installing the OSX Catalina! Please SEE PICTURE link: https://imgur.com/a/FnLB2Q9   I'm a beginner, but I tried to google my problem. The answers were either incomplete, hard for me to understand and put into action, or were outdated and applied to older OSXs. I appreciate any help in diagnosing and solving this problem!   Clover USB specs OS installer used: Catalina (10.15) Clover revision: 5103 Kexts included: ATH9KFixup.kext AppleALC.kext Lilu.kext RealtekRTL8111.kext USBInjectAll.kext VirtualSMC.kext WhateverGreen.kext config.plist: see attached ------------------------------------------ Target Desktop specs: Dell Inspiron 3847 (64 bit) CPU: Intel Core i5-4460, 3.2 GHz, 4 cores Architecture: Haswell GPU: Intel HD 4600 Motherboard: Dell 088DT1 (version A01) Chipset: Intel H81 Install method: with USB, configured with Clover, 100% following Plain Vanilla guide for Desktops RAM: 12 GB, 2 slots Hard drive for installation: SATA HDD 4TB, by HGST LAN: RTL8111/8168/8411 WLAN: AR9565 (atheros) Audio: Realtek ALC661 (not 100% sure this is correct)   ------------------------------------ Attached:
      Screenshot of Clover installer not showing the Mac OSX option
      config.plist of my installer USB
      Clover_Install_Log.txt (not sure if this is relevant)   THANK YOU VERY MUCH!     config.plist
      Clover_Install_Log.txt
    • By Simon's InsaneMac
      Hi, I'm kind of lost when scrolling to Clover Configurator, so I decided to use an EFI from the web and just configure the most basic stuff. But that sadly didn't work, im always getting the attached screen IMG_0054.HEIC (and I don't know whether all the errors are listed, as I can't scroll). 
      Anyways I thought it'd be better to do a custom setup. Can anyone give me some help with what to choose in the settings? Here's my rig:
      i7 8700k
      Asus z370-G (Rog Strix)
      gtx 1060 6gb
      samsung ssd (SATA)
      WD hard drive
       
      Your help would be much appreciated!
    • By kylon
      A big thanks to wegface for teaching me a lot of things.
       
       
      Tested on Catalina 10.15.4 and Clover EFI 5104 (Catalina Patcher)
       
      Not Working:
      - realtek sd card reader (pm me if you have a fix)
       
      Notes:
      **CPU patches are disabled, if you are using a locked BIOS you must enable them**
       
      Clover EFI:
      - Install it in UEFI Mode and change your hdd partition table to GPT.
      - You will be able to install ANY OS in EFI mode, even if this pc does not support EFI at all! (No guide available for this)
       
      You will need:
      My unlocked BIOS (OPTIONAL) (here) Latest Clover config from CCE Bank (here) (asus k53sj-kylon) Rehabman Voodoo PS2 Controller (here) acidanthera AppleALC (here) acidanthera Lilu (here) acidanthera VirtualSMC (here) acidanthera SMCBatteryManager (here) acidanthera SMCLightSensor (here) acidanthera WhateverGreen (here) Mieze Realtek RTL8111 (here)
    • By Prasanth_1991
      I recently installed Hackintosh Sierra. I don't have dedicated graphics card so I just used Intel integrated graphics which is Intel HD 4600 but since the Mac OS Sierra graphics acceleration not supported by native VGA output I'm left out options. I tired many things but nothing works. It's 2020 I'm pretty sure many people probably have better solution for this, if yes please help me.   Details PC Spec  i7 4790k HD 4600 Motherboard Gigabyte B85M-D3H-A
×