Needy Posted January 8, 2018 Share Posted January 8, 2018 (edited) Ah.... Ummm.... Why you bought a board with an Insyde firmware? Then how you determined it's not working. Also what else are you doing/using? Wasn't done on purpose, it's just a laptop that happens to have a board running on InsydeH20.. Removed the emulation driver, stored a new variable in the nvram and restarted the computer to see whether the variable's preserved or not. What else am I doing/using? 0:100 0:000 Starting Clover revision: 4369 on INSYDE Corp. EFI 0:100 0:000 Build with: [Args: -mc | -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE5 -n 5 | OS: 10.13.2 | XCODE: 9.2] 0:145 0:000 KextsToPatch: 7 requested 0:145 0:000 - [00]: com.apple.driver.AirPort.Brcm4360 (Wifi macbook pro whitelist) :: BinPatch :: data len: 20 0:145 0:000 - [01]: com.apple.iokit.IOAHCIBlockStorage (NoLabel) :: BinPatch :: data len: 10 0:145 0:000 - [02]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-video, 64MB BIOS, HD4000 0x01660004 #1 of 2) :: BinPatch :: data len: 12 0:145 0:000 - [03]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-video, 64MB BIOS, HD4000 0x01660004 #2 of 2) :: BinPatch :: data len: 48 0:145 0:000 - [04]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660004, port 0205) :: BinPatch :: data len: 12 0:145 0:000 - [05]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660004, port 0304) :: BinPatch :: data len: 12 0:145 0:000 - [06]: com.apple.driver.AppleIntelFramebufferCapri (HDMI-audio HD4000 0x01660004, port 0406) :: BinPatch :: data len: 12 1:040 0:000 Beginning FSInjection FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: B780E098 FSInjectionInstall ... - Our FSI_SIMPLE_FILE_SYSTEM_PROTOCOL installed on handle: B780E098 1:040 0:000 Use origin smbios table type 1 guid. 1:042 0:001 Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other 1:042 0:000 Extra kext: EFI\CLOVER\kexts\Other\HWInfo.kext (v.1.0.1) 1:049 0:007 Extra kext: EFI\CLOVER\kexts\Other\IntelGraphicsFixup.kext (v.1.2.1) 1:059 0:010 Extra kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext (v.4.6.8) 1:085 0:025 |-- PlugIn kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Controller.kext (v.4.6.8) 1:094 0:008 |-- PlugIn kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Keyboard.kext (v.4.6.8) 1:102 0:008 Extra kext: EFI\CLOVER\kexts\Other\ACPIBacklight.kext (v.3.0.5) 1:113 0:010 Extra kext: EFI\CLOVER\kexts\Other\XHCPlistProperty.kext (v.1.1) 1:118 0:004 Extra kext: EFI\CLOVER\kexts\Other\RealtekRTL8100.kext (v.2.0.0) 1:127 0:009 Extra kext: EFI\CLOVER\kexts\Other\Lilu.kext (v.1.2.2) 1:137 0:010 Extra kext: EFI\CLOVER\kexts\Other\CodecCommander.kext (v.2.6.2) 1:161 0:023 Extra kext: EFI\CLOVER\kexts\Other\AppleALC.kext (v.1.2.1) 1:174 0:012 |-- PlugIn kext: EFI\CLOVER\kexts\Other\AppleALC.kext\Contents\PlugIns\PinConfigs.kext (v.1.0.0) 1:497 0:323 Extra kext: EFI\CLOVER\kexts\Other\FakeSMC.kext (v.3.5.0) 1:521 0:024 Extra kext: EFI\CLOVER\kexts\Other\ACPIBatteryManager.kext (v.1.81.4) Edited January 8, 2018 by Needy Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564495 Share on other sites More sharing options...
Funky frank Posted January 8, 2018 Share Posted January 8, 2018 I think this is related to the reserved region. Still haven't fixed it in like the last day.... EDIT: Did you install the NVIDIA CUDA driver for OpenCL? Yes, all installed, CUDA and WebDriver-378.10.10.10.25.102 EDIT: Btw. I now tried slide=1 and slide=128 (CSR 67), regarding that FCPX crash: No change. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564503 Share on other sites More sharing options...
PMheart Posted January 8, 2018 Share Posted January 8, 2018 (edited) That wasn't directed at you, it was just a general statement. The code base for clover is becoming massive, can't remember every tiny detail of everything done years ago. It needs comments, that's why they exist. And that is slightly more detail than needed, lol. But a summarized version of that without all the actual data (because we are looking for more abstract stuff) would be the correct way to comment. Something like "patching this method for this reason at this place with any relevant notes," like you said above. EDIT: Also it's very important to write when you are unsure of some code or that it might have a side effect. Oh god is that important. Those docs above were done one year ago, now I even have forgotten the details, but it surely gave me the clearest way to find the new patch (for 10.14?) I treated the actual data as examples just like what I wrote, that is "You will see something LIKE this". Whatever the correct way is, I still choose the easiest way for me to understand... I'm always too lazy to check the patch carefully, maybe I don't even have that ability, lol. EDIT: Sorry I'm going to sleep now, I may check the context later. Edited January 8, 2018 by PMheart 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564504 Share on other sites More sharing options...
Cyberdevs Posted January 8, 2018 Share Posted January 8, 2018 Guys can anyone please tell me what happened to nvram.plist in the EFI partition? I noticed that it's gone few months ago and I forgot to ask about it. Is it gone because of the new clover versions or we still get it on some builds? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564509 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 Wasn't done on purpose, it's just a laptop that happens to have a board running on InsydeH20.. Just making a joke. Removed the emulation driver, stored a new variable in the nvram and restarted the computer to see whether the variable's preserved or not. What else am I doing/using? You don't have AptioFix2 in drivers folder. Yes, all installed, CUDA and WebDriver-378.10.10.10.25.102 EDIT: Btw. I now tried slide=1 and slide=128 (CSR 67), regarding that FCPX crash: No change. Well if you have the CUDA and web drivers why doesn't your NVIDIA work for OpenCL and hardware decode? Both are definitely supported by 1050Ti, I checked. Which SMBIOS are you using? Guys can anyone please tell me what happened to nvram.plist in the EFI partition? I noticed that it's gone few months ago and I forgot to ask about it. Is it gone because of the new clover versions or we still get it on some builds? You have to have RC scripts installed. You don't need it though if you are using new AptioFix2 and having native NVRAM, which you do right? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564519 Share on other sites More sharing options...
Cyberdevs Posted January 8, 2018 Share Posted January 8, 2018 You have to have RC scripts installed. You don't need it though if you are using new AptioFix2 and having native NVRAM, which you do right? I suppose I do have native nvram on my mobo since I don't use RC Scripts and I have a functional nvram, but I guess there was a time that with a certain BIOS update the nvram was broken so I had to use the RC Scripts to make the nvidia web driver the default driver but not anymore. And yes thanks to you I'm using the new AptioFix2 so with my Skylake rig and I have a very happy hack with SIP fully enabled. But for my second system in the signature I guess things are a little bit different. I might just try to test the new AptioFix2 and see if I can use it on that system as well. I only tired to boot the macOS High Sierra once and I got the notorious Kernel Memory Allocation Error and since I was busy fixing my Skylake rig I didn't go any further. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564521 Share on other sites More sharing options...
Funky frank Posted January 8, 2018 Share Posted January 8, 2018 Well if you have the CUDA and web drivers why doesn't your NVIDIA work for OpenCL and hardware decode? Both are definitely supported by 1050Ti, I checked. Which SMBIOS are you using? No, man, you misread. nvidia opencl is working fine. hd4600 opencl + nvidia opencl will crash final cut pro x though. Btw. if you want to try a fix, let me know if I can help you with some debug-information. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564524 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 I suppose I do have native nvram on my mobo since I don't use RC Scripts and I have a functional nvram, but I guess there was a time that with a certain BIOS update the nvram was broken so I had to use the RC Scripts to make the nvidia web driver the default driver but not anymore. And yes thanks to you I'm using the new AptioFix2 so with my Skylake rig and I have a very happy hack with SIP fully enabled. But for my second system in the signature I guess things are a little bit different. I might just try to test the new AptioFix2 and see if I can use it on that system as well. I only tired to boot the macOS High Sierra once and I got the notorious Kernel Memory Allocation Error and since I was busy fixing my Skylake rig I didn't go any further. Yeah depending on the other firmware it's possible you get the error, but also it might work now. It's worth trying AptioFix2. Don't use AptioFix from the newest package r4369, it has a bug. No, man, you misread. nvidia opencl is working fine. hd4600 opencl + nvidia opencl will crash final cut pro x though. Btw. if you want to try a fix, let me know if I can help you with some debug-information. Oh so why not just use only NVIDIA OpenCL? If the problem is with the HD4600? At least temporarily. But hold on let me just see if I can fix this now, I don't know why I'm putting it off. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564527 Share on other sites More sharing options...
Cyberdevs Posted January 8, 2018 Share Posted January 8, 2018 Yeah depending on the other firmware it's possible you get the error, but also it might work now. It's worth trying AptioFix2. Don't use AptioFix from the newest package r4369, it has a bug. Oh so why not just use only NVIDIA OpenCL? If the problem is with the HD4600? At least temporarily. But hold on let me just see if I can fix this now, I don't know why I'm putting it off. I'm compiling the r4370 right now and I will give that a try once it's done. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564530 Share on other sites More sharing options...
Needy Posted January 8, 2018 Share Posted January 8, 2018 Just making a joke. You don't have AptioFix2 in drivers folder. Tbf I'm not happy with it either My system boots fine without it, however, I tried booting with it and there're no changes. I'll try once again just to make sure. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564533 Share on other sites More sharing options...
stinga11 Posted January 8, 2018 Share Posted January 8, 2018 Rev 4368, 4369 NVRAM and other runtime fixes for AptioFix. Runtime code areas are no longer allowed to be relocated by boot.efi like runtime data areas. Runtime methods for NVRAM variables are shimmed to enable writing into runtime code regions during the methods, then disabled upon return. Native NVRAM should work for everyone now. AptioFix2 should be preferred over AptioFix, but you may need to calculate a slide value for now. Hi, When you say that the NVRAM should work native for all, what do you mean? that we no longer need to install the RC scripts? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564539 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 I'm compiling the r4370 right now and I will give that a try once it's done. Oh there is no difference in the code, only the windows build system for r4370. Tbf I'm not happy with it either My system boots fine without it, however, I tried booting with it and there're no changes. I'll try once again just to make sure. Remove EmuVar driver and use AptioFix2 driver from at least r4369, have native NVRAM. Hi, When you say that the NVRAM should work native for all, what do you mean? that we no longer need to install the RC scripts? Remove EmuVar driver and use AptioFix2 driver from at least r4369, have native NVRAM. No RC scripts, unless you want them for some other reason. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564552 Share on other sites More sharing options...
Guest Posted January 8, 2018 Share Posted January 8, 2018 not valid for all..I mean for my x99 rig it is not working :-( Remove EmuVar driver and use AptioFix2 driver from at least r4369, have native NVRAM. No RC scripts, unless you want them for some other reason. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564558 Share on other sites More sharing options...
Cyberdevs Posted January 8, 2018 Share Posted January 8, 2018 Oh there is no difference in the code, only the windows build system for r4370. Well too late , I just updated my clover to r4370 and AptioFix2 is working perfect on my IvyBrige rig as well with CsrConfig=0x0 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564560 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 not valid for all..I mean for my x99 rig it is not working :-( Please give me memmap from EFI shell after clover GUI and boot.log (or debug.log) when using AptioFix2 from at least r4369. Btw. if you want to try a fix, let me know if I can help you with some debug-information. Please try this AptioFix2 and let me know results. Could be a disaster... Could work. OsxAptioFix2Drv-64.efi Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564561 Share on other sites More sharing options...
Guest Posted January 8, 2018 Share Posted January 8, 2018 how to store on file memmap result? (sorry for noob question) Please give me memmap from EFI shell after clover GUI and boot.log (or debug.log) when using AptioFix2 from at least r4369. Please try this AptioFix2 and let me know results. Could be a disaster... Could work. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564567 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 how to store on file memmap result? (sorry for noob question) memmap > FS#:\memmap.txt Where # is a number of a writable filesystem to save memmap. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564569 Share on other sites More sharing options...
maleorderbride Posted January 8, 2018 Share Posted January 8, 2018 Yes you need to enter a slide value sometimes to get AptioFix2 to work. Maybe it should be modified to determine that on it's own. I want to obsolete AptioFix.... Make AptioFix2 the one method to rule them all! Also rename it.... lol EDIT: Test the newest AptioFix2 and see what the result is. Using a slide is not a big deal, it's done anyway to place the kernel. The newest AptioFix2 from r4369 should be very different than the previous and should give you very close to 100% working system besides a few caveats that still need fixed but I want to get rid of AptioFix and rename AptioFix2 to something more appropriate. There should not be a need for AptioFix anymore as AptioFix2 should be sufficiently modified to work for every system. Or at least I hope. Also everyone testing this driver, if you have EmuVar driver remove that because you should have working NVRAM. Thanks for posing a real world example of calculating slide. I understand that now. However, won't the slide memmap (and hence optimal slide value) change everytime I add/remove a PCI-e device? I change those around quite frequently for work, and often have 5+ PCI-e slots occupied. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564573 Share on other sites More sharing options...
Guest Posted January 8, 2018 Share Posted January 8, 2018 Attached files requested Thank you memmap > FS#:\memmap.txt Where # is a number of a writable filesystem to save memmap. Thankyou_Apianti.zip Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564576 Share on other sites More sharing options...
Balamut Posted January 8, 2018 Share Posted January 8, 2018 Available 0000000000100000-00000000657F9FFF 00000000000656FA 000000000000000FOh, come on, man! You can literally pick any slide, that is not encouraging. Did you try not setting it at all or slide=0? What slide values did you use? What other stuff are you using drivers/injection/etc? What is your board and CPU? Dude I might look like a simpleton but I’m not I promise you Off course I did, the only difference between booting and not was aptiofix update, with the old one the system loads fine. Yes I did every single possible combination with and without slide. I’ll be back in couple of hours and will post the clover folder. It’s Asus z10pe-d16, dual cpu board. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564581 Share on other sites More sharing options...
apianti Posted January 8, 2018 Share Posted January 8, 2018 Thanks for posing a real world example of calculating slide. I understand that now. However, won't the slide memmap (and hence optimal slide value) change everytime I add/remove a PCI-e device? I change those around quite frequently for work, and often have 5+ PCI-e slots occupied. I was actually slightly off, you should follow this. It depends on how your firmware allocates the necessary regions and which slide you choose. Maybe? Dude I might look like a simpleton but I’m not I promise you Off course I did, the only difference between booting and not was aptiofix update, with the old one the system loads fine. Yes I did every single possible combination with and without slide. I’ll be back in couple of hours and will post the clover folder. It’s Asus z10pe-d16, dual cpu board. Just trying to figure out what you did already, to know where to go. You mean AptioFix2 right? You should be using AptioFix2. And you literally did slide=0 through slide=255? Are you using the official package r4369 driver? Attached files requested Thank you Remove all those boot args and try only slide=128, slide=129, or slide=0. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564587 Share on other sites More sharing options...
Guest Posted January 8, 2018 Share Posted January 8, 2018 Remove all those boot args and try only slide=128, slide=129, or slide=0. now I have -v darkwake=8 npci=0x2000 slide=128 without npci=0x2000 system should not start..I am trying by now :-) Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564591 Share on other sites More sharing options...
artur_pt Posted January 8, 2018 Share Posted January 8, 2018 hello apianti can check if I need any slide value all is working .. only problem is hibernation it stuck just before video .. it show the right desktop but is freeze FirmwareMemoryMap.txt.zip thanks Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564593 Share on other sites More sharing options...
Balamut Posted January 8, 2018 Share Posted January 8, 2018 I was actually slightly off, you should follow this. It depends on how your firmware allocates the necessary regions and which slide you choose. Maybe? Just trying to figure out what you did already, to know where to go. You mean AptioFix2 right? You should be using AptioFix2. And you literally did slide=0 through slide=255? Are you using the official package r4369 driver? Remove all those boot args and try only slide=128, slide=129, or slide=0. Yes sir, compiled myself from the source. I’ll test more in a couple of hours and will shoot you the clover folder just in case. Also will enable debug in the clover, maybe dual cpu systems are a bit off on the aptio v Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564594 Share on other sites More sharing options...
Guest Posted January 8, 2018 Share Posted January 8, 2018 (edited) yep without ncpi=0x2000 system hangs on pic configuration begin stage.. now I have -v darkwake=8 npci=0x2000 slide=128 without npci=0x2000 system should not start..I am trying by now :-) slide=0 printf error slide 128 ok but Nvram is not working slide 129 ok but Nvram is not working Edited January 8, 2018 by Guest Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/639/#findComment-2564597 Share on other sites More sharing options...
Recommended Posts