Jump to content

HD4000 full acceleration for 10.8 / 10.7.5

HD4000 3770 Mountain Lion Lion

  • Please log in to reply
124 replies to this topic

#1
proteinshake

proteinshake

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Germany
No, I don't need a dedicated gfx-card. The HD4000 integrated into Ivy Bridge 3770 will do for me, as well as for many others. I thought I'd share the little I know about how to get it to run actually. Depending on your hardware this may or may not work - it works perfectly fine for me. Okay, let's get started by dumping some lines of DSDT:


			Device (MEI)
			{
				Name (_ADR, 0x00160000)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x02)
						{
							"device-id",
							Buffer (0x04)
							{
								0x3a, 0x1e, 0x00, 0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

I've got a H67 Chipset here, so I'm using device MEI to change my device-id from 3A1C to 3A1E.
Otherwise AppleIntelSNBGraphicsFB.kext will block AppleIntelFramebufferCapri.kext.


			Device (IGPU)
			{
				Name (_ADR, 0x00020000)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x0C)
						{
							"AAPL,ig-platform-id",
							Buffer (0x04)
							{
								0x09, 0x00, 0x66, 0x01
							},
							"device-id",
							Buffer (0x04)
							{
								0x66, 0x01, 0x00, 0x00
							},
							"vendor-id",
							Buffer (0x04)
							{
								0x86, 0x80, 0x00, 0x00
							},
							"subsystem-vendor-id",
							Buffer (0x04)
							{
								0x6b, 0x10, 0x00, 0x00
							},
							"subsystem-id",
							Buffer (0x04)
							{
								0xea, 0x00, 0x00, 0x00
							},
							"revision-id",
							Buffer (0x04)
							{
								0x09, 0x00, 0x00, 0x00
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

AAPL,ig-platform-id was the key to get the HD4000 kext's to load. No go without it. Lastly you may want to modify AppleGraphicsPowerManagement.kext. I'm using the macmini5,1 definition, so this is my edit:






<key>Mac-8ED6AF5B48C039E1</key>
<dict>
   <key>IGPU</key>
   <dict>
	  <key>Heuristic</key>
	  <dict>
		 <key>EnableOverride</key>
		 <integer>0</integer>
		 <key>ID</key>
		 <integer>2</integer>
	  </dict>
		 <key>control-id</key>
		 <integer>16</integer>
		<key>max-power-state</key>
		<integer>10</integer>
		<key>min-power-state</key>
		<integer>0</integer>
   </dict>
</dict>



Good luck! :wink2:

Cinebench R11.5 is around 23fps with 12A256 btw.

#2
franky1111

franky1111

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
This sound promising. I am planning to buy the gigabyte GA-Z77-DS3H with i5-3570K do you think it will work at what are the strings I would have to add?
Not a total noob (god a acer AOA150 running and fully working with 10.6.6) but now i would like to upgrade my desktop PC.......and run Lion and soon Mountain Lion.

#3
iHackintosh_PT

iHackintosh_PT

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
Hi,iv got core i73610QM 2.3 Ghz ... i didn't need to change nothing on DSDT.aml to load AppleIntelFramebufferCapri.kext ... Also it loads the AppleIntelHD4000Graphics.kext AGPM not loading.... no qe/ci at the moment..... Lion 10.7.5 / Mountain Lion 10.8 GM (12A269) Asus A55VD Core i7 3610QM IntelHD4000 Nvidia GeForce GT610M 2 GB 6 GB RAM

#4
wollvieh

wollvieh

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Hey!

I've got i5-3570K, GA-Z77X-UD5H, injected HD 4000 successfully as described above, but still no qe/ci .. I guess it's cause the AppleGraphicsPowerManagement.kext makes trouble at startup (or rather doesn't get loaded):

Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]: The following symbols are unresolved for this kext:
Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]:  __ZN15AGPMEventSource9metaClassE
Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]:  __ZN4AGPM17newAGPMHeuristic4Ev
Jul  9 20:57:47 Mac-Pro kernel[0]: Cant load kext com.apple.driver.AGPM - link failed.
Jul  9 20:57:47 Mac-Pro kernel[0]: Failed to load executable for kext com.apple.driver.AGPM.
Jul  9 20:57:47 Mac-Pro kernel[0]: Kext com.apple.driver.AGPM failed to load (0xdc008016).
Jul  9 20:57:47 Mac-Pro kernel[0]: Failed to load kext com.apple.driver.AGPM (error 0xdc008016).

.. any idea? It loads AppleIntelFramebufferCapri.kext btw

edit: some info about AAPL,ig-platform-id I found: #####

#5
McDan

McDan

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
I have a Z77X-UD5H too, but with a 3770k - can you point me in the right direction to apply the instructions above? I couldnt really see where in my DSDT i was supposed to make the edits to add the IGPU device (its not there at present)

I understand that it doesn't result in qe/ci being enabled but is a step forward at least. its the only thing left for me to get working on this otherwise great setup.

Cheers

#6
wollvieh

wollvieh

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
if the IGPU device doesn't appear in your DSDT, it's just named differently (like eg GFX0), I think you should rename it (and any appearance of course) to IGPU, since it seems to be the name, Apple uses for internal graphics

#7
iHackintosh_PT

iHackintosh_PT

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
I take back my words... iv reached full QE/CI on IntelHD4000 Core i7 3610QM..... REALLY THANKS FOR YOUR WORDS....

#8
McDan

McDan

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
Really?? - This is big news!! any more details could help me out?

#9
iHackintosh_PT

iHackintosh_PT

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
Really... it was all about one device-properties string on org,chameleon.Boot.plist iv used ( ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2 ) from the topic of Wollvieh .... i can post mi entire string and then you just need to try all those combinations only changing the last number .... first i tried 01660009,but gave me a black screen... second try, buummmmm... QE/CI .... iv just changed the 9 to a 3 .....

#10
Taruga

Taruga

    Retired

  • Retired Developers
  • 533 posts
  • Gender:Male
  • Location:Portugal
Can

Really... it was all about one device-properties string on org,chameleon.Boot.plist i use (
ig-platform-id: 01660003, Stolen RAM for FB: 64MB, Pipes: 2, Ports: 2, FBMem: 2)


Can you post your dsdt.aml ?

#11
iHackintosh_PT

iHackintosh_PT

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
Yes, i can post my DSDT, but i didn't changed nothing on the dsdt.... it was all about this simple string generated with gfxutil.app ( thank´s to Oldnapalm ) and to artur_pt for his help also .... proteinshake for his tip.... respect to all of you......

Asus A55VD Extra Folder with the string on org.chamelon.Boot.plist http://www.sendspace.com/file/0thtu0

#12
Taruga

Taruga

    Retired

  • Retired Developers
  • 533 posts
  • Gender:Male
  • Location:Portugal

Hey!

I've got i5-3570K, GA-Z77X-UD5H, injected HD 4000 successfully as described above, but still no qe/ci .. I guess it's cause the AppleGraphicsPowerManagement.kext makes trouble at startup (or rather doesn't get loaded):

Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]: The following symbols are unresolved for this kext:
Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]:  __ZN15AGPMEventSource9metaClassE
Jul  9 20:57:47 Mac-Pro kernel[0]: kxld[com.apple.driver.AGPM]:  __ZN4AGPM17newAGPMHeuristic4Ev
Jul  9 20:57:47 Mac-Pro kernel[0]: Cant load kext com.apple.driver.AGPM - link failed.
Jul  9 20:57:47 Mac-Pro kernel[0]: Failed to load executable for kext com.apple.driver.AGPM.
Jul  9 20:57:47 Mac-Pro kernel[0]: Kext com.apple.driver.AGPM failed to load (0xdc008016).
Jul  9 20:57:47 Mac-Pro kernel[0]: Failed to load kext com.apple.driver.AGPM (error 0xdc008016).

.. any idea? It loads AppleIntelFramebufferCapri.kext btw

edit: some info about AAPL,ig-platform-id I found: http://www.tonymacx8...p?f=169&t=65592


Hi, I have the same board as you, can you post your dsdt ?

#13
wollvieh

wollvieh

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
@Taruga: you actually don't need one, it works fine with bios version F8, I only edited it to rename Device GFX0 to IGPU .. anyway, here you go: http://www.sendspace.com/file/e7it6d

#14
iHackintosh_PT

iHackintosh_PT

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
This is all about just a simple efi-string...i dont no where are the supposed GURUS ..... but like always, peopple came here to pick up information on how to get it to work,and then they will post on those {censored} forums saying that its they work.....

#15
be11o

be11o

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Yes, i can post my DSDT, but i didn't changed nothing on the dsdt.... it was all about this simple string generated with gfxutil.app ( thank´s to Oldnapalm ) and to artur_pt for his help also .... proteinshake for his tip.... respect to all of you...... Asus A55VD Extra Folder with the string on org.chamelon.Boot.plist http://www.sendspace.com/file/0thtu0

its not dsdt nor string, its InstallGenieo...

#16
dta

dta

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
I can confirm that this works. Tried it on my MSI Z77A-G43 with i7 3770K and ig-platform-id: 01660009. I did this using EFI string injection. Will do some more test on what is actually needed and what not.

Update:
OK, there's actually nothing more needed than this simple EFI string ... no DSDT or whatsoever. Thank you so much for figuring this out!

#17
wollvieh

wollvieh

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
@dta: would you share your EFI string? I'm still stuck (KPs, funny stripes, ...)

edit: got it! works for me now with this one:
ig-platform-id: 01620005, Stolen RAM for FB: 32MB, Pipes: 2, Ports: 3, FBMem: 2

-> EFI string for device-properties in org.chameleon.Boot.plist:
8800000001000000010000007c0000000200000002010c00d041030a000000000101060000027fff0400100000006d006f00640065006c0000001a000000496e74656c20484420477261706869637320343030302c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000005006201

:trumpet:

#18
dta

dta

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts

@dta: would you share your EFI string? I'm still stuck (KPs, funny stripes, ...)

edit: got it! works for me now with this one:

ig-platform-id: 01620005, Stolen RAM for FB: 32MB, Pipes: 2, Ports: 3, FBMem: 2

-> EFI string for device-properties in org.chameleon.Boot.plist:
8800000001000000010000007c0000000200000002010c00d041030a000000000101060000027fff0400100000006d006f00640065006c0000001a000000496e74656c20484420477261706869637320343030302c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000005006201

:trumpet:


Your platform ID does also work on my board. I think using your ig-platform-id: 01620005 is a better idea because 0162 is actually the desktop chipset which has a variable clock rate from 650-1150 while the mobile chipsets (0166) have a clock rate from 350-1300.
As proteinshake pointed out it might be neccessary to edit AppleGraphicsPowerManagement.kext.

#19
wollvieh

wollvieh

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
yes, also mobile ig-platform-ids didn't work for me at all .. (and I edited the AGPM kext, don't know if it'd work without that)

#20
Taruga

Taruga

    Retired

  • Retired Developers
  • 533 posts
  • Gender:Male
  • Location:Portugal
I have a GA-Z77X UD5H and a GTX 560 TI, with the EFI string I got to the desktop UI, I could check that the AirPlay to Apple TV showed up but didn't had time for much more because it panics. Is it possible to have both HD4000 and GTX 560ti enabled ?





Also tagged with one or more of these keywords: HD4000, 3770, Mountain Lion, Lion


3 user(s) are reading this topic

1 members, 2 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy