Jump to content

Lenovo G40-80 (i3-5005U + Intel HD Graphics 5500): help with macOS High Sierra


malikabuzar

Recommended Posts

Hi there,
I have a Lenovo G40-80 running with macOS High Sierra (10.13) with working Ethernet/Bluetooth/Audio/USB 3.0/2.0. 
I am unable to make the Graphics/Battery Status/Touchpad working. 
Using clover as boot loader and dual boot with Windows 10 (EFI) and clover is installed in SSD EFI partition.
Screen flickers after login and login screen in grey. Graphics Memory is displayed as 4 MB and System Information shows no kext loaded for Graphics. Graphics DVMT prealloc is 128 MB. (Determined with the help of a tutorial which says that if your Dedicated Graphics Memory in Windows is shown to be less than 128, your DVMT prealloc is Dedicated Memory + 32 and if it is 128 or greater then DVMT prealloc is equal to the Dedicated Memory. My Dedicated Graphics Memory is 128 MB, so...). I am using ig-platform-id=0x16160006.
-----
What I have tried from different tutorials with no success.
1. Changing ig-platform-id to 0x16260006 and 0x16160002 results in Kernel Panic and system restarts.
2. Enabling Legacy Support has no effect.
-----
Can anybody help please. 

My system configuration is:
Manufacturer: Lenovo
Model: G40-80 (80E4)
Processor: Core i3-5005U
Graphics: Intel HD Graphics 5500
RAM: 4GB
SSD: INTEL SSDSC2BF180A4H
Ethernet: Realtek
Wifi: Intel Dualband Wireless AC-3160
Touchpad: ELAN 

My clover config.plist is attached.

config.plist.zipFetching info...

Link to comment
Share on other sites

  • Replies 40
  • Created
  • Last Reply

Top Posters In This Topic

  • Administrators

Keep a backup of your current config (just in case), then open your Clover config in Clover Configurator app and try the following :

  1. in Devices section, remove that id faking you've configured for your iGPU
  2. in Devices section, inject the required DVMT adjustment properties:

DVMT_properties.jpg

  1. in Graphics section, remove "Inject Intel" + ig-platform-id 0x16160006
  2. in SMBIOS section, change your profile from incomplete and unsuitable Haswell MBA6,2 model to Broadwell MBA7,1 or MBA7,2 or MBP12,1 model
  3. in Kernel & Kexts Patches, you may also remove the AppleIntelCPUPM patch which is irrelevant to Broadwell platforms (it's only for Sandy & Ivy Bridge systems)

 

Then, let latest version of Lilu + WhateverGreen kexts take care of graphics.

For battery monitoring, use Rehabman's latest version ACPIBatteryManager kext.

For your ELAN TouchPad, you may give this a try (no guarantee).

 

NB: in, case you ignored it, your Intel wireless card is not supported and will have to be replaced by a support model (compatible with your Lenovo) or a USB dongle. See here.

 

Link to comment
Share on other sites

Thanks for reply. I am going to configure graphics first. I made all the changes you asked. No difference except "About this Mac" shows only "Display" instead of "Intel HD Graphics 5500" but with same 4 MB. Attached is the modified config.plist file, screenshot of "About this Mac" and kext folder of clover.

Screen Shot 2019-09-01 at 2.40.05 PM.png

Screen Shot 2019-09-01 at 2.44.45 PM.png

config.plist.zipFetching info...

Link to comment
Share on other sites

  • Administrators

You can and should get rid of NullCPUPowerManagement kext. That kills all CPU SpeedStep and affects performance...

 

I'm a little lost because i3-5005U carries the same HD5500 id 0x1616 as the i5-5300U I recently played with on a Dell Latitude E7250 and for which graphics worked OOB with the above arrangements.

 

Can you please post:

  1. a zipped saved output from IORegistryExplorer
  2. a zipped copy of your Clover EFI folder (when you boot, press F4 at Clover main menu in order to dump all your raw BIOS tables)

Which version of Clover are you running with?

 

In your 1st post, your Clover config showed that you were incorrectly trying to fake id 8086:1626 for your HD5500 iGPU (you entered "0x016268086") and injecting BDW (Broadwell) layout-id 0x16160006; that's an unknown layout to me and I would have expected that you'd inject layout-id 0x16260006 instead, as recommended in Cover Configurator. That certainly is the layout I saw reported in IOReg on the E7250 I had and I was not injecting anything, just letting Lilu + WEG do their job...

BDW_layouts.jpg

 

But, by all means, you may try to fake id 8086:1626 by entering "0x16268086" and injecting recommended BDW layout (ig-platform-id) 0x16260006.

Link to comment
Share on other sites

  On 9/1/2019 at 11:03 AM, Hervé said:

You can and should get rid of NullCPUPowerManagement kext. That kills all CPU SpeedStep and affects performance...

Expand  

Deleted the said kext....

  On 9/1/2019 at 11:03 AM, Hervé said:

Can you please post:

  1. a zipped saved output from IORegistryExplorer
  2. a zipped copy of your Clover EFI folder (when you boot, press F4 at Clover main menu in order to dump all your raw BIOS tables)
Expand  

Both zip files attached. I obtained Registry Output output by save as option in IORegistryExplorer.

 

  On 9/1/2019 at 11:03 AM, Hervé said:

injecting BDW (Broadwell) layout-id 0x16160006; that's an unknown layout to me and I would have expected that you'd inject layout-id 0x16260006 instead

Expand  

The id 0x16160006 was obtained from some forum/guide (I don't remember which one) and use of this id gives the name of "Intel HD Graphics 5500" in "About this Mac". No other id I tried has given me the name of my Graphics Hardware, so I supposed this id might be the right one. 

 

  On 9/1/2019 at 11:03 AM, Hervé said:

I was not injecting anything, just letting Lilu + WEG do their job...

Expand  

Not using any fake id or platform id, as you advised in previous reply.

Already using the SMBIOS id as MBA7,2, as advised in previous reply and reply on other forum.

 

Thanks for your help, sir. I am looking forward to get a working Graphics with your help.

Regards

CLOVER.zipFetching info... Registry Output.zipFetching info...

Link to comment
Share on other sites

  • Administrators

A layout in a Framebuffer kext can be described as a table that defines display output's properties throughout many parameters including, video memory, number of output ports, type of outputs, etc. You can find these tables in the binary files of framebuffer kexts through a simple Hex editor such as HexFiend for instance. You can then search those layouts in hexadecimal reverse order. For layout 16260006, which is what you would normally use for a laptop with HD5500 graphics, you would conduct a hex search on "06 00 26 16" which would lead you to the following code:

06002616 01030303 00002002 00005001
00000060 D90A0000 D90A0000 00000000
00000000 00000000 00000800 02000000
30020000 01050B00 00040000 07050000
02040B00 00040000 07050000 FF000000
01000000 40000000 0B0B0000 01010500
00000000 05000000 00000000 04000000
00000000 00000000 00000000 00000000
00000000 C8000000

 

If you were to conduct a search for "06 00 16 16",  you'd get nothing because it's not an existing layout; as such, injecting ig-platform-id 0x16160006 in Clover (or trying to) will not lead anywhere. I'm surprised you find it referenced in a guide on a forum because that's totally incorrect....

 

Anyway, try the attached Clover config.

config.plist.zipFetching info...

Link to comment
Share on other sites

System restarted after half loading (apple loading bar half filled) when using the config.plist you provided. Starting in verbose mode shows Kernel panic. Here is the panic report, if it may help. 

  Reveal hidden contents

 

Link to comment
Share on other sites

  • Moderators

FB needs to be cache before it could be patch-on-the-fly.

So boot to Clover, go to Options and add to boot arg

-igfxvesa

 

Once you get to the desktop, you can repair permissions and rebuild cache. Then you should be able to boot normally.

If you still can't boot with the above arg, then go to Options

Go down to Graphics Injector and select it

Select both FakeID and platform-id and change them to 0x12345678

Repair permissions and rebuild cache. Then you should be able to boot normally.

Link to comment
Share on other sites


×
×
  • Create New...