Jump to content

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


ErmaC
 Share

135 posts in this topic

Recommended Posts

  • 2 weeks later...

 

 

<key>GraphicsEnabler</key>
<string>No</string>

<key>IntelCapriFB</key>

<string>9</string>
<key>device-properties</key>
<string>5e0000000100000001000000520000000100000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000003006601</string>

Works great with my HD4000 (Mobile) on Acer V3-571G  intel core i5 3210M :D Full QE/CI

jwuLyhN.png

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

which chameleon model does device-propeties work in 10.9 osx with intel hd4000?

Link to comment
Share on other sites

its 2266

Link to comment
Share on other sites

Thank you so much.

Link to comment
Share on other sites

  • 3 weeks later...

Maybe you need to replace your MEI ID into AppleIntelSNBGraphicsFB.kext and AppleIntelFranebufferCapri.kext??

 

 

attachicon.gifSNB.pngattachicon.gifCapri.png

 

According to your ioreg, this was the problem!

 

Do as I told you:

 

for Intel HD4000 on series 6 motherborads, (but also for Intel HD3000 in a new series 7 Motherboards)

 

copy/paste in Terminal.app:

 

 

 

sudo -s (type your password)

 

then

 

sed -i "" 's/0x1E3A8086/0x1C3A8086/' /System/Library/Extensions/AppleIntelFramebufferCapri.kext/Contents/Info.plist

 

then

 

sed -i "" 's/0x1C3A8086/0x1E3A8086/' /System/Library/Extensions/AppleIntelSNBGraphicsFB.kext/Contents/Info.plist

 

 

then repair permission and rebuild the cache.

 

Reboot continuing with Enoch ig-plaform test

 

 

Micky

I have a this problem...Please help.....Thank you....

http://www.insanelymac.com/forum/topic/286474-about-using-discrete-and-integrated-graphics-at-the-same-time/page-3

Link to comment
Share on other sites

  • 3 weeks later...

I wonder Ermac, if you have support for mobile haswel cpu  but HD 4400  with id 0a16 (i5 4200U)

Try rev 2269+

Your dev is now defind and used

        case GMA_HASWELL_ULT_E_GT1: // 0a0e
        case GMA_HASWELL_ULT_M_GT2: // 0a16
        case GMA_HASWELL_ULT_E_GT2: // 0a1e
Fabio
Link to comment
Share on other sites

Try rev 2269+

Your dev is now defind and used

        case GMA_HASWELL_ULT_E_GT1: // 0a0e
        case GMA_HASWELL_ULT_M_GT2: // 0a16
        case GMA_HASWELL_ULT_E_GT2: // 0a1e
Fabio

 

I installed the latest version 2269(Enoch) that is available now, with -v I can see the information about the 4400 graphics card, im getting full HD with qe/ci without editing chameleon.

My intel HD is i5-4200U with 0a16 0009 . thanks a lot for your reply ErmaC.

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

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:

 

I don't understand your request...

have you any problem with the Chameleon HD4000 Injector?Or is a request for add snbPlatformId?

:o

 

ErmaC

Link to comment
Share on other sites

  • 2 weeks later...

 

Chameleon 2.2svn (svn-r2368) [2014-02-01 11:57:14]

msr(416): platform_info e0011200

msr(420): flex_ratio 00010000

Unusable flex ratio detected. Patched MSR now 00000000

Sticking with [bCLK: 99Mhz, Bus-Ratio: 18]

CPU: Brand String:             Intel® Celeron® CPU 1037U @ 1.80GHz

CPU: Vendor/Family/ExtFamily:  0x756e6547/0x6/0x0

CPU: Model/ExtModel/Stepping:  0x3a/0x3/0x9

CPU: MaxCoef/CurrCoef:         0x0/0x12

CPU: MaxDiv/CurrDiv:           0x0/0x0

CPU: TSCFreq:                  1795MHz

CPU: FSBFreq:                  99MHz

CPU: CPUFreq:                  1795MHz

CPU: NoCores/NoThreads:        2/2

CPU: Features:                 0x0000027f

Attempting to read GPT

Read GPT

Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B

Reading GPT partition 2, type 48465300-0000-11AA-AA11-00306543ECAC

Reading GPT partition 3, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

Reading GPT partition 4, type 48465300-0000-11AA-AA11-00306543ECAC

Read HFS+ file: [hd(0,4)/System/Library/CoreServices/SystemVersion.plist] 475 bytes.

Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 478 bytes.

Read HFS+ file: [hd(0,2)/Extra/org.chameleon.Boot.plist] 895 bytes.

Module 'Symbols.dylib' by 'Chameleon' Loaded.

    Description: Chameleon symbols for linking

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/modules/FileNVRAM.dylib] 56136 bytes.

Module 'FileNVRAM.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/modules/KernelPatcher.dylib] 31272 bytes.

Module 'KernelPatcher.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/modules/Keylayout.dylib] 13464 bytes.

Module 'Keylayout.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/Keymaps/mac-de.lyt] 464 bytes.

Read HFS+ file: [hd(0,2)/Extra/modules/klibc.dylib] 44260 bytes.

Module 'klibc.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/modules/Resolution.dylib] 26528 bytes.

Module 'Resolution.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Resolution:

 core proc identified

 Detected chipset/proc id (DRAM controller): 01548086

 VBios: Other - unknown

Read HFS+ file: [hd(0,2)/Extra/modules/uClibcxx.dylib] 78072 bytes.

Module 'uClibcxx.dylib' by 'Unknown' Loaded.

    Description:

    Version: 0

    Compat:  0

Read HFS+ file: [hd(0,2)/Extra/nvram.7402d403-3504-1305-e106-160700080009.plist] 731 bytes.

 

Darwin/x86 boot v5.0.132 - Chameleon v2.2svn r2368

Build date: 2014-02-01 11:57:14

7124MB memory

VESA v3.0 101MB (Intel® Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS)

Scanning device 80...Use keys to select the startup volume.    hd(0,2) OS X Mavericks                  

    hd(0,4) Install OS X                    

Press Enter to start up Darwin/x86 with no options, or you can:

  Type -v and press Enter to start up with diagnostic messages

  Type ? and press Enter to learn about advanced startup options

 

boot: Read HFS+ file: [hd(0,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 232 bytes.

Read HFS+ file: [hd(0,2)/Extra/org.chameleon.Boot.plist] 895 bytes.

Read HFS+ file: [hd(0,2)/private/var/vm/sleepimage] 524 bytes.

header read size 20c

Incorrect image signature

Loading Darwin 10.9

Kernel Cache ignored.

Loading kernel /mach_kernel

Read HFS+ file: [hd(0,2)/mach_kernel] 4096 bytes.

Read HFS+ file: [hd(0,2)/mach_kernel] 8389160 bytes.

kernel_patcher.c[534]: Patching 64bit XNU Kernel 13.0.0

Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; *patched-2422.1.72~6/RELEASE_X86_64

cpuid_patch.c[52]: Attempting to patch 64bit kernel for unknown cpu

cpuid_patch.c[115]: Panic call removed.

commpage_patch.c[87]: _commpage_stuff_routine patched.

lapic_patch.c[76]: lapic_init panic removed.

bootstrap_patch.c[167]: KLDBootstrap::readBooterExtensions() call injected into KLDBootstrap::readPrelinkedExtensions(void* section_64)

ACPI Table not found: No

No DSDT found, using 0 as uid value.

Using PCI-Root-UID value: 0

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

------------ INTEL DEVICE INFO --------------

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

Class code: [0300]

Intel HD Graphics 2500 [8086:0156] (rev 09)

Subsystem: [1458:d000] :: PciRoot(0x0)/Pci(0x2,0x0)

Please specify 96, 64, or 32MB RAM for the HD4000 in the bios.

The selected 102MB RAM configuration is not supported for the  HD4000.

Press a key to continue...

LAN Controller [10ec:8168] :: PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)

Setting up lan keys

LAN Controller [10ec:8168] :: PciRoot(0x0)/Pci(0x1c,0x1)/Pci(0x0,0x0)

Setting up lan keys

Read HFS+ file: [hd(0,2)/Extra/smbios.plist] 1038 bytes.

SMBus CmdReg: 0x3

Scanning SMBus [8086:1e22], mmio: 0xf7e05004, ioport: 0xf040, hostc: 0x1

SPD[0] (size): 146 @0x50

Slot: 0 Type 24 4096MB (DDR3 SDRAM) 1333MHz Vendor=Corsair

      PartNo=CMZ8GX3M2A1600C9 SerialNo=00000000

SPD[0] (size): 255 @0x51

SPD[0] (size): 146 @0x52

Slot: 2 Type 24 4096MB (DDR3 SDRAM) 1333MHz Vendor=Corsair

      PartNo=CMZ8GX3M2A1600C9 SerialNo=00000000

SPD[0] (size): 255 @0x53

SPD[0] (size): 255 @0x54

SPD[0] (size): 255 @0x55

SPD[0] (size): 255 @0x56

SPD[0] (size): 255 @0x57

CPU is Intel® Celeron® CPU 1037U @ 1.80GHz, family 0x6, model 0x3a

 

SMBIOS rev.: 2.4, DMI rev.: 2.4

 

Handle: 0x0000, DMI type 0, 24 bytes

BIOS Information

    Vendor: Apple Inc.

    Version: IM131.88Z.010A.B05.1210121459

    Release Date: 10/12/2012

    BIOS Revision: 0.1

 

Handle: 0x0001, DMI type 1, 27 bytes

System Information

    Manufacturer: Apple Inc.

    Product Name: iMac13,2

    Version: 1.0

    Serial Number: ** PRIVATE **

    UUID: ** PRIVATE **

    Wake-up Type: Power Switch

    SKU Number: Default SKU#

    Family: iMac

 

Handle: 0x0002, DMI type 2, 15 bytes

Base Board Information

    Manufacturer: Apple Inc.

    Product Name: Mac-FC02E91DDD3FA6A4

    Version: x.x

    Serial Number: ** PRIVATE **

    Asset Tag: Default Asset Tag#

    Location In Chassis: To be filled by O.E.M.

    Type: Motherboard

 

Handle: 0x0003, DMI type 3, 20 bytes

Chassis Information

    Manufacturer: Apple Inc.

    Type: All in One

    Version: To Be Filled By O.E.M.

    Serial Number: ** PRIVATE **

    Asset Tag: Default Asset Tag#

 

Handle: 0x0027, DMI type 11, 5 bytes

OEM Strings

    String 1: To Be Filled By O.E.M.

    String 2: To Be Filled By O.E.M.

    String 3: To Be Filled By O.E.M.

    String 4: To Be Filled By O.E.M.

    String 5: To Be Filled By O.E.M.

 

Handle: 0x0040, DMI type 17, 27 bytes

Memory Device

    Error Information Handle: 0xffff

    Locator: ChannelB-DIMM0

    Bank Locator: BANK 2

    Memory Type: DDR3

    Speed: 1600 MHz

    Manufacturer: Corsair

    Serial Number: ** PRIVATE **

    Asset Tag: 9876543210

    Part Number: CMZ8GX3M2A1600C9

 

Handle: 0x0042, DMI type 17, 27 bytes

Memory Device

    Error Information Handle: 0xffff

    Locator: ChannelA-DIMM0

    Bank Locator: BANK 0

    Memory Type: DDR3

    Speed: 1600 MHz

    Manufacturer: Corsair

    Serial Number: ** PRIVATE **

    Asset Tag: 9876543210

    Part Number: CMZ8GX3M2A1600C9

 

Handle: 0x0043, DMI type 4, 38 bytes

Processor Information

    Socket Designation: Intel® Celeron® CPU 1037U @ 1.80GHz

    Type: Central Processor

    Family: 0xC6

    Manufacturer: Intel

    ID: 0x306A9

    Version: Intel® Celeron® CPU 1037U @ 1.80GHz

    External Clock: 400 MHz

    Max Speed: 1795 MHz

    Current Speed: 1800 MHz

    Upgrade: Other

    Serial Number: Not Specified

    Asset Tag: Fill By OEM

    Part Number: Fill By OEM

    Core Count: 2

    Core Enabled: 1

 

Handle: 0x004b, DMI type 131, 6 bytes

Apple specific Processor Type

    Cpu-type: 0x604

 

Handle: 0x004c, DMI type 132, 6 bytes

Apple specific Processor Interconnect Speed

    QPI = 25100 MT/s

 

Handle 0x004d, DMI type 127, 4  bytes

End of Table

 

SMBIOS orig was = f04c0

SMBIOS new is = ae5000

ACPI Table not found: No

ACPI Table not found: SSDT.aml

FADT: ACPI Restart Fix applied!

OEM SSDT tables was dropped

OEM SSDT tables was dropped

OEM SSDT tables was dropped

FADT: ACPI Restart Fix applied!

OEM SSDT tables was dropped

OEM SSDT tables was dropped

OEM SSDT tables was dropped

... loading kexts ...

Starting Darwin x86_64

Boot Args: boot-uuid=4822DF19-C607-3E72-B40D-B5187E63DE16 rd=*uuid dart=0 -v DSDT=No -x -f

 

 

How do I find out which values to use for Intel HD on my new board?

 

8086, 0156, 1458, D000, Intel Corporation, 3rd Gen Core processor Graphics Controller

 

It's a 59.90 Euro Mainboard with a Dualcore Intel Celeron, so I'm stunning :w00t:  it was really booting up without any flaws

 

best regards

Link to comment
Share on other sites

How do I find out which values to use for Intel HD on my new board?

Have you read the first post?

Try a value between 0 and 11 for IntelCapriFB so

add it in you org.chameleon.Boot.plist with a value to test

 

ErmaC

  • Like 1
Link to comment
Share on other sites

Have you read the first post?

Try a value between 0 and 11 for IntelCapriFB so

add it in you org.chameleon.Boot.plist with a value to test

 

ErmaC

yes, I read the first post!

but your first post is rather cluesless how to detemine the correct parameters, or did I miss something?

I wasn't aware it's a trial and error stuff, impossible to identify the correct values by bdmesg log or lspci, right?

 

what value should I give for InjectIntel-ig?

 

this board has an intel NM10 chipset, it's detected as a Sandybridge/Ivybridge chipset by chameleon ;)

in bdmesg it's shown as HD4000 and in system profile as Intel HD2500

Link to comment
Share on other sites

yes, I read the first post!

but your first post is rather cluesless how to detemine the correct parameters, or did I miss something?

I wasn't aware it's a trial and error stuff, impossible to identify the correct values by bdmesg log or lspci, right?

 

what value should I give for InjectIntel-ig?

 

this board has an intel NM10 chipset, it's detected as a Sandybridge/Ivybridge chipset by chameleon ;)

in bdmesg it's shown as HD4000 and in system profile as Intel HD2500

 

For what I know there isn't a logical way to exactly determinate the ig every conf is different so..

From the first post

 0 = 00006601
 1 = 01006601
 2 = 02006601
 3 = 03006601
 4 = 04006601
 5 = 05006201
 6 = 06006201
 7 = 07006201
 8 = 08006601
 9 = 09006601
10 = 0a006601
11 = 0b006601
this are the value for your IntelCapriFB and the hex are the value for the InjectIntel-ig

 

ErmaC

  • Like 1
Link to comment
Share on other sites

 

For what I know there isn't a logical way to exactly determinate the ig every conf is different so..

From the first post

 0 = 00006601
 1 = 01006601
 2 = 02006601
 3 = 03006601
 4 = 04006601
 5 = 05006201
 6 = 06006201
 7 = 07006201
 8 = 08006601
 9 = 09006601
10 = 0a006601
11 = 0b006601
this are the value for your IntelCapriFB and the hex are the value for the InjectIntel-ig

 

ErmaC

 

 

Thanks Ermac,

 

I wasn't successful with chameleon, although I tried all available capri options mentioned above.

 

But now I'm on with clover uefi in safe-mode, it auto-detects the graphics. At normal boot I get a

coloured, pixeled screen instead of QI/QE graphics, there must be something wrong with framebuffer injection:

 

framebuffer_1280.png

 

Bildschirmfoto_2014_02_02_um_14_15_14.pn

 

Am I able to get the right config from clover?

That's what I see in safe-mode:

 

Bildschirmfoto_2014_02_02_um_14_17_34.pn

 

bootlog from DPCIManager

 

update: I tried to inject 01560009

<key>ig-platform-id</key><string>0x01560009</string>

but most likely this gfx chip is not supported by clover or chameleon.

Is it something new? I saw the 0156 chip can be found in Info.plist of the capri kext.

 

best regards

Link to comment
Share on other sites

  • 2 weeks later...

Hello good day i just wanna ask about my intel hd 4400 i can't make i work with qe ci :(

my specs 

 

Mobo: Asus h81m-e
cpu: Intel core i3 4130
video: Intel HD 4400 

can someone enlighten me on how to make this work :)

 

I'm using a Chameleon Bootloader from Niresh distro.

 

thanks :D

Link to comment
Share on other sites

Thanks Ermac,

 

I wasn't successful with chameleon, although I tried all available capri options mentioned above.

 

But now I'm on with clover uefi in safe-mode, it auto-detects the graphics. At normal boot I get a

coloured, pixeled screen instead of QI/QE graphics, there must be something wrong with framebuffer injection:

 

framebuffer_1280.png

 

 

 

Am I able to get the right config from clover?

That's what I see in safe-mode:

 

 

 

bootlog from DPCIManager

 

update: I tried to inject 01560009

ig-platform-id0x01560009

but most likely this gfx chip is not supported by clover or chameleon.

Is it something new? I saw the 0156 chip can be found in Info.plist of the capri kext.

 

best regards

Why did you produce unproved rumor?

This gfx chip is supported by Clover and I think by Chameleon

Screen Shot 2014-02-17 at 20.21.04.png

  • Like 3
Link to comment
Share on other sites

Yep the problem is elsewhere

When I mod the source for chameleon, the model id are defined in the header file gma.h but this not make difference.

/* ========== Ivy Bridge ============== */

//#define GMA_IVYBRIDGE_HB GFX_MODEL_CONSTRUCT(INTEL, 0x0150) /* Desktop */

//#define GMA_IVYBRIDGE_M_HB GFX_MODEL_CONSTRUCT(INTEL, 0x0154) /* Mobile */

#define GMA_IVYBRIDGE_M_GT1 GFX_MODEL_CONSTRUCT(INTEL, 0x0156) // HD Graphics 2500 Mobile

#define GMA_IVYBRIDGE_M_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x0166) // HD Graphics 4000 Mobile

#define GMA_IVYBRIDGE_D_GT1 GFX_MODEL_CONSTRUCT(INTEL, 0x0152) // HD Graphics 2500

#define GMA_IVYBRIDGE_D_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x0162) // HD Graphics 4000

//#define GMA_IVYBRIDGE_S_HB GFX_MODEL_CONSTRUCT(INTEL, 0x0158) /* Server */

#define GMA_IVYBRIDGE_S_GT1 GFX_MODEL_CONSTRUCT(INTEL, 0x015A) // HD Graphics 4000

// 015E // ??

#define GMA_IVYBRIDGE_S_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x016A) // HD Graphics P4000

// 0172 // HD Graphics 2500 Mobile

// 0176 // HD Graphics 2500 Mobile

/* ==================================== */

So YES also chameleon support your Device.

 

Don't get confused about the info you see in System Profiler... The Version-ID(rev-Id) has nothing to do with ig-platform-id

Is not a puzzle... if was so simple determine what framebuffer need to be associated with each card will be easy to implement a deterministic algo.

But again..  ig-platform-id is NOT a combination of DeviceId+DevRev-ID

 

Fabio

  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...