Andrey1970 Posted June 22, 2019 Share Posted June 22, 2019 On 6/21/2019 at 8:52 PM, vit9696 said: I get a feeling these extra examples may fit well into OpenCore docs. CC @Andrey1970 Added example with mask. 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2678876 Share on other sites More sharing options...
Andres ZeroCross Posted June 23, 2019 Share Posted June 23, 2019 14 hours ago, Andrey1970 said: Added example with mask. Hi @vit9696 Just my opinion, can you make OC Bootloader make ACPI -> Patch and add more line about MatchKernel or Match _OSI??? So the patched only will be executed in certain _OSI. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2678928 Share on other sites More sharing options...
Andres ZeroCross Posted June 23, 2019 Share Posted June 23, 2019 For All : According to my experiment and help of @vit9696 then Sleep and Shutdown in Windows with "RequestBootVarRouting=YES" are working now. The problem is not about Sleep and Shutdown, but about hibernate file. In Windows 10 sleep is use Hibernate file if Hybrid Sleep = On And Shutdown is use Hibernate file too if Fast Startup = On (check) And OpenCore is not supported Windows Hibernation yet,, maybe later. So, it will make Sleep and Shutdown be broken in WIndows 10 So, in my case if i want to set RequestBootVarRouting=YES then i must turn off Hybrid Sleep in Windows (power managment) and set Fast Startup to uncheck / No. Now, i can sleep, shutdown and restart my Windows with OpenCore Bootloader and RequestBootVarRouting=YES. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2678941 Share on other sites More sharing options...
Andrey1970 Posted June 23, 2019 Share Posted June 23, 2019 3 hours ago, Andres ZeroCross said: Hi @vit9696 Just my opinion, can you make OC Bootloader make ACPI -> Patch and add more line about MatchKernel or Match _OSI??? So the patched only will be executed in certain _OSI. To you already spoke many times. ACPI common for all OS. It is not discussed. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2678955 Share on other sites More sharing options...
vit9696 Posted June 23, 2019 Share Posted June 23, 2019 It is also not technically possible. _OSI is provided by ACPI runtime (i.e. operating system), so OC (or anything else that runs ot bootloader stage) does not know it at all. 3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2678983 Share on other sites More sharing options...
LBowgensloth Posted June 25, 2019 Share Posted June 25, 2019 Is it planned to implement Clovers HWPEnable functionality as a quirk? Current way requires installing HWPEnable.kext to /L/E and run it via script every time after waking up. This is a more than dirty hack to get SpeedStep to work. Will OC take care of this in the future? 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679216 Share on other sites More sharing options...
vit9696 Posted June 25, 2019 Share Posted June 25, 2019 @LBowgensloth, I can imagine such quirk to appear. Ideally somebody contributes it, as OpenCore is open-source after all. 4 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679240 Share on other sites More sharing options...
justin Posted June 26, 2019 Share Posted June 26, 2019 On 5/29/2019 at 6:32 PM, obus said: Nope I think my SSDT is correct! SSDT-PLUG.aml I have this working in one of the previous version (01) of OC and on 10.14.4 Your CPU is at SB.PR00 not PR.PR00, ignore this if you have fixed it. 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679299 Share on other sites More sharing options...
justin Posted June 26, 2019 Share Posted June 26, 2019 On 6/18/2019 at 4:17 AM, dgsga said: You need to compile VariableRuntimeDxe from MdeModulePkg/Universal with the ‘PcdEmuVariableNvModeEnable’ PCD flag enabled. Hello dgsga, can you be more detailed, how do enable this PCD flag? Do i modify the file 'VariableRuntimeDxe.inf' to include: [Pcd] ..... gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable ## SOMETIMES_CONSUMES Or can you provide a compiled VariableRuntimeDxe.efi? thanks Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679301 Share on other sites More sharing options...
obus Posted June 26, 2019 Share Posted June 26, 2019 Hi all! Is this a correct way to inject "framebuffer-patch-enable" and "framebuffer-stolenmem"? and do I need them at all? Second question. How to inject KernelPM? I need that on my second Z270 Skylake-rig. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679318 Share on other sites More sharing options...
gengik84 Posted June 26, 2019 Share Posted June 26, 2019 Hi @obus do you have dvmt problems? framebuffer-stolenmem corrects related problems On desktop PCs, in many cases, you can still adjust dvmt on the bios AppleXcpmCfgLock Btw.. If the first question was related to the Xeon build, you don't need any xeon has no igpu 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679322 Share on other sites More sharing options...
obus Posted June 26, 2019 Share Posted June 26, 2019 1 hour ago, gengik84 said: Hi @obus do you have dvmt problems? framebuffer-stolenmem corrects related problems On desktop PCs, in many cases, you can still adjust dvmt on the bios AppleXcpmCfgLock Btw.. If the first question was related to the Xeon build, you don't need any xeon has no igpu No everything was regarding my second Z270 Skylake-rig. Thank's anyway. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679329 Share on other sites More sharing options...
Slice Posted June 26, 2019 Share Posted June 26, 2019 On 6/25/2019 at 6:36 PM, LBowgensloth said: Is it planned to implement Clovers HWPEnable functionality as a quirk? Current way requires installing HWPEnable.kext to /L/E and run it via script every time after waking up. This is a more than dirty hack to get SpeedStep to work. Will OC take care of this in the future? It will be better to rewrite this kext such a way it will respond to resume from sleep. It is possible as VoodooHDA do this. But a bootloader has no chance to work after wake. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679332 Share on other sites More sharing options...
dgsga Posted June 26, 2019 Author Share Posted June 26, 2019 (edited) @justin I’ll post the build command as soon as I have access to my hack...in a nutshell specify the pcd with - -pcd after specifying the module with -m in the build command Edited June 26, 2019 by dgsga Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679338 Share on other sites More sharing options...
dgsga Posted June 27, 2019 Author Share Posted June 27, 2019 17 hours ago, Slice said: It will be better to rewrite this kext such a way it will respond to resume from sleep. It is possible as VoodooHDA do this. But a bootloader has no chance to work after wake. https://github.com/headkaze/HWPEnable 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679413 Share on other sites More sharing options...
Slice Posted June 27, 2019 Share Posted June 27, 2019 2 hours ago, dgsga said: https://github.com/headkaze/HWPEnable If it is already done then why a script needed to launch the kext after wake? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679417 Share on other sites More sharing options...
dgsga Posted June 27, 2019 Author Share Posted June 27, 2019 1 hour ago, Slice said: If it is already done then why a script needed to launch the kext after wake? Headkaze’s fork of the original repo has the wake patch but Goodwin’s original master repo doesn’t... 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679427 Share on other sites More sharing options...
justin Posted June 27, 2019 Share Posted June 27, 2019 On 6/27/2019 at 3:31 AM, dgsga said: @justin I’ll post the build command as soon as I have access to my hack...in a nutshell specify the pcd with - -pcd after specifying the module with -m in the build command That would be nice, thanks. Did you compile against the EDK from OpenCore’s repo? Im currently using the Emuvariableru timedxe.efi compiled against UDK 2018, it worked very well on my B360M-HDV mb, i wonder if the newer Variabledxe.efi from EDK is better. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679454 Share on other sites More sharing options...
justin Posted June 27, 2019 Share Posted June 27, 2019 @dgsga thank you a lot for the tip, i have successfully compiled the VariableRuntimeDxe.efi againt the OpenCorePkg/UDK. Sleep, reboot, shutdown all work on my Asrock B360M-HDV motherboard, here is what i did: git clone https://github.com/acidanthera/audk UDK cd UDK source edksetup.sh make -C BaseTools build -a X64 -b RELEASE -t XCODE5 -p MdeModulePkg/MdeModulePkg.dsc -m MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf --pcd=PcdEmuVariableNvModeEnable=1 cp Build/MdeModule/RELEASE_XCODE5/X64/VariableRuntimeDxe.efi ~/Desktop/ Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679458 Share on other sites More sharing options...
asstastic Posted June 27, 2019 Share Posted June 27, 2019 2 hours ago, justin said: That would be nice, thanks. Did you compile against the EDK from OpenCore’s repo? Im currently using the Emuvariableru timedxe.efi compiled against UDK 2018, it worked very well on my B360M-HDV mb, i wonder if the newer Variabledxe.efi from EDK is better. I tried Variabledxe.efi and it crashed OpenCore, corrupting the bios. Had to short the cmos reset pins on the motherboard to get it booting again. Not sure I'd qualify that as "better". Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679463 Share on other sites More sharing options...
justin Posted June 28, 2019 Share Posted June 28, 2019 3 hours ago, asstastic said: I tried Variabledxe.efi and it crashed OpenCore, corrupting the bios. Had to short the cmos reset pins on the motherboard to get it booting again. Not sure I'd qualify that as "better". Yes i had the same issue, until i tried - -pcd to compile like i said in my previous post, it is working great now. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679470 Share on other sites More sharing options...
dgsga Posted June 28, 2019 Author Share Posted June 28, 2019 16 hours ago, justin said: Yes i had the same issue, until i tried - -pcd to compile like i said in my previous post, it is working great now. The - -pcd flag is essential, without it there is no emulation. The flag replaces the functionality that was previously in EmuVariableDxe before it was removed from the edk2 file tree... Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679558 Share on other sites More sharing options...
justin Posted June 28, 2019 Share Posted June 28, 2019 3 hours ago, dgsga said: The - -pcd flag is essential, without it there is no emulation. The flag replaces the functionality that was previously in EmuVariableDxe before it was removed from the edk2 file tree... Thanks for the info. EmuVariableDxe is 27KB, while VariableDxe is 79KB, they both work for me, VariableDxe seems better, like wake up a little bit faster. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679583 Share on other sites More sharing options...
seyd46 Posted June 30, 2019 Share Posted June 30, 2019 Hello everyone, I observe opencorepkg as an alternative to Clover, BUT. If I may. As a computer scientist we are progressives. The project is at its beginning, but as Clover becomes more and more friendly with frequent updates. I have a hard time seeing the new features that the Opencore project brings, especially since the installation is far from easy and with limited hardware support at least at the current time. For me fragmentation divides talents but can sometimes have a blessing effect. I hope that will be the case for OpenCore. Opencorepkg faeture More hardware and configuration support Easy installation And brings better performance than these competitors Clover or Ozmosis. This is my point of view. Good continuation Seyd Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679725 Share on other sites More sharing options...
justin Posted June 30, 2019 Share Posted June 30, 2019 (edited) 13 hours ago, nytr0 said: Is there a setting in 0.0.3 to prevent that? I'm trying to boot into Catalina dp2. Yes there is, set PanicNoKextDump=YES, and add debug=0x100 keepsyms=1 -v boot args, you will be able to see the backtrace of Kernel Panic. To get Catalina running, you need latest Lilu and it’s plugins (whatevergreen, virtualsmc, applealc) compiled from source. If not, the iGPU will hang there. if you don’t have the the latest kexts, try disable iGPU in the BIOS, add -lilubetaall boot arg, you will boot. Edited June 30, 2019 by justin 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/30/#findComment-2679757 Share on other sites More sharing options...
Recommended Posts