Jump to content

HD3000 + other card: solution by EFI string creation

2 posts in this topic

Recommended Posts

Hi all!


I have an Asus P8Z68-V Pro board with an I5-2500K CPU (HD3000 integrated GPU) and an AMD 7870.


The problem:


MacOs Mountain Lion does not support my 7870, but does support the HD3000 GPU, and accelerated.


I'm using Chimera as bootloader. Chimera can inject EFI string for HD3000, and it works great, but only if you don't have a second UNSUPPORTED graphics card, like me.


In my case, even if i set from the bios the HD3000 GPU as default and so on, and attach the DVI cable to the mobo, Chimera finds an AMD GPU and injects the EFI framebuffer infos, which are WRONG from the 7870. The system hangs.


On the other side, if I tell Chimera not to inject anything (GraphicsEnabler=No in org.chameleon.Boot.plist), I have no acceleration.


My solution is to create an ad hoc EFI string to be put into org.chameleon.Boot.plist and injected by Chimera at boot time.


So, I created a plist file, converted it into hex using gfxutil and inserted the hex string into org.chameleon.Boot.plist: it worked!


1) use gfxutil to find the PCI path to the HD3000: i used the GFX0 name, it may be different on other pc (IGPU for example)


localhost:~ shub$ gfxutil -f GFX0
DevicePath = PciRoot(0x0)/Pci(0x2,0x0)
localhost:~ shub$


2) start Property List Editor and create something like this: put the DevicePath, the part after the "=", as below:





3) Now we have to add some entries. I copied these ones from my pc booted without the 7870 (physically removed) and with the Chimera injector active (GraphicsEnabler=Yes). I have to mess up a little with data type and string types. If I used the string type, some options were interpreted as data type, so I had to convert each char of the strings into corrisponding hex ASCII value.




You can find some of this values in Chimera source (gma.c).


Here they are. name, compatible, model, and hda-gfx are strings (null terminated). compatible are three strings null terminated.




The result in ioreg: as you can see, data turned into strings.




4) Anyway, after you created the plist as above, save it like let's say hd3000.plist and create the hex string with this command:


localhost:~ shub$ gfxutil -v -i xml -o hex hd3000.plist hd3000.hex

o device-properties <size=678, children=1>
+-o PciRoot(0x0)/Pci(0x2,0x0) <size=666, records=14>
localhost:~ shub$


5) Now you have the EFI string into hd3000.hex file. To tell Chimera to inject it, open your org.chameleon.Boot.plist and insert something like this:




where the neverending string is the hd3000.hex file content. Just ONE line.


6) Disable Chimera auto injection (GraphicsEnabler=No in org.chameleon.Boot.plist) and reboot. It SHOULD work.



I think most of the strings in the plist file can be omitted: the most important ones are:












If you have problems, try to delete the others, cause they may be specific for my machine.






Have fun!



Share this post

Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By BALDY_MAN
      Z490 GigabyteMaster.Config plist Template
      Hi all I have put together a  config.plist template to help you get started. Setting up your z490 Motherboard
      It is a template for you to copy the settings to your OWN
      Open it with a plist editor
      And copy the same settings to your OWN Plist
      You will need to add you own motherboard  serail numbers
      I Have  put it so in the template (P.Y.O) Meaning put your own)
      Z490Gigabyte.Master. Config.plistTemperate.zipOpenCore. SanityCheck Screen Shots
      Attached  OpenCore Sanity screen Shots
    • By BALDY_MAN
      Hi All.
      Im Happy to share my new EFI file that I put together  18/10/2020. which got me up and running 11.0  Beta(20A5395g) on my hack
      a thanks you to everyone who's work I have use to assemble this EFI File. and the help I have received from this site
      I have used openCore 0.6.3, sound work for me (HDMI) and onboard Ethernet. map the usb ports as you wish.
      the definition to iMac20,2
      hope it helps all who need it
      PS. Please leave a comment if the EFI File is helpful to you
      (No Kexts were Harmed in the making of this EFI)
      THIS EFI. WAS MADE ON A Z490 GIGABYTE MASTER For the Z490 Gigabyte Master ONLY
      GigabyteZ40Master.EFI.(20A539g) .zip
    • By le332313
      Can someone share the dell 5593/5493 EFI ? I try to fit the graphics driver, but it not working please help me thanks