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!



  • Like 2
Link to comment
Share on other sites


  • Create New...