- Joined
- Feb 20, 2017
- Messages
- 51
- Motherboard
- T440P
- CPU
- i7-4700MQ
- Graphics
- HD4600
- Mac
It was never about disabling the integrated graphics. What we're trying to accomplish here is disabling the Nvidia card that cannot be made to work in macOS to save battery life. DO NOT risk trying to disable the integrated graphics because it will brick your laptop and the screen won't turn on.
So, by looking at your kernel log, I can see that the 'If (VMSH || \_SB.PCI0.PEG.VID.OMPR == 0x03)' check is not succeeding. VMSH is Zero and OMPR is 0x02. No wonder why the code in GPOF is not being executed.
OMPR is being set to OPCE in _SB.PCI0.PEG.VID.NVOP, which I suspect to be 0x02. It is also being set to 0x02 at the end of GPOF method (which is not being executed).
Another thing is that VMSH is being set to 0x00 (Zero) in _SB.PCI0.IGPU.VRSI (and VRSI is being called from _SB.PCI0.PEG.VID._INI) because you're simulating 'Windows 2012' which is Windows 8. In VRSI, it will be set to 0x01 (non-Zero) if OSYS is greater than or equal to '0x07DD', which is 'Windows 2013' or Windows 8.1.
To sum this up, you should try simulating 'Windows 2013' instead of 'Windows 2012' in SSDT-XOSI.aml and the GPOF code will be executed just fine.
Maybe @RehabMan can add further notes?
Here are the new SSDT-XOSI.aml and SSDT-DGPU.aml (I added code to check OSYS value just to make sure XOSI is simulating the right version). Test and report back with full problem reporting files and a new kernel.log.
Wrong typing hah... I mean turn off the Nvidia card not the integrated one. As I know, he integrated card control the display so it's impossible to turn it off. But I don't find the option - @Sniki I think the option is removed even in advanced menu.
And finally, it boot with SSDT-DGPU.aml!!!! I am testing if battery life is longer - for now, 89% -> 63% in 40 minutes which is not bad. I don't know if there is hidden problem so I upload full problem reporting files.
Thanks a lot for your help! @the-braveknight @Sniki & @RehabMan