Contribute
Register

[solved] iGPU only recognised with 1024mb VRAM

Status
Not open for further replies.
Joined
Dec 9, 2013
Messages
101
Motherboard
Laptop: Asus GL551JW (Clover)
CPU
I7 4720HQ (2.6GHz, max 3.6GHz)
Graphics
Nvidia 960M/Intel HD4600, 1920x1080
Hi again!

I posted a while back with issues with my display flickering, and with help managed to solve that. Now I'm back again, mainly out of curiosity, as my iGPU (an Intel HD 4600, assumed mobile, with 1.5 or 2.0GB VRAM, not sure) is recognised as an Intel Iris Pro, with only 1024MB VRAM.

I'm just wondering if there's anything I can do to fix this, or not...

Here's the output of the requested commands:
Code:
~
❯ kextstat|grep -y acpiplat
   15    2 0xffffff7f83308000 0xa5000    0xa5000    com.apple.driver.AppleACPIPlatform (6.1) 33FE0184-9235-32DF-8BC2-0B2B11971EDB <14 13 12 11 7 6 5 4 3 1>

~
❯ kextstat|grep -y appleintelcpu

~
❯ kextstat|grep -y applelpc
  118    0 0xffffff7f82b45000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 7C24E741-BD4A-3917-83AC-E956A03ADC20 <94 12 5 4 3>

~
❯ kextstat|grep -y applehda
  108    1 0xffffff7f82fa3000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (280.12) 55162F3D-B7E9-315C-A7E1-C5C4C02F03EC <107 106 87 12 7 6 5 4 3 1>
  145    0 0xffffff7f83123000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) 7FC2BABA-4D4F-34FC-93E2-3E3244DEB73D <144 108 107 106 102 87 6 5 4 3 1>

~
❯ ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
zsh: no matches found: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*

~
❯ pmset -g assertions
2017-12-01 11:50:29 +1300
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    0
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 2685(AddressBookSourceSync): [0x0000061c00018217] 00:00:23 PreventUserIdleSystemSleep named: "Address Book Source Sync"
        Timeout will fire in 1776 secs Action=TimeoutActionTurnOff
   pid 169(coreaudiod): [0x0000062c000180ba] 00:00:08 PreventUserIdleSystemSleep named: "com.apple.audio.Boom2Engine:0.context.preventuseridlesleep"
        Created for PID: 334.
   pid 169(coreaudiod): [0x00000021000180ac] 00:25:54 PreventUserIdleSystemSleep named: "com.apple.audio.Boom2Engine:0.context.preventuseridlesleep"
        Created for PID: 475.
   pid 108(hidd): [0x0000000500098003] 00:00:01 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968090.3"
        Timeout will fire in 598 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=1/01/70, 12:00 PM description=com.apple.usb.externaldevice.1a100000 owner=IOUSBHostDevice
   id=501  level=255 0x4=USB mod=1/01/70, 12:00 PM description=com.apple.usb.externaldevice.1d100000 owner=IOUSBHostDevice
   id=504  level=255 0x4=USB mod=1/01/70, 12:00 PM description=com.apple.usb.externaldevice.1a110000 owner=BCM20702A0
   id=505  level=255 0x4=USB mod=1/01/70, 12:00 PM description=com.apple.usb.externaldevice.1a130000 owner=USB2.0 HD UVC WebCam
Idle sleep preventers: IODisplayWrangler

~
❯ pmset -g
System-wide power settings:
Currently in use:
standby              1
womp                 1
halfdim              1
hibernatefile        /var/vm/sleepimage
powernap             1
gpuswitch            2
networkoversleep     0
disksleep            10
sleep                1 (sleep prevented by AddressBookSourceSync, coreaudiod, coreaudiod)
autopoweroffdelay    28800
hibernatemode        3
autopoweroff         0
ttyskeepawake        1
displaysleep         10
standbydelay         10800

~
❯ system_profiler SPSerialATADataType|grep TRIM
          TRIM Support: Yes

Not sure if you want this too, but here's a couple of other commands:

Code:
~
❯ kextstat | grep -v 'com.apple'
Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>
   16    2 0xffffff7f80dab000 0x15000    0x15000    as.vit9696.Lilu (1.2.0) 3F51CD32-9E7E-35B9-9189-8CEC6588DA05 <7 5 4 3 2 1>
   17    0 0xffffff7f80dc0000 0x4000     0x4000     as.lvs1974.IntelGraphicsFixup (1.2.0) 844DD49C-166A-37DF-8515-574FEEA99157 <16 7 5 4 3 2 1>
   18    0 0xffffff7f80e60000 0x16000    0x16000    org.netkas.driver.FakeSMC (1765) 9EEC6103-EEBA-34B3-B9AF-8FE333C43E90 <11 7 5 4 3 1>
   20    0 0xffffff7f81311000 0xad000    0xad000    as.vit9696.AppleALC (1.2.0) 00CFEB1A-0A78-3FD0-AD61-F5F013599EB7 <16 7 5 4 3 2 1>
   21    0 0xffffff7f813e0000 0x9000     0x9000     org.rehabman.driver.AppleSmartBatteryManager (1.81.4) 2B852534-CAC2-3E36-BF21-C10984081B74 <11 4 3>
   51    2 0xffffff7f812d5000 0xd000     0xd000     org.emlydinesh.driver.ApplePS2Controller (4.6.8) 34755F6A-A94B-3B41-B7F9-E7E533789C8D <11 7 5 4 3 1>
   56    1 0xffffff7f80e76000 0x8000     0x8000     org.rehabman.driver.FakePCIID (1.3.9) BC738576-B800-3E7F-992D-3851C67CCAA9 <12 7 5 4 3 1>
   57    0 0xffffff7f80e7e000 0x3000     0x3000     org.rehabman.driver.FakePCIID.XHCIMux (1.3.9) C99262C4-7FDD-33F9-85EB-D53240B71FE5 <56 12 7 5 4 3 1>
   70    0 0xffffff7f80b62000 0x67000    0x67000    com.insanelymac.RealtekRTL8111 (2.2.1) 07D64653-7867-3C3A-837B-E491B33C21B7 <66 12 5 4 3 1>
   73    1 0xffffff7f812e2000 0xe000     0xe000     org.emlydinesh.driver.ApplePS2Keyboard (4.6.8) 8628ADB8-A873-3841-B155-70BFE0785990 <52 51 19 7 6 5 4 3 1>
   76    0 0xffffff7f80c25000 0x17b000   0x17b000   at.obdev.nke.LittleSnitch (5106) 586995E0-3955-3B3C-84AC-329B22396A7A <7 5 4 3 1>
   90    0 0xffffff7f812f0000 0x19000    0x19000    org.emlydinesh.driver.ApplePS2SmartTouchPad (4.6.8) A74A8258-9468-3FBE-A2C4-EBFA28487044 <73 52 51 19 7 6 5 4 3 1>
  101    0 0xffffff7f812b5000 0x9000     0x9000     org.emlydinesh.driver.AsusNBFnKeys (2.6) 069C27E9-EE6D-395D-BE98-1364C275EFBC <52 19 11 7 6 5 4 3 1>
  113    1 0xffffff7f80fa8000 0x6000     0x6000     com.no-one.BrcmFirmwareStore (2.2.7) FA907595-C1CB-3D88-AD98-ADCDA9F29625 <5 4 3>
  114    0 0xffffff7f8105d000 0x6000     0x6000     com.no-one.BrcmPatchRAM2 (2.2.7) 76FC3024-9FF8-3607-A616-DF7C550751CB <113 30 5 4 3 1>
  129    0 0xffffff7f81069000 0x4000     0x4000     com.globaldelight.driver.Boom2Device (1.1) 73CE7A76-3526-347C-98FD-5B794ABB870D <106 5 4 3 1>
  130    0 0xffffff7f80f87000 0x8000     0x8000     org.tw.CodecCommander (2.6.3) 6032938E-4161-35BC-9507-DE73BFA6ABB3 <106 12 11 4 3 1>

~
❯ sudo kextcache -i /
Alias tip: _ kextcache -i /
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a39dfde0 [0x7fffa9439570]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a3999760 [0x7fffa9439570]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a3954580 [0x7fffa9439570]> { URL = "IntelGraphicsFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d41c00 [0x7fffa9439570]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d40d00 [0x7fffa9439570]> { URL = "FakePCIID_XHCIMux.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.FakePCIID.XHCIMux" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d34590 [0x7fffa9439570]> { URL = "FakePCIID.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.FakePCIID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d3d9d0 [0x7fffa9439570]> { URL = "FakePCIID_Intel_HDMI_Audio.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HDMI-Audio" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d333a0 [0x7fffa9439570]> { URL = "FakePCIID_Intel_HD_Graphics.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HD-Graphics" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d2fb00 [0x7fffa9439570]> { URL = "FakePCIID_Broadcom_WiFi.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Broadcom-WiFi" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0d0a730 [0x7fffa9439570]> { URL = "CodecCommander.kext/ -- file:///Library/Extensions/", ID = "org.tw.CodecCommander" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a39157e0 [0x7fffa9439570]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a39120b0 [0x7fffa9439570]> { URL = "BrcmFirmwareRepo.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a39053b0 [0x7fffa9439570]> { URL = "AsusNBFnKeys.kext/ -- file:///Library/Extensions/", ID = "org.emlydinesh.driver.AsusNBFnKeys" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a3901db0 [0x7fffa9439570]> { URL = "ApplePS2Keyboard.kext/ -- file:///Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0ff8fd0 [0x7fffa9439570]> { URL = "ApplePS2Controller.kext/ -- file:///Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0fd5dd0 [0x7fffa9439570]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0f838d0 [0x7fffa9439570]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0f83180 [0x7fffa9439570]> { URL = "PinConfigs.kext/ -- file:///Library/Extensions/AppleALC.kext/Contents/PlugIns/", ID = "as.vit9696.PinConfigs" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0f7d570 [0x7fffa9439570]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fe4a0f7c890 [0x7fffa9439570]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
KernelCache ID: 034D23402F6333D92A3493432DE3C2D3
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff35cd05010 [0x7fffa9439570]> { URL = "ACPIBatteryManager.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.AppleSmartBatteryManager" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff35cd06d00 [0x7fffa9439570]> { URL = "AppleALC.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.AppleALC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff35f5cd8f0 [0x7fffa9439570]> { URL = "PinConfigs.kext/ -- file:///Library/Extensions/AppleALC.kext/Contents/PlugIns/", ID = "as.vit9696.PinConfigs" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff35f7ef7f0 [0x7fffa9439570]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b233b0 [0x7fffa9439570]> { URL = "ApplePS2SmartTouchPad.kext/ -- file:///Library/Extensions/", ID = "org.emlydinesh.driver.ApplePS2SmartTouchPad" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b2dca0 [0x7fffa9439570]> { URL = "ApplePS2Controller.kext/ -- file:///Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Controller" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b32ab0 [0x7fffa9439570]> { URL = "ApplePS2Keyboard.kext/ -- file:///Library/Extensions/ApplePS2SmartTouchPad.kext/Contents/PlugIns/", ID = "org.emlydinesh.driver.ApplePS2Keyboard" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b35d30 [0x7fffa9439570]> { URL = "AsusNBFnKeys.kext/ -- file:///Library/Extensions/", ID = "org.emlydinesh.driver.AsusNBFnKeys" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b44350 [0x7fffa9439570]> { URL = "BrcmFirmwareRepo.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmFirmwareStore" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361b44cf0 [0x7fffa9439570]> { URL = "BrcmPatchRAM2.kext/ -- file:///Library/Extensions/", ID = "com.no-one.BrcmPatchRAM2" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a20d10 [0x7fffa9439570]> { URL = "CodecCommander.kext/ -- file:///Library/Extensions/", ID = "org.tw.CodecCommander" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a26630 [0x7fffa9439570]> { URL = "FakePCIID.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.FakePCIID" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a29da0 [0x7fffa9439570]> { URL = "FakePCIID_Broadcom_WiFi.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Broadcom-WiFi" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a2a1b0 [0x7fffa9439570]> { URL = "FakePCIID_Intel_HD_Graphics.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HD-Graphics" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a2fa10 [0x7fffa9439570]> { URL = "FakePCIID_Intel_HDMI_Audio.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.FakePCIID-Intel-HDMI-Audio" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a32940 [0x7fffa9439570]> { URL = "FakePCIID_XHCIMux.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.driver.FakePCIID.XHCIMux" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a33c10 [0x7fffa9439570]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a4a710 [0x7fffa9439570]> { URL = "IntelGraphicsFixup.kext/ -- file:///Library/Extensions/", ID = "as.lvs1974.IntelGraphicsFixup" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361a8e3f0 [0x7fffa9439570]> { URL = "Lilu.kext/ -- file:///Library/Extensions/", ID = "as.vit9696.Lilu" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7ff361acd810 [0x7fffa9439570]> { URL = "RealtekRTL8111.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.RealtekRTL8111" }

I've attached my clover folder, patchmatic output, and ioreg.

Thanks in advance,
Zach
 

Attachments

  • CLOVER.zip
    1.7 MB · Views: 56
  • RehabMan.zip
    50.6 KB · Views: 63
  • ZachsLT.zip
    698.6 KB · Views: 62
Hi again!

I posted a while back with issues with my display flickering, and with help managed to solve that. Now I'm back again, mainly out of curiosity, as my iGPU (an Intel HD 4600, assumed mobile, with 1.5 or 2.0GB VRAM, not sure) is recognised as an Intel Iris Pro, with only 1024MB VRAM.

It is as expected with ig-platform-id 0x04260000.
The VRAM amount is coded into the ig-platform data.
You could patch it for more or use a different ig-platform-id that has more.
 
It is as expected with ig-platform-id 0x04260000.
The VRAM amount is coded into the ig-platform data.
You could patch it for more or use a different ig-platform-id that has more.

Thanks for the quick reply!

Is there a list that shows how much VRAM each one has? Or any particular one you'd suggest trying?

From my trials so far, 0x04260000 was the only ID that didn't cause screen flickering...

Any suggestions on how I may patch it? Ideally via Clover if that's possible...

Thanks!
 
Is there a list that shows how much VRAM each one has? Or any particular one you'd suggest trying?

You can look at the framebuffer kext binary and discover each ig-platform-id and the respective DVMT-prealloc, VRAM, cursor bytes, framebuffer size, connector types, PWMMax values, etc.

Any suggestions on how I may patch it? Ideally via Clover if that's possible...

You would need to do some reading about patching the framebuffer.
You can get DVMT-prealloc/VRAM/cursorbytes/framebuffer size data from another ig-platform-id (such as 0x0a260006) to use as an example.

Pike R. Alpha has some scripts that can extract the framebuffer data and display it. Great learning tool if you're not comfortable with a hex editor.

For example, compare 0x04260000 header data against 0x0a260006:
0x04260000:
00 00 26 04 00 03 03 03 00 00 00 04 00 00 00 01 00 00 F0 00 00 00 00 40

0x0a260006:
06 00 26 0A 01 03 03 03 00 00 00 02 00 00 30 01 00 00 60 00 00 00 00 60
 
You can look at the framebuffer kext binary and discover each ig-platform-id and the respective DVMT-prealloc, VRAM, cursor bytes, framebuffer size, connector types, PWMMax values, etc.



You would need to do some reading about patching the framebuffer.
You can get DVMT-prealloc/VRAM/cursorbytes/framebuffer size data from another ig-platform-id (such as 0x0a260006) to use as an example.

Pike R. Alpha has some scripts that can extract the framebuffer data and display it. Great learning tool if you're not comfortable with a hex editor.

For example, compare 0x04260000 header data against 0x0a260006:
0x04260000:
00 00 26 04 00 03 03 03 00 00 00 04 00 00 00 01 00 00 F0 00 00 00 00 40

0x0a260006:
06 00 26 0A 01 03 03 03 00 00 00 02 00 00 30 01 00 00 60 00 00 00 00 60
Hi again!

Thanks very much for the info, I found a post by Herve on another forum that broke down the hex data, explaining what each bit meant, and from that managed to write a patch to set my VRAM up to 2GB.
 
Status
Not open for further replies.
Back
Top