Jump to content

Intel HD4000 and Haswell Inject AAPL,ig-platform-id


ErmaC

Chameleon now has a bootloader-implementation from Enoch, through which you can activate the various video cards such as Intel Ivy Bridge and Haswell. All without dsdt edits or EFI strings.

This is especially useful for Laptops PC, but also for Desktop systems without a dedicated video card.

Keys available for org.chameleon.boot.plist, read below:

 

During last week I redesign part of the Intel Injector (gam.c/gma.h)

due to the new hardware (Haswell).

Enoch Injector port to main Chameleon Trunk code: 2262

 

FIRST OF ALL

I rename the key flag (thx Micky1979 and bcc9):

 

- For Ivy Bridge the old keyflag HD4K-ig is now deprecated the new name is IntelCapriFB (match with Apple kext name for that hardware)

ex: IntelCapriFB=a_value from 0 to 11

 

 

0 = 00006601

1 = 01006601

2 = 02006601

3 = 03006601

4 = 04006601

5 = 05006201

6 = 06006201

7 = 07006201

8 = 08006601

9 = 09006601

10 = 0a006601

11 = 0b006601

 

 

 

- For the Haswell the recently introduced key flag HD5K-ig is also deprecated and the new name is IntelAzulFB (Same things... match with Apple kext)

ex: IntelAzulFB=a_value from 0 to 15

 

 

0 = 00000604

1 = 0000060c

2 = 00001604

3 = 0000160a

4 = 0000160c

5 = 00002604

6 = 0000260a

7 = 0000260c

8 = 0000260d

9 = 02001604

10 = 0300220d

11 = 0500260a

12 = 0600260a

13 = 0700260d

14 = 0800260a

15 = 08002e0a

 

 

I also introduced the ability to inject a custom AAPL,ig-platform-id for both kind of gfx (Ivy & Haswell) the keyflag is InjectIntel-ig

ex: InjectIntel-ig=09006601 (a flipped 01660009)

 

The priority is:

1° InjectIntel-ig

2° IntelXxxxFB

3° the default setting (based on BIOS memory for Ivy, and default ig for Haswell)

 

Example of data into org.chameleon.Boot.plist

<key>InjectIntel-ig</key><string>09006601</string>

<key>IntelCapriFB</key><string>9</string>

<key>IntelAzulFB</key><string>9</string>

Here we go:

http://www.insanelymac.com/forum/files/file/59-chameleon-23-svn/

ErmaC



User Feedback

Recommended Comments



AFAIK for HD4000 + discrete graphics to work at the same time you must set the HD4000 as primary GPU in the BIOS.

 

I don't know what a GT 630 is, but if you have a Kepler card that works with GraphicsEnabler=n you must now set GraphicsEnabler=y and SkipNvidiaGfx=y.

 

As for the rest, follow the instructions in the first and second posts.

Look I bought GTX560 TI and use my DSDT.Is it possible to readjust bios to see both graphics?

Share this comment


Link to comment
Share on other sites

I'm not sure I understand what you're asking.

 

I repeat:

 

In order to use both the HD4000 and your GTX 560, you must set the HD4000 as primary GPU in the BIOS. I haven't seen that there's any way around this so far.

 

If by "I use my DSDT" you mean that you're injecting stuff for the GTX 560 via DSDT then keep it as it is and set GraphicsEnabler=y and SkipNvidiaGfx=y so that GraphicsEnabler doesn't interfere with your DSDT injection.

Hopefully that will work, I don't know, I haven't tried it myself.

Since the HD4000 needs to be primary, maybe you need to edit the DSDT code so that the GTX 560 is injected as secondary (ie, not gfx0) but I don't know how to do that.

It looks like all the information you need is in that topic you linked to in your earlier post.

 

I repeat:

 

As for the rest, follow the instructions in the first and second posts.

Share this comment


Link to comment
Share on other sites

I activated my HD 4000 by DSDT. works great!!

 

but i have a doubt.

 

HD 4000 needs snb-platform-id ??

 

look my patch in DSDT:

 

FizxhXO.png

Share this comment


Link to comment
Share on other sites

Ermac,

 

I have a different chip on my Intel NM10 which appears to be 0156009:

 

Bildschirmfoto_2014_02_02_um_14_17_34.pn

 

Would be nice to get injection support, as the Capri Kext has it included.

 

Clover bootlog shows:

0:999  0:000  PCI (00|00:02.00) : 8086 0156 class=0300000:999  0:000  Found GFX model=Intel HD Graphics 4000

Should I inject 0156009 or 0156003? For the moment I could solve it even via DSDT with a patch like that:

into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "AAPL,ig-platform-id",\n
            Buffer (0x04)\n
            {\n
                0x03, 0x00, 0x56, 0x01\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end

I'm just incertain which one to use: 0156009 or 0156003 ...

I'll try it again and post about the results.

 

Dump Files from Darwindumper attached.

 

best regards

dump.zip

Share this comment


Link to comment
Share on other sites

I have ran into a weird situation here.

 

My DELL 7720 SE laptop had some power problem on the motherboard (as told by the service center guys) which made my system unbootable.

They replaced the motherboard.

 

I brought it home and obviously, tried installing OSX using the Time Machine Backup. It restored correctly.

Used all the same files/ config as earlier but the system couldn't boot up.

 

It boots in safe mode, but no QE/QC.

When I delete the Intel HD4000 Kexts and SNBGraphics etc kexts, the system boots up, again w/o QE/QC!!!   :(

 

Now, what in the world has gone wrong??

I have updated the BIOS to the latest A16.

 

Is the new motherboard different than the earlier one?

Basically, Intel HD4000 is not working.......

 

I am trying to install OSX 10.9.1

 

I tried latest Chameleon Bootloader with DSDT=Null and tried all IntelCapriFB=1-11 EnableDualLink=Yes/No, GraphicsEnabler=Yes/No SkipNvidiaGfx=Yes..

 

Some hanged, some booted up without QE/QC.

 

IntelCapriFB=4 was the best one as the Intel Graphics was detected correctly with 1024Mb VRAM...but No QE/QC..

I checked for the loaded KEXTS... IntelHD4000 KEXT was not loaded.... i tried using UseKernelCache=No...only the IntelFramebufferCapri was loaded...

 

Also, clover Bootloader is not able to find my Mac volume, yes, i have the HFS related driver in CLover... tried both Vbox and HFSPlus...!!!!!

So using chameleon on the USB as I have windows in UEFI mode with GPT partitioning.

 

The older DSDT worked flawlessly (thanks to Lejenk)

Somehow the same DSDT has stopped working after the swapping of motherboard.....

 
System has Intel HD Graphics 4000 and NVIDIA GT650M in optimus..
CPU is 3rd Gen Intel Core i7 3630QM..
HDD is 1TB partitioned as GPT... with windows 8 installed in UEFI mode...

 

Please help!

Share this comment


Link to comment
Share on other sites

hi, currently I'm using Intel i3 4130 with onchip GPU Intel HD 4400 with dev id 041e wich is not supported by intelAzulFB. how to enable this graphic? thank you.

Share this comment


Link to comment
Share on other sites

when i use IntelAzulFB=x  GF=Yes then i only stuck in verbos mode while i hear sound of system.

 

when use only GF=Yes then boots fine but "" Graphics  Intel HD Graphics 4600 64 MB of Shared System Memory "" 

 

and no QE/CI 

 

any help ?

Share this comment


Link to comment
Share on other sites

Hello all, and thanks for the fantastic work!


 


I've been messing around with this ASUS S56CA laptop for a while now, trying to get the Intel HD 4000 working and this thread was the first to finally allow me to get it working!


 


Here is the issues and questions I have:


 


After trying all combinations with InjectIntel-ig, the ONLY one that will work (otherwise I just get a black screen), is 01660003 (entered as '03006601'). Now, using Chameleon r2377, and with DVMT set to 64M, I can boot and VRAM shows as '1024 MB'. In BIOS, I have only 4 choices of 64M, 128M, 256M, and 512M in reference to DVMT (Dynamic Video Memory Technology), which is not about actual physical memory allocation. But if I set the DVMT to ANY value other than 64M, I get the KP in the attached pic. This is a problem for those dual booting Windows, as you would want DVMT set to maximum.


 


Next question: So OS X is reporting I have 1024MB of VRAM... is this true, or possibly not? What would be a good way to test this memory to see if it's all there? This laptop has an Intel® Core™ i3 3217U Processor http://ark.intel.com...-Cache-1_80-GHz.


 


Final issue (which you may not be able to help with): With Clover 2652, running in true UEFI, I can only get it to show 4MB of VRAM. : ( If anyone has a clue about this, that would helpful.


 


Thanks all!


 


post-81851-0-18747000-1397721308_thumb.jpg


 


Share this comment


Link to comment
Share on other sites

 

I have ran into a weird situation here.

 

My DELL 7720 SE laptop had some power problem on the motherboard (as told by the service center guys) which made my system unbootable.

They replaced the motherboard.

 

(...)

 

The older DSDT worked flawlessly (thanks to Lejenk)

Somehow the same DSDT has stopped working after the swapping of motherboard.....

 

Extract a clean DSDT from your replacement motherboard and patch it in the same way as the old one.

Share this comment


Link to comment
Share on other sites

hi 

i am working on my graphics from very long time.

i am trying this method to make my hd 4000 graphics work but no luck.

problem i am facing is my actual 

 

DevicePath = PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)

 

but when loading with IntelCapriFB it showing

 

DevicePath = PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)

 

so i think this is my problem. i've got colorful screen, sometime half, sometime black screen.

 

so please help me with this.

Share this comment


Link to comment
Share on other sites
Hey guys! I bought a laptop Lenovo B590, it has an Intel Processor i3-3110M 2.4GHz with a HD4000 integrated on a 7 series motherboard. 

 

I installed Mountain Lion 10.8.2 and i got full acceleration with Enoch Bootloader and IntelCapriFB=3 GraphicsEnabler=Yes, but my mouse pointer disappears one or two seconds after log. Eventually the cursor converts in lines of colors. My BIOS setup hasn´t video memory settings, because i can´t change it.

 

Please, help me. This is the only problem I have to use my laptop successfull.

 

Thank you!!

 

And sorry for my english, it is not my native language.

Share this comment


Link to comment
Share on other sites

Does anybody have an idea if this will work with an i3 4130 HD 4400 CPU?

I have that one running, but no QE.

Thanks

Desktop HD4400 is not supported (no QE, just CI with device-id inject). Mobile HD4400 is supported (both QE/CI).

Share this comment


Link to comment
Share on other sites

OK!

Can I trick my HD 4400 to be a MHD 4400?

Just a yes or no. The rest I will find.

 

Thanks

That will get you CI, but QE (AppleIntelFramebufferAzul will load, but not AppleIntelHD5000Graphics). QE likely requires kext patches...

 

It is easier to buy a compatible CPU in the first place.

Share this comment


Link to comment
Share on other sites

i tried all 1-11 numbers, with graphicsenabler=yes/no but nothing happens to me.

 

I only got AppleIntelFramebufferCapri.kext in my S/L/E folder, removed all other graphics kext (ex: nvidia, ati, AppleintelHD*) else system didnt boot. Do i need other kexts or whatsoever?

 

Specs:
 

intel core i3-3217u

Intel HD 4000

Osx 10.9.1

Chameleon r2286

Share this comment


Link to comment
Share on other sites

i tried all 1-11 numbers, with graphicsenabler=yes/no but nothing happens to me.

 

I only got AppleIntelFramebufferCapri.kext in my S/L/E folder, removed all other graphics kext (ex: nvidia, ati, AppleintelHD*) else system didnt boot. Do i need other kexts or whatsoever?

 

Specs:

 

intel core i3-3217u

Intel HD 4000

Osx 10.9.1

Chameleon r2286

graphicsenabler does nothing. It is an unrecognized bootloader flag. Boot loader flags are case sensitive. It is properly spelled GraphicsEnabler.

 

For full QE/CI you need all Intel graphics kexts.

Share this comment


Link to comment
Share on other sites

I used it case sensitive, my apologies for not writing it properly. Where can j get the kexts from? Dont really want to reinstall again!

Share this comment


Link to comment
Share on other sites

I used it case sensitive, my apologies for not writing it properly. Where can j get the kexts from? Dont really want to reinstall again!

Correct kexts are installed at fresh install. If you saved a backup before removing them, that backup is a good source... Otherwise, you already know the answer.

Share this comment


Link to comment
Share on other sites

I have an ASUS N76V laptop: 3630QM (HD4000) + Geforce635M

 

I have Win 7 + Chameleon (rev.2510) + 10.9.5 (Niresh 10.9, and updated).

 

Now the system knows GPU memory is 1024MB, and I can tell QE/CI is enabled. However, it only displays the left half of the screen.

 

Anyone could help me, please? I have been trying five days to figure this out. Thanks a lot!

Share this comment


Link to comment
Share on other sites

Hi,

I have a samsung laptop np350v5c with core i73630qm and yosemite 10.10.1

I have used this guide for HD 4000, but QE/CI is not enable (rotation in not supported).

Some keys of my ocbp:

<key>GraphicsEnabler</key>

<string>Yes</string>
<key>InjectIntel-ig</key>
<string>03006601</string>
<key>Kernel Flags</key>
<string>kext-dev-mode=1 dart=0</string>
 
I've moved ati e nvidia kexts from S/L/E in a backup folder and so my ATI RADEON (not supported) second card in not displayed in system properties.
 
Any suggestion to enable QE/CI ???
 
UPDATE: I've tested dvd player (all features are supported) and chess. they work fine.
Then I've tested OpenGL acceleration with OpenGL extensions viewer and get tests passed until 4.1,
BUT rotation is NOT SUPPORTED.
 
I'm confused. :hysterical:

Share this comment


Link to comment
Share on other sites


×