the-braveknight
Moderator
- Joined
- Nov 24, 2015
- Messages
- 1,220
- Motherboard
- Lenovo Legion Y520 (Clover)
- CPU
- i7-7700HQ
- Graphics
- HD 630 (1920x1080) + Nvidia GTX 1060
- Mac
- Mobile Phone
Post your EFI/Clover folder.
Still show this... lose my mind...
Post your EFI/Clover folder.
Still show this... lose my mind...
Here it isPost your EFI/Clover folder.
You should use ACPIDebug to see if the GPOF is actually being called and/or the checks inside it are succeeding.Here it is
log show --predicate "processID == 0" --debug --start `date "+%Y-%m-%d"` > ~/Desktop/kernel.log
ACPIDebug installed. Boot with DSDT.aml ------>You should use ACPIDebug to see if the GPOF is actually being called and/or the checks inside it are succeeding.
I added ACPIDebug codes to your DSDT, simply put in Clover/ACPI/patched. Make sure you install latest ACPIDebug.kext.
Boot with ACPIDebug.kext installed, Nvidia spoof injections in config.plist (in case it fails to disable), and this DSDT Clover/ACPI/patched. I added a GPOF call in PEG.VID._INI and some debugging code. You can remove SSDT-DGPU.aml for now.
After you've booted, you should open Terminal and enter this command:
Code:log show --predicate "processID == 0" --debug --start `date "+%Y-%m-%d"` > ~/Desktop/kernel.log
Then post problem reporting files and the generated log at ~/Desktop/kernel.log.
ACPIDebug installed. Boot with DSDT.aml ------>
u430:origin Admin$ diff DSDT.dsl ~/Downloads/DSDT.dsl|grep SystemMemory
< OperationRegion (MNVS, SystemMemory, 0xB6E7D018, 0x1000)
> OperationRegion (MNVS, SystemMemory, 0xBCE7D018, 0x1000)
< OperationRegion (GNVS, SystemMemory, 0xB6D7BC18, 0x02B0)
> OperationRegion (GNVS, SystemMemory, 0xBCD7BC18, 0x02B0)
< OperationRegion (ATRP, SystemMemory, \ATRB, 0x00100000)
> OperationRegion (ATRP, SystemMemory, ATRB, 0x00100000)
ACPIDebug installed. Boot with DSDT.aml ------>
Result is uploadedI added ACPIDebug codes to this SSDT-DGPU.aml instead. Remove DSDT.aml and copy this SSDT-DGPU.aml to Clover/ACPI/patched.
Then upload the results.
If you also unlocked advanced menu on bios you can definetly disable it on bios, I don’t know where it is exactly located but i can tell you after i go back home (when i finnish work) the exact place where you can disable it.Result is uploaded
BTW,I just unlock the advanced menu in BIOS. But I can't find a way to disable the integrated graphics card. View attachment 304694
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.Result is uploaded
BTW,I just unlock the advanced menu in BIOS. But I can't find a way to disable the integrated graphics card. View attachment 304694
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.