Jump to content
InsanelyMac Forum
midi-sama

[Fixed, HDMI only for now] Intel HD4000 w/ 63MB ram w/ QE/CI (Mavericks only, sorry ML :/ )

Recommended Posts

UPDATE 4:

Now I learned how to move stuff (HEXs) between IGPs using a HEX editor on AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri and I found a that the first port in 03006601 is slighly diffrent than 04006601: there is a 00 (IGP3) instead of 02 (IGP4), I changed it and it worked using IGP3 and I get more ram then IGP4. Now I need to know if there any port that support VGA on Mavericks, and btw, none of the ML VGA ports worked on ML itself (stuck in verbose). HDMI work video only.

IF SOMEONE CAN HELP ME TO FIND VGA HEXs TO ACTIVATE IT THAT WILL BE AWESOME! AND HDMI AUDIO TOO! (using Voodoo, Realtek HD Audio)

UPDATE 3
Fixed the HDMI, thanks to pokenguyen :DPost#21
Note:
The command line will work only on Mavericks, ML will only have LVDS working (until someone find a way to activate HDMI output).
I'll see how to activate VGA output :D
 

Update 2 :D
Fixeeeeed w/ IntelCapriFB=4 and I removed some unnecessary flags :D
BUUUUT, NO HDMI :/
Can anybody help me w/ that? I don't know how to edit the Framebuffer.kext :/ I didn't understand it all --" :P
Thanks everyone

Update1:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VERY CLOSE TO BE FIXED YEEAAAAAAAAY:
I used IntelCapriFB=3 and on the remote screen I can see the acceleration acctivated finaly but nothing on the computer screen (the screen is on not off now, but blank)
I will reinstall OS X an see :D
post-1203779-0-01668500-1383426107_thumb.jpg
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 OLD POST :

Hi everyone
I've installed on my laptop (see the desctiption below) OSX ML and Maverics (not both) and on both booted normaly, but I couldn't get full acceleration on the HD4000. I looked a bit on the forum and I tried all the possibilities :
-Latest Chameleon w/ the intel flags (w/ and w/out GEnabler=Yes) => Eather a black screen/ Stuck on the verbose booting w/ no pointer
-Clover: in fact I could get to the gui finaly, an I used all the ig-platfom-ids (all of them) and I could get to the gui but no qe/ci, and the os recognise it as a tv screen O.o
-When I got the black screen, I attached the HDMI port to my TV (since the VGA port don't and wont work) and what I see is lines on the 2/3 of the tv and a 5 pointers (Yeah! WoW) and there were no qe/ci also!
 
After that, I went back to Windows to see my Intel proprieties: and it was rev 09 (so I used ig-platform-id=9 for Chameleon and FakeID=0x01660009 for clover) and still the same problem! And I saw that windows recognizes (sometimes) 63MB of ram or 36MB, and Cameleon shows only 63MB!
The problem is that I have a sony laptop w/ Hardly (depanding on some forums) LOCKED bios! and I have no access to graphics options :/
I used a patched DSDT (HD4000 patch w/ 0x09) on clover (it booted w/ the problem) and on chameleon (no boot, kernel panic)
I used the following SMBioses :
MacBookPro 9.1/9.2 (for clover and chameleon)
MabBookAir 5.1 (auto-generated by clover, manualy on chameleon)
Can any one help me  :( ?

My PC:
Sony VAIO S (SVS 2012)
CPU=i7 3520M
GPU= Intel HD4000 (1 connector for buit-in screen, 1HDMI, 1VGA, No DVI/DP) + Nvidia GT640M LE (I don't use it so I disabled it on the bios preferences, I tried to keep it on but no luck)
HDD=1TB
Ram=12GB and Mac (booted by clover see it as 20 O.o )
ScreenRes=1600x900x32@60
Clover= 2082 (I think, I created it using BootDiskUtil.exe since it create a boot folder)
Chameleon= Enoch 2266
 If you need any further infos just ask me! :D

 

Share this post


Link to post
Share on other sites
Advertisement

Hello.

You need only one bootloader… I recommend you use Chameleon…

Is more easy to configure… About HD4000, Take a look here: http://olarila.com/forum/viewtopic.php?f=28&t=3111
Good guide.

I don't know if you should use the HD4000 or GT, as there are cases that only the integrated works and there are others cases that only the dedicated work ...

You can try see what their works… HD4000 or GT. Here's a guide to Nvidia: http://olarila.com/forum/viewtopic.php?f=18&t=154

Use MacBook 5.1 as Smbios if only HD4000 work or use MacBooAir if only GT640M work.

Good Luck!

Share this post


Link to post
Share on other sites

Thanks for the answer :D

But the nvidia card wont work if the intel doesn't (discrete card :/), I tried a lot of device injections, NO LUCK :'( I just don't know why in clover the thing works (w/out the acceleration)

and I see that in About This Mac, I have an Intel HD4000 w/ 5Mb of memory! And even though, I can see HD videos, but I can't play games (I see some glitches in Chess)!

Any one can help :( ?

Share this post


Link to post
Share on other sites

Hello.

Like i said to you… Chameleon is very recommended to begginners.

If you want continue using Clover, you need take a look here: http://clover-wiki.zetam.org/Contents

Did you try edit AppleIntelFramebufferCapri?
To your hardware type have a little explication.

 

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

All things you need are there… I never had this card, so a minimal of i can do is give to you a guide to you follow…

 

Good Luck!

Share this post


Link to post
Share on other sites

Well I started editing but everything went wrong (k panic!) so I restored the original one! For me I had a good experience w/ Chameleon (used on another computer) but since Clover booted the os just fine, I'm getting documented :) I will see what can I do :D and thanks :D

PS : tried all the pre edited device proprieties and ones made by me and in a/b/0 I get k panic and w/ 9/8/3 nothing (sometimes black, sometimes stuck in verbose output forever) and w/ all the others (Mobile only) and still no QE/CI

But Thanks a lot :D

And BTW, how can we identify the id of the HD4000 on windows?

Here what I found:

post-1203779-0-90305000-1381826568_thumb.png

post-1203779-0-72627800-1381826571_thumb.png

post-1203779-0-70444100-1381826612_thumb.png

Share this post


Link to post
Share on other sites

It tells me that I have hd4000 01660009, tried it lots of times, no luck, maybe because I dont have full ram allocation (63 Mb :/) I'll see what I can do, and thanks for every thing. If you have anything else to show, it will be great :D

Share this post


Link to post
Share on other sites

hello

 

have u use dual patch ?  u must use it

 

have u try in clover to inject u edid ?

 

probably is 9 but in hack mac os x nothing is 100 %

 

give a try in the others.. but u must use dual link because u native resolution

 

try also inject the string by devices properties

 

good hack

Share this post


Link to post
Share on other sites

@artur-pt I selected in clover Inject EDID, and ether you select it or not, I still cant have the the acceleration, I tried to inject device proprieties from your tutorial on olarilla (the one used on chameleon) still the same problem, and whatever FakeID I choose, I can get to the gui, and the mac recognize my screen as a TV! and I see a bunch of 0s is connectors, should I put in it smt? I cant find any clue on clover wiki! and for info, I tried all the strings you put on the tutorial! none of them worked!

@pimentelx86 just found it and tried it and it doesn't work :/

I will try to mix hacks :P 

Can I force the kexts related to the intel graphics to load at boot? because sometimes I don't see it and others It says that there is a 'dependency' missing or something!

and thanks for everything!

Share this post


Link to post
Share on other sites

hello

 

aal i know about the subject is in post..

 

maybe u ig-platform-id is 9..

 

are u using dual link patch ?

 

after boot see in terminal what graphics kext are loaded

 

kextstat

 

good hack

Share this post


Link to post
Share on other sites

All the Graphics Kexts are loaded, I went back now to Chameleon -Enoch- (see the boot.plist down) and set ig-platform-id to 9 and GEnabler=Yes, and I activated remote control so I can see what's happening, and guess what! When the screen is off (black but no current). Here a screenshot. and btw, what duallink patch do you mean? DSDT or boot.plist? I'm not using any dsdt for now.

THIS WAS TAKEN WHEN I WAS CONTROLLING THE COMPUTER REMOTELY!

post-1203779-0-55781500-1383423824_thumb.png

 

NEVER MIND

see post #1

Share this post


Link to post
Share on other sites

hello

 

take a read here

 

http://www.insanelymac.com/forum/topic/280372-hd4000-full-acceleration-for-108-1075/page-6

 

and here is in portuguese .. it have a script to help edit the kext

 

viewtopic.php?f=3&p=24258#p23453

 

good hack

 

Thanks for the answer but I dont get it, after I run the scripte there is an output file, should I modify if to my config or execut the next command to the output file?

Share this post


Link to post
Share on other sites

hello

 

inside the kext it have a binarie file.. u can try edited the file searching for the values u use in ig-platform-id and changed them with new value for hdmi port

 

see the examples

 

http://ridiculousfish.com/hexfiend/

 

after u should reintall the kext and test

 

boot

 

-f

 

to force the system to read again all kext

 

good hack

Share this post


Link to post
Share on other sites

Thanks for the answer but I dont get it, after I run the scripte there is an output file, should I modify if to my config or execut the next command to the output file?

Which ram amount have you set in bios for HD4000?

 

Have fun.

Share this post


Link to post
Share on other sites

In fact I have a locked bios (sony laptop) and Chameleon shows me 63Mb of ram, I used IntelCapriFB=4 and I got to the desktop w/ full graphics acceleration but as ig-platform-id 4 have only one port, I cant get the HDMI working :/ The System Infos shows me that I have 1024Mb of graphics ram when using Chameleon, and w/ clover I only have ~350Mb, and now I will try to see how to activate it :D

Share this post


Link to post
Share on other sites

You can enable DP ports by using IntelCapriFB=4 and patch your AppleIntelFramebufferCapri kext with this code (credit to kpkp):
 

sudo perl -pi -e 's|\x04\x00\x00\x81.{107}\x04\x00\x66\x01.{108}|\x08\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x66\x01\x01\x02\x04\x02\x00\x00\x00\x04\x00\x00\x00\x01\x00\x00\x00\x40\x10\x07\x00\x00\x10\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x02\x00\x00\x02\x05\x00\x00\x00\x04\x00\x00\x07\x04\x00\x00\x03\x04\x00\x00\x00\x04\x00\x00\x81\x00\x00\x00\x04\x06\x00\x00\x00\x08\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00|' ~/Desktop/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri

Share this post


Link to post
Share on other sites

Switch over to IG Platform 3 and look, if it is running for you. Let me know if it is working. If you get LVDS working with it, I try to help you with HDMI.

 

Have fun.

In fact, I can't get the LVDS working w/ IGP 3, it is on but black, and i only get HDMI output :/ w/ IGP 4 i can get LVDS working since it's the only port, and on IGP3 there are 4. maybe i can add an HDMI entry to the kext even if I'm using IGP4, and btw, I get somekind of "spdisplay..." in the Sys info, and I tried to override the existing EDID (and I don't know if it really worked) and I still see that "spdis...". I'm using Clover, should I returne to Chameleon? (Enoch, since it boots the system up :P)

Share this post


Link to post
Share on other sites

In fact, I can't get the LVDS working w/ IGP 3, it is on but black, and i only get HDMI output :/ w/ IGP 4 i can get LVDS working since it's the only port, and on IGP3 there are 4. maybe i can add an HDMI entry to the kext even if I'm using IGP4, and btw, I get somekind of "spdisplay..." in the Sys info, and I tried to override the existing EDID (and I don't know if it really worked) and I still see that "spdis...". I'm using Clover, should I returne to Chameleon? (Enoch, since it boots the system up :P)

The code above adds all IGP 3 ports to IGP 4. What do you expect when swtiching to Chameleon?

Share this post


Link to post
Share on other sites

You can enable DP ports by using IntelCapriFB=4 and patch your AppleIntelFramebufferCapri kext with this code (credit to kpkp):

 

sudo perl -pi -e 's|\x04\x00\x00\x81.{107}\x04\x00\x66\x01.{108}|\x08\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x66\x01\x01\x02\x04\x02\x00\x00\x00\x04\x00\x00\x00\x01\x00\x00\x00\x40\x10\x07\x00\x00\x10\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x03\x00\x00\x02\x00\x00\x00\x30\x02\x00\x00\x02\x05\x00\x00\x00\x04\x00\x00\x07\x04\x00\x00\x03\x04\x00\x00\x00\x04\x00\x00\x81\x00\x00\x00\x04\x06\x00\x00\x00\x08\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00|' ~/Desktop/AppleIntelFramebufferCapri.kext/Contents/MacOS/AppleIntelFramebufferCapri

 

I have saved AppleIntelFramebufferCapri.kext on the desktop and only documents folder from /S/L/E then I executed the command line, is that what I should do?

And then installed it using kext wizard.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



×