Jump to content
8755 posts in this topic

Recommended Posts

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. :)

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.

 

image.thumb.png.3cb93eac7255240c67f0f69a5e90c640.png

  • Like 1
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.

  • Like 1

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?

  • Like 1
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

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

  • Like 1
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.

  • Like 1
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.

  • Like 1
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. 

@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/

 

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".

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. 

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...

 

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. 

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

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 by justin
  • Like 1
×
×
  • Create New...