Jump to content
artur-pt

Intel HD 4000

Recommended Posts

How to enable intel hd 4000, for this must be loaded :


update :


new way to inject by Chameleon


http://www.insanelymac.com/forum/topic/291614-intel-hd4000-and-haswell-inject-aaplig-platform-id/


In Clover example

 

<key>Graphics</key>
<dict>
	<key>DualLink</key>
	<integer>0</integer>
	<key>ig-platform-id</key>
	<string>0x01660003</string>
</dict>

http://clover-wiki.zetam.org/Configuration/Graphics#ig-platform-id


AppleIntelFramebufferCapri

AppleIntelHD4000Graphics

Applegraphicspowermanagement (AGPM)


if u have problems loading this kext, try to edit AppleIntelFramebufferCapri.kext/Contents/info.plist


and see if u dev id is in there

 

780671683_Capturadeecr2013-05-1s18_07_50.png.5e02f040344bdd6521fbeebbcb43cbea.png

 

if is not change it to yours (ex : 0x1E3A8086)


if u have optimus (nvidia+intelhd) make a copy of the kext and remove geforce.kext


use in your terminal the command kextstat to see if this kext are loaded


Next are the possibles values for "AAPL, ig-platform-id'


 

ig-platform-id: 01660000, Stolen is FB RAM: 96MB, Pipes: 3, Ports: 4, FBMem: 3 
ig-platform-id: 01660001, Stolen is FB RAM: 96MB, Pipes: 3, Ports: 4, FBMem: 3 
ig-platform-id: 01660002, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 1, FBMem: 1 
ig-platform-id: 01660003, Stolen is FB RAM: 64MB, Pipes: 2 Ports: 2, FBMem: 2 
ig-platform-id: 01660004, Stolen is FB RAM: 32MB, Pipes: 3, Ports: 1, FBMem: 1 
ig-platform-id: 01660008, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 3, FBMem: 3 
ig-platform-id: 01660009, Stolen is FB RAM: 64MB, Pipes: 3, Ports: 3, FBMem: 3 
ig-platform-id: 0166000A, Stolen is FB RAM: 32MB, Pipes: 2 Ports: 3, FBMem: 2 
ig-platform-id: 0166000B, Stolen is FB RAM: 32MB, Pipes: 2 Ports: 3, FBMem: 2 
ig-platform-id: 01620005, Stolen is FB RAM: 32MB, Pipes: 2 Ports: 3, FBMem: 2 
ig-platform-id: 01620006, Stolen RAM for FB: 0MB, Pipes: 0, Ports 0, FBMem: 0 
ig-platform-id: 01620007, Stolen RAM for FB: 0MB, Pipes: 0, Ports 0, FBMem: 0

 


"Ig-platform-id: 0166 belongs to the family Mobile (notebooks) while ig-platform-id: 0162 belongs to the family Desktop"


What you need to do :


edit the device-properties.plist attached, starting changing only the last number

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
       <dict>
               <key>AAPL,ig-platform-id</key>
               <string>0x0166000[color=#FF0000]3[/color]/string>
       </dict>
</dict>
</plist>

 

or use this ones already edited


http://Olarila.com/forum/viewtopic.php?f=3&t=1583&p=18409#p18409


Run the command gfxutil -i xml -o hex device-properties.plist device-properties.hex to generate a file .hex in the user folder. Copy the generate key from file .hex and paste to org.chameleon.Boot.plist


ex:

   <key>device-properties</key>
  <string>[hexadecimal EFI string]</string>

 


DSDT Patch


( Need DTGP patch )

 

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
               0x0[color=#FF0000]3[/color], 0x00, 0x66, 0x01\n
           }\n
       }, Local0)\n
   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
   Return (Local0)\n
}
end

 


Important: use EFI string or DSDT patch to inject ig-platform-id, don't use both at the same time.



If you need to edit AppleIntelFramebufferCapri connectors to activate other ports


http://Olarila.com/forum/viewtopic.php?f=3&p=24258#p23453



source : http://Olarila.com/forum/viewtopic.php?f=3&p=13319#p13319

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

My Intel 4000 HD has the 1660009 id. I am trying to get VGA working, however, the previous binary patches are not working for 10.8.3


I have tried these values so far:

06 02 00 00 00 01 00 00 09 00 00 00 - black screen
06 02 00 00 01 00 00 00 09 00 00 00 - scrambled video
06 02 00 00 01 00 00 00 30 00 00 00 - black screen
06 02 00 00 02 00 00 00 30 00 00 00 - black screen

Asus Zenbook UX32VD - Intel i7 3517U - Intel HM76 Express - Intel HD 4000 - 10GB of RAM - 120GB Samsung 840 Pro - 10.8.3 Mountain Lion - ALC 269

Link to comment
Share on other sites

hello


sorry u don't have a desktop ?


"Ig-platform-id: 0166 belongs to the family Mobile (notebooks) while ig-platform-id: 0162 belongs to the family Desktop"


i see in u signature a desktop... ?


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

hello


if u try all things in guide, the script to edit, dual link patch..


none of them worked...


sorry


no ideas..


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

I have tried everything at my disposal to get my VGA or HDMI output working to no avail.


I have an Asus N56VM laptop with the NVIDIA 630M (Optimus) + Intel HD 4000 and have fully QE/CI enabled via an EFI string using ig-platform-id: 01660003 and have applied the HEX edits to AppleIntelFramebuffercapri.kext to try and enable this (yes, at the proper frame buffer starting at 386960) and nothing seems to work.


My edits to AppleIntelFramebuffercapri.kext did manage to have the VGA detected if I had it plugged in before booting (but with no output) and the display will only appear in the display properties window AFTER I disconnected it. If I tried to detect displays nothing would happen (and it would still list the display as being connected even though it was not). If I have an HDMI plugged in and try to detect displays, my system would freeze up and I'd have to hard reset it.


Without any edits to AppleIntelFramebuffercapri.kext, I can plug the VGA in prior to boot and the display will output to the connected monitor, but the internal will shut off and the video is really grainy and "fuzzy" like.


I'm happy to have my internal LCD working properly (and have 10.8.4 running on this laptop in the first place!) but would love to get an external display working for dual (or even triple) monitor support.


Anyone have a similar setup with working VGA or HDMI ports? Any suggestions or help is appreciated!

Link to comment
Share on other sites

I have tried them all, changing the BIOS video memory to match the others, only the one works. Tried editing the AppleIntelFramebufferCapri.kext to fix the outputs and still nothing... grrr.. would Love to be able to connect an external display to this sucker. Last piece of the puzzle.

Link to comment
Share on other sites

if u have problems loading this kext, try to edit AppleIntelFramebufferCapri.kext/Contents/info.plist

 

Trying to get Intel HD 4000 graphics to work in acceleration mode QE CI in OS X 10.9 Mavericks. AppleIntelHD4000Graphics.kext is loaded properly.

But the main kext files AppleIntelFramebufferCapri.kext and AppleIntelSNBGraphicsFB.kext are not. And are missing Info.plist files somehow. So they are not loaded. So I can not edit Info.plist.


Even from fresh installation Extensions folder the Info.plist files are not there.


The command: ioreg -l -p IODeviceTree returns: "AAPL,ig-platform-id" = <09006601> properly.


GFX0@2

| | | {

| | | "acpi-device" = "IOACPIPlatformDevice is not serializable"

| | | "AAPL,ig-platform-id" = <09006601>

| | | "assigned-addresses" = <1010008200000000000040f70000000000004000181$

| | | "class-code" = <00000300>

| | | "subsystem-vendor-id" = <6b100000>

| | | "vendor-id" = <86800000>

| | | "hda-gfx" = <"onboard-1">

| | | "IOMemoryDescriptorOptions" = 2048

| | | "IOName" = "display"

| | | "AAPL,HasPanel" = <01000000>

| | | "AAPL00,DualLink" = <01>

| | | "pcidebug" = "0:2:0"

| | | "display-connect-flags" = <00000000>

| | | "AAPL,gray-value" = <00000000>

| | | "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptCont$

| | | "built-in" = <00>

| | | "IOPCIResourced" = Yes

| | | "AAPL,RegEntryID" = <007da00f80ffffffff825ff07f000000656d6953000000$

| | | "IODeviceMemory" = (({"address"=4148166656,"length"=4194304}),({"ad$

| | | "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerState"=2$

| | | "IOPMIsPowerManaged" = Yes

| | | "name" = <"display">

| | | "subsystem-id" = <07150000>

| | | "AAPL,ndrv-dev" = Yes

| | | "AAPL,gray-page" = <01000000>

| | | "model" = <"Intel HD Graphics 4000">

| | | "device_type" = <"display">

| | | "compatible" = <"pci1043,1507","pci8086,166","pciclass,030000","GFX$

| | | "IOHibernateState" = <00000000>

| | | "attached-gpu-control-path" = "IOService:/AppleACPIPlatformExpert/P$

| | | "reg" = <0010000000000000000000000000000000000000101000020000000000$

| | | "device-id" = <66010000>

| | | "revision-id" = <09000000>

| | | "IOInterruptSpecifiers" = (<1000000007000000>,<0000000000000100>)

| | | "AAPL,iokit-ndrv" =

| | | "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/GFX0@20000"

| | | }



Could you help me?


AppleIntelFramebufferCapri.kext has no Info.plist file.

AppleIntelSNBGraphicsFB.kext has no Info.plist file.

ASUS ZENBOOK UX32VD-R4010P, Intel i7-3517U, 4GB RAM, 2x256SSD, NV 620m, Windows 8 Pro, Mac OSX 10.9, Linux Ubuntu 12.04 LTS triple boot.

Link to comment
Share on other sites

The files are the same without Info.plist files. Already tried it.


Thanks for help though.


EDIT: Ok found them!

 

hello


grab it from original installer image


see if they are in system/library/extensions


good hack

ASUS ZENBOOK UX32VD-R4010P, Intel i7-3517U, 4GB RAM, 2x256SSD, NV 620m, Windows 8 Pro, Mac OSX 10.9, Linux Ubuntu 12.04 LTS triple boot.

Link to comment
Share on other sites

How to enable intel hd 4000, for this must be loaded :

update :

new way to inject by Chameleon

...

In Clover example

<key>Graphics</key>
...

...

ex:

   <key>device-properties</key>
  <string>[hexadecimal EFI string]</string>

DSDT Patch

( Need DTGP patch )

into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{
...
end

Important: use EFI string or DSDT patch to inject ig-platform-id, don't use both at the same time.

...

I have a Clover as BL

i've almost all of this post.

Help my please! Where should i add "EFI string" or "DSDT patch" ?

I read so many forums and head is :shock: ...

ps: only files i use to boot attached.

config.plist.zip

ssdt-1.aml.zip

Link to comment
Share on other sites

hello


dsdt patch must be in this address


into device name_adr 0x00020000 insert


usually is GFX0


efi string


http://clover-wiki.zetam.org/Configuration/Devices#Properties


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

hello

dsdt patch must be in this address

into device name_adr 0x00020000 insert

usually is GFX0


efi string

http://clover-wiki.zetam.org/Configuration/Devices#Properties

good hack

i use dsdt editor

i extract dsdt and see that there is no GFX0 device or device name_adr 0x00020000

i don't know if extracted dsdt with clover fixes or not, hat will be is i add extracted dsdt file to my boot files in clover "patched" folder. don't it conflict with clover dsdt patches (fixes) in config.plist...

but i try to boot now without answer of my question (without efi string nad dsdt patch) and kexts loaded and i have working QE/CI as i see that smth changed.

But it is blinking with color lines

82a65c4d9b9b53ec8542d0dbd898ad61812dc39e.jpg

it is like Flickering Screen Issue with External Displays problem. Should i try this method to fix with my mackintosh?

Edited by Guest
Link to comment
Share on other sites

hello

ovc with errors u can't save the file

if u save it .. with 44 errors or 1 error is not good to use it

good hack

what ways to fix so many errors?


btw i see that i have 2 monitors in monitor settings

and can turn it on or off

if i change from 1 to 2 color lines disappear

if i boot it comes but if i change to 1 then to 2 monitor everything comes ok

monitor 2 - help me keep my eyes :shock:

Link to comment
Share on other sites

Prezados,


Consegui instalar o Sierra em um Lenovo y580 HD4.000 - low resolution - id 1660003 e tudo funciona com QE/Ci full aceleration. Está com dock transparente e parece bem controlado nas fans. O problema é que eu uso GPU e CPU para 3D, render GL, OpenCV e mais softwares que exigem da máquina. Nunca consegui passar mais de 30 minutos (com uso intesivo) porque congela toda hora. Gostaria de uma opinao para entender e procurar resolver o problema. Já vi muitas referencias que o windowserver falha e tenho alguns logs que parecem ser isso. Procurei por AppleGVA, libsystem_kernel.dylib, e tentei compilar uma swift-corelibs-libdispatch mas nao consegui. Fiquei confuso e agradeço qualquer ajuda. :?:

 

Send me MacBook-Pro-de-fr4b3lo.zip

 

https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL.md

Link to comment
Share on other sites

Olá MaLd0n, obrigado por sua resposta. Vou escrever em portugues porque já li muito e entendi pouco. Bom, tentei ver esse problema da energia e tive duas opcoes. Ou uso os kexts da Apple que aparecem no comando kextstat|grep -y appleintelcpu. Ou uso o sysctl -n machdep.xcpm.mode que retorna 1. Os dois ao mesmo tempo nunca consegui e quando uso o xcpm computador fica melhor que com os kexts da Apple. Fiquei muito na dúvida com o uso de parametros do clover e HD4000 (quando tiro todas as referencias de IMEI, Id AApl etc ou qualquer dado que se refira as pcis do sistema fica mais fluido e mais potente. Se coloco id 0x01660003, device IMEI (e nao uso xcpm) deixado os kexts de mantenimento da Apple, o computador se comporta no modo mínimo onde o GFX máximo vai para 650 GHZ e os processadores somente a 1.2 GHZ.


kextstat|grep -y appleintelcpu


37 0 0xffffff7f82c48000 0x29000 0x29000 com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 6703E7B6-EE67-3019-A4D7-5D5B239486AB <8 7 6 5 3 1>

48 0 0xffffff7f827bb000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 64187DA4-54BE-3106-A4C9-FBFCE5B3E0AE <8 7 6 5 3 1>


Estou usando o VoodooHDA porque nao consegui fazer o pacth HDA e nem o ALC funcionarem. E ainda tenho alguns frezes meio estranhos que travam o mojave e nao sei se vem da GPU ou CP. No syslog só vejo erros de dirtyJetsanmemory (copiei um trecho do syslog que deu esse erro em anexo). Tentei gerar o RunMe mas dá um erro no Ioreg: Increased delay x2 for IOREG dump. This will take a while...(33 sec). Testei com o intel Power Gadget os processadores que vao até 3,40 GHZ e a GFX até 1.1 GHZ mas nos dois modos ainda tenho essa linha : IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2 (interface nao serializada). Nao sei se isso se refere ao QE CI. Em anexo envio o Ioreg_xcpm (high) e Ioreg kexts (Low).

Archivo comprimido.zip

trecho_syslog.rtf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...
The popup will be closed in 15 seconds...