Jump to content

Installing Intel HD 4000 Graphics with QE/CI acceleration on Lenovo G500

lenovo g500 hd 4000 HD 4000

Best Answer David John, 11 April 2014 - 03:34 PM

hi

 

try with

 

<key>IntelCapriFB</key>
<string>4</string>

 

Hi Fantomas1,

 

 

I got the issue fixed with a patched Intel Frame Buffer Capri. I was using the device properties from another section that I copied exactly. So, that was also one of the issues. I found out my device properties using gfxutil.(Thanks to Olarila)

 

 

Thanks to artur-pt for his share!!!

 

 

 

Now I am able to use your trick

 

<key>IntelCapriFB</key>
<string>4</string>

 

It Works!!!

 

 

My working Chameleon EFI Strings and Keys are as below:

<?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>Credits</key>
	<string>David</string>
	<key>EHCIacquire</key>
	<string>Yes</string>
	<key>EnableDualLink</key>
	<string>Yes</string>
	<key>EthernetBuiltIn</key>
	<string>Yes</string>
	<key>GenerateCStates</key>
	<string>Yes</string>
	<key>GeneratePStates</key>
	<string>Yes</string>
	<key>Graphics Mode</key>
	<string>1366x768x32</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>IntelCapriFB</key>
	<string>4</string>
	<key>Kernel Flags</key>
	<string>-f npci=0x2000 dart=0</string>
	<key>SkipAtiGfx</key>
	<string>Yes</string>
	<key>SkipNvidiaGfx</key>
	<string>Yes</string>
	<key>Timeout</key>
	<string>3</string>
	<key>UHCIreset</key>
	<string>Yes</string>
	<key>device-properties</key>
	<string>5e0000000100000001000000520000000100000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000004006601</string>
</dict>
</plist>

Thanks once again!!!

Go to the full post


  • Please log in to reply
7 replies to this topic

#1
David John

David John

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

I initially added to org.chameleon.Boot.plist in OS X 10.9 Mavericks

<key>EHCIacquire</key>
<string>Yes</string>
<key>EnableHDMIAudio</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1366x768x32</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>IntelCapriFB</key>
<string>3</string>
<key>Kernel Flags</key>
<string>npci=0x2000 dart=0</string>
<key>PciRoot</key>
<string>1</string>
<key>SkipAtiGfx</key>
<string>Yes</string>
<key>SkipNvidiaGfx</key>
<string>Yes</string>
<key>SystemType</key>
<string>2</string>
<key>Timeout</key>
<string>4</string>
<key>UHCIreset</key>
<string>Yes</string>
<key>UseKernelCache</key>
<string>Yes</string>
But this all resulted me nothing.
 
But that also helped me no way.
 
I also used the ig-platform-id
ig-platform-id: 01660008, Stolen RAM for FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3

and

<string>7f0000000100000001000000730000000200000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000004006601140000006800640061002d0067006600780000000d0000006f6e626f6172642d31</string>

This also couldn't help me.

 

 

Please help me solve my HD 4000 Graphics Issue?



#2
fantomas1

fantomas1

    InsanelyMacaholic

  • Supervisors
  • 2,806 posts
  • Gender:Male

hi

 

try with

 

<key>IntelCapriFB</key>
<string>4</string>



#3
David John

David John

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Hi, fantomas1

 

I tried it. It resulted me a black blank screen.

 

Could you help me please!


hi

 

try with

 

<key>IntelCapriFB</key>
<string>4</string>

 

I tried with

 

<key>IntelCapriFB</key>

<string>3</string>

 

 

It gives me a display with scrambled graphics / better to say a flickering screen.

 

It makes me happy but I can't adjust with a display flickering screen.

:P



#4
David John

David John

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Best Answer

hi

 

try with

 

<key>IntelCapriFB</key>
<string>4</string>

 

Hi Fantomas1,

 

 

I got the issue fixed with a patched Intel Frame Buffer Capri. I was using the device properties from another section that I copied exactly. So, that was also one of the issues. I found out my device properties using gfxutil.(Thanks to Olarila)

 

Attached File  AppleIntelFramebufferCapri.kext.zip   188.13KB   104 downloads

 

Thanks to artur-pt for his share!!!

 

 

 

Now I am able to use your trick

 

<key>IntelCapriFB</key>
<string>4</string>

 

It Works!!!

 

 

My working Chameleon EFI Strings and Keys are as below:

<?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>Credits</key>
	<string>David</string>
	<key>EHCIacquire</key>
	<string>Yes</string>
	<key>EnableDualLink</key>
	<string>Yes</string>
	<key>EthernetBuiltIn</key>
	<string>Yes</string>
	<key>GenerateCStates</key>
	<string>Yes</string>
	<key>GeneratePStates</key>
	<string>Yes</string>
	<key>Graphics Mode</key>
	<string>1366x768x32</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>IntelCapriFB</key>
	<string>4</string>
	<key>Kernel Flags</key>
	<string>-f npci=0x2000 dart=0</string>
	<key>SkipAtiGfx</key>
	<string>Yes</string>
	<key>SkipNvidiaGfx</key>
	<string>Yes</string>
	<key>Timeout</key>
	<string>3</string>
	<key>UHCIreset</key>
	<string>Yes</string>
	<key>device-properties</key>
	<string>5e0000000100000001000000520000000100000002010c00d041030a000000000101060000027fff04002c0000004100410050004c002c00690067002d0070006c006100740066006f0072006d002d006900640000000800000004006601</string>
</dict>
</plist>

Thanks once again!!!



#5
woita

woita

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male

Hi,

thanks for your post - I think it lead me in the right direction...

 

just got the same issue here with a Lenovo G500 i3-3110m (Bios 2.3).

Extreme flickering/Garbage on screen with CapriFB=3, black screen with CapriFB=4 (same applies for Clover with ig-platform-ids 0x01660003 or 0x01660004)

 

What patched AppleIntelFramebufferCapri.kext did you use? Is it this attachment? http://www.insanelym...ttach_id=139260 I can't open it - permission denied...

 

Any other hints you could give me? What did you do with your DSDT?

 

I'm stuck for 2 days with this problem and it starts driving me crazy :(

 

Regards

woita



#6
Poco

Poco

    InsanelyMac Plumber

  • Supervisors
  • 1,478 posts
  • Gender:Male
  • Location:Canada

Updated the attachment  :dev:



#7
woita

woita

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male

Thanks a lot!

 

And guess what - it works! (G500 with 3110m, OS X Mavericks 10.9.2 Clover, ig-platform-id 0x01660004)

 

Just a  clarification: This file (the AppleIntelFramebufferCapri.kext) obviously is a patched driver that enables the Laptop display port on 0x05 for that platform-id. (there's some guides out there how to manipulate port settings per platform in the FramebufferCapri)

 

Said ig-platform-id (or IntelFBCapri as it's called in Chameleon) only expects 32MB initial Video RAM as opposed to 64MB with the other working (but flickering) ig-platform-id 0x01660003.

 

The caveat with this patched Capri and the platform-id used now is that it only supports one display, i.e. the built-in HDMI-Port of the notebook is unusable - as opposed to ig-platform-id 0x01660003 where it is usable but as mentioned by David John the internal display is constantly scrambled/flickering (because parts of the Video RAM are used by the OS as conventional RAM).

 

I'm looking into getting my BIOS patched to be able to set the Video RAM to 64 MB and use ig-platform-id 0x01660003. Will report back.

 

But thanks so very much - took me three days to get that darn thing working. HDMI-Out is nice to have, but to me right now not a must - so I'm happy :-)

 

Regards

 woita



#8
woita

woita

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male

Just a heads up here.

After getting my BIOS modded and the Advanced-menu unlocked, works like a charm without flickering with HDMI-out and ig-platform-id 0x01660003 (or IntelCapriFB 3) with vanilla FramebufferCapri.

Changed DVMT value from 32 to 64MB under Advanced - Video - Internal Video in BIOS and now I'm flicker-free 
I had to re-generate and patch my DSDT (and/or SSDT - don't know which one helped) though since I  got a kernel panic right after boot after changing the DVMT value in the BIOS.

 

Hope that helps :)







Also tagged with one or more of these keywords: lenovo g500 hd 4000, HD 4000


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy