• 0

{Updated }[Guide] Tips :::: For Enabling VGA In Intel HD3000 GPU
1 1

Question

This is a short guide for enabling the ports VGA and HDMI in the Notebooks and Desktop or equipped with Intel HD3000 GPU, but I'm gonna provide details as clearly as possible to apply and understand this patch.
 
 
 
DETAILS ABOUT THE PORTS:
 
Lets have a look at the Connectors information table before we try to patch and enable ports.This is the Original Connectors information provided by apple in the above kext for MacBookPro8,1.

0102 0400 1007 0000 1007 0000 //No of Connectors 0503 0000 0200 0000 3000 0000 //Laptop Display Port0205 0000 0004 0000 0700 0000 //0304 0000 0004 0000 0900 0000 //All 3 of them are Display Ports DVI0406 0000 0004 0000 0900 0000 //

Let me explain the above values by each line

01 02 04 00 10 07 00 00 10 07 00 00

This is Laptop built in screen display value where it gets detected, so we don't need to change anything here.

0205 0000 0004 0000 0700 0000 //0304 0000 0004 0000 0900 0000 //All 3 of them are Display Ports DVI0406 0000 0004 0000 0900 0000 //

The above 3 lines are Display ports(DVI) which can work for both DVI & HDMI, but for HDMI audio won't work so we need use the below edited values which is bolded for HDMI audio.

0205/0304/0406 00 00 00 08 00 00 06 00 00 00

]Mac doesn't has VGA port, so we won't find the connector info. Here is the VGA code found by revoGirl(R.I.P) and bcc9 from other GPU connectors table which is working for Intel GPU as well.

06 02 00 00 00 01 00 00 XX 00 00 00 //VGA, xx is port number

Below, we have the corrected connectors information table with VGA and 304 configured as HDMI.

01 02 03 00 10 07 00 00 10 07 00 00 // 3 Connectors 05 03 00 00 02 00 00 00 30 00 00 00 //LVDS 03 04 00 00 00 08 00 00 06 00 00 00 //HDMI 06 02 00 00 00 01 00 00 09 00 00 00 //VGA00 00 00 00 00 00 00 00 00 00 00 00// NONE

For the HDMI connector, you have to try each value 205/304/406 to find out on which port your notebook is using HDMI.
 
 
Needed:
1) Insert smbios.plist of MacBokkPro8,1 in /Extra folder
1a) Backup your original AppleIntelHDGraphics.Kext/AppleIntelSNBGraphicsFB.kext 
2) Installl patched AppleIntelHDGraphics.Kext/AppleIntelSNBGraphicsFB.kext in /System/Library/Extentions 
3) Share here your results 
4) if something gets wrong ( boot with -x -v parameters and delete /Library/preferences/com.apple.windowserver.plist. then reboot.)
 
STEPS FOR PATCHING THE PORTS:

  • [*]Get the File "AppleIntelSNBGraphicsFB" from AppleIntelSNBGraphicsFB.kext/Contents/MacOS folder and place it in some place for patching. [*]Open the above file from the Hex fiend application [*]Press Command + F for searching
     
0102 0400 1007 0000 1007 0000 0503 0000 0200 0000 3000 00000205 0000 0004 0000 0700 0000 0304 0000 0004 0000 0900 0000 0406 0000 0004 0000 0900 0000

See ScreenShots:
Posted Image
 
 
and below edited values in replace box

01 02 03 00 10 07 00 00 10 07 00 0005 03 00 00 02 00 00 00 30 00 00 00 03 04 00 00 00 08 00 00 06 00 00 0006 02 00 00 00 01 00 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Sometimes, your HDMI might be on some other port than the port "03 04". In that case, try any either of the below two values in place of "03 04 00 00 00 08 00 00 06 00 00 00" to get HDMI working.

02 05 00 00 00 08 00 00 06 00 00

(OR)

04 06 00 00 00 08 00 00 06 00 00

and Click on Replace all button

  • [*]Now save the file and copy back the file to the Folder [*]AppleIntelSNBGraphicsFB.kext/Contents/MacOS [*]Install the patched Kext and reboot & check
     
Quick Trick:
AppleIntelSNBGraphics binary patched first FrameBuffer table
original FB table [*]
0102 0400 1007 0000 1007 0000 [*]
0503 0000 0200 0000 3000 0000 [*]
0205 0000 0004 0000 0700 0000 [*]
0304 0000 0004 0000 0900 0000 [*]
0406 0000 0004 0000 0900 0000

Patch 0503 ->0602 
The four lines should be 
0503 - Internal LCD -> 0602 - VGA
0205 - HDMI
0304 - VDI
0406 - HDMI
NOTE:
*Display's won't detect automatically, so we have to detect manually by going to the Display preferences and Click on Detect Display button.

*In Mountain Lion, we don't see Detect Display button at Display preferences. For getting this button, hold the ALT button at Display preferences to get the Detect Displays button.
 
You should also patch your DSDT .
Steps :
1. Make sure vanilla AppleIntelGraphicsHD3000.kext and AppleIntelSNBGraphicsFB.kext are loaded.

2. Open DSDT and look up for Device GFX0 or IGPU. The address should be 0x00020000. By adding the code below, I can straightly get HDMI video output.
Method (_DSM, 4, Serialized)      {                 Store (Package (0x0E)                        {                             "AAPL00,backlight-control",                             Buffer (0x04)                            {                                 0x01, 0x00, 0x00, 0x00                            },                             "AAPL00,DualLink",                             Buffer (0x04)                            {                                 0x00, 0x00, 0x00, 0x00                            },                             "graphic-options",                             Buffer (0x04)                            {                                 0x04, 0x00, 0x00, 0x00                            },                             "device-id",                             Buffer (0x04)                            {                                 0x16, 0x01, 0x00, 0x00                            },                             "hda-gfx",                             Buffer (0x0A)                            {                                "onboard-1"                            },                             "AAPL,snb-platform-id",                             Buffer (0x04)                            {                                 0x00, 0x00, 0x01, 0x00                            }                        }, Local0)                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))                    Return (Local0)                }
 I have already patched those kext are here Download 
You can download this try for yours...
 
Tested on Gigabyte H61,Z68,H67,P67 Chipset Boards Working Perfectly with 10.7.x, 10.8.x, 10.9.x...See ScreenShot:
Posted Image
 
 
Best Regards
Deepak
Edited by Deepak
6 people like this

Share this post


Link to post
Share on other sites

0 answers to this question

There have been no answers to this question yet

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
1 1