Jump to content
8755 posts in this topic

Recommended Posts

Vit

 

would like to know how to increase the value to  max bright for this backlight fix.  how to increase the brightness factor?

 

I just found another light PNLF patch from an Older Asus Laptop. testing now

but, the brightness factor is low compared to SSDT-PNLF version. n

 

I set backlight-level in config-plist to 0710 ? whatever the value is was shooting for 1808?

 

Thanks

Got solution for Ivy Bridge XCPM patch for Catalina 10.15.5.

 

I compared the Kernels from 10.15.4 and 10.15.5 with a Disassembler and examined the _xcpm_bootstrap looking for 0xC4 & 0x3B (which were patched in 10.15.4).

In 10.15.5, they changed code a bit and "CMP BL, 0x3B" is not there but offset to a table dereference to 0xC4 was there.

Changing the 0xC4 to 0xC6 (for Ivy Bridge) enables XCPM.

 

The patch is (ONLY for 10.15.5):

Find: 8D43C43C42

Replace: 8D43C63C42

 

Full OC entry in Kernel->Patch:


			<dict>
				<key>Base</key>
				<string>_xcpm_bootstrap</string>
				<key>Comment</key>
				<string>_xcpm_bootstrap (For Ivy Bridge) 10.15.5 by MacNB</string>
				<key>Count</key>
				<integer>1</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>
				jUPEPEI=
				</data>
				<key>Identifier</key>
				<string>kernel</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data>
				</data>
				<key>MaxKernel</key>
				<string>19.99.99</string>
				<key>MinKernel</key>
				<string>19.5.0</string>
				<key>Replace</key>
				<data>
				jUPGPEI=
				</data>
				<key>ReplaceMask</key>
				<data>
				</data>
				<key>Skip</key>
				<integer>0</integer>
			</dict>

 

I get P-States from 1.6Ghz up to my overclock 4.8Ghz.

Thanks to all who helped.

 

I cannot upload screenshots as the site keeps failing to upload.

  • Like 3

@el_charlie, the feature was implemented for another reason for our internal needs, but we thought it may help HD 2000/3000. If it does not, well, possible.

 

@makk, I know very little about PNLF unfortunately. You might need to ask other guys with the laptops.

11 hours ago, MorenoAv said:

Hi @Matgen84, @UefiBooter,

I asked because I didn't see HideSelf in config.plist, neither in the documentation and at boot I see the mention to it... 

 

You must remove 684/685 lines in your config.plist, Bro.

 

 

Capture d’écran 2020-06-01 à 07.29.57.png

  • Like 1
4 hours ago, SavageAUS said:

So this is my bios boot selection. EFI Hard Drive 1 is macOS, the rest is self explanatory.

 

This is what shows up in OC.

The EFI partition does not boot, just a black screen.

No linux options.

 

 

Just my opinion: The EFI partition is for OC, to boot macOS try to select Hackintosh HD in Opencanopy.

 

Just my opinion: The EFI partition is for OC, to boot macOS try to select Hackintosh HD in Opencanopy.

I’m trying to boot Arch Linux on my laptop from OC. macOS and windows boot just fine but Arch Linux doesn’t appear in boot picker, just the EFI entry that boots to black screen.

 

@anyone where would I put .contentDetails to change the name of a Linux entry? On my desktop it appears as NO NAME and I want to rename it (It is Arch Linux) and boots just fine which is why I don’t understand why it won’t on my laptop. Booting Arch Linux via bios menu works fine too but want to use picker.

 

 

Sent from my iPhone using Tapatalk

  • Like 1

Adding Force_Load_FalconSMUFW property to config.plist causes KP on navi rx 5700 from Catalina 10.15.5. I know it is Apple’s bug and that there is probably nothing to fix on the OpenCore side. But as I remember some users found a workaround to make SMU Firmware loading again, just inject some named Framebuffer like “Adder”.Is it a good idea considering that Whatevergreen manual doesn’t recommend it at all ?

On 5/31/2020 at 7:09 AM, SavageAUS said:

[mention]apianti [/mention] I just installed arch on an ssd in my desktop and it is listed as NO NAME entry in OC and it boots just fine. I installed it the same way as I did on my laptop but no entry exists for it. I’ll try reinstall the boot loader for arch on my laptop and try again and see how it goes. Now to figure out how to rename the NO NAME to Arch Linux on my desktop.

 

Weird...

 

18 hours ago, SavageAUS said:

So this is my bios boot selection. EFI Hard Drive 1 is macOS, the rest is self explanatory.

This is what shows up in OC.

The EFI partition does not boot, just a black screen.

No linux options.

 

Is that disabled EFI entry the same disk as arch or a different one? I wonder what the load options variables actually look like, maybe there is a mistake or something else. The ScanPolicy is not affecting what is being shown? That seems to contradict the documentation. I think I linked you previously how to change the entries, did I not? You can also just find it in the documentations.

9 hours ago, SavageAUS said:

I’m trying to boot Arch Linux on my laptop from OC. macOS and windows boot just fine but Arch Linux doesn’t appear in boot picker, just the EFI entry that boots to black screen.

 

@anyone where would I put .contentDetails to change the name of a Linux entry? On my desktop it appears as NO NAME and I want to rename it (It is Arch Linux) and boots just fine which is why I don’t understand why it won’t on my laptop. Booting Arch Linux via bios menu works fine too but want to use picker.

 

The documentation says how to rename with .contentDetails, etc:

2. How to customise boot entries?
OpenCore follows standard Apple Bless model and extracts the entry name from .contentDetails and .disk_label.contentDetails files in the booter directory if present. These files contain an ASCII string with an entry title, which may then be customised by the user.

 

OCUI: Entry kind 16 unsupported for IconOCB: ShowMenu failed - Unsupported
Halting on critical error

Still seeing this error on every update. Restarting the installer is a workaround but can someone from the OC team guide me in the right direction?

  • Confused 1
5 hours ago, Tiem said:

OCUI: Entry kind 16 unsupported for IconOCB: ShowMenu failed - Unsupported
Halting on critical error

Still seeing this error on every update. Restarting the installer is a workaround but can someone from the OC team guide me in the right direction?

Fixed in master :)

  • Thanks 2
1 hour ago, vit9696 said:

@Tiem, actually with 0.5.9 you can workaround it by enabling BlacklistAppleUpdate option. Please provide logs if this does not work for you.

My system freezes after wake up

I have tried many things. 

opencore-2020-06-02-003202.txt

Thanks Vit

 

Anyone know why a SSDt-PNLF.aml would cause a ACPI Warning in the Table?

how to get around a 64 Bit constant in a 32 bit table?  I recompiled the SSDT-PNFL and the DSDT.  Restarting after a shutdown, the issue reoccured.

 

Recompiled both files with different MaciASL.  Problem sill persists.

 

Added a PNLF patch to DSDT.  unloaded the SSDT-PNLF.  Problem persists without SSDT-PNLF

Recompiled DSDT removing PNLF patch.  Problem goes away.

 

Found a different PNLF patch but does not brighten. Slider works gets dark gets bright but not very bright.  Brightlevels are not the normal levels.  Very dim.

looking at this DSDT to compare with SSDT-PNLF

 

Did not have this problem until High Sierra and then Mojave.  

During boot up, onscreen this message:

 

ACPI: Executed 5 Blocks of module-level executable AML code

ACPI: Warning Truncated 64 bit constant in 32 bit table: fffffffffffffff0 => fffffff0 (20160930/dsobject) - 832

 

Tried many things.  AppleBacklight.kext, IntelBacklight.kext, AppleBacklightFixup.kext 

 

Thanks

 

9 hours ago, apianti said:

 

Weird...

 

 

Is that disabled EFI entry the same disk as arch or a different one? I wonder what the load options variables actually look like, maybe there is a mistake or something else. The ScanPolicy is not affecting what is being shown? That seems to contradict the documentation. I think I linked you previously how to change the entries, did I not? You can also just find it in the documentations.

 

The documentation says how to rename with .contentDetails, etc:


2. How to customise boot entries?
OpenCore follows standard Apple Bless model and extracts the entry name from .contentDetails and .disk_label.contentDetails files in the booter directory if present. These files contain an ASCII string with an entry title, which may then be customised by the user.

 

Ok i have renamed my entry on my laptop and it shows Arch Linux correctly without any modifications to config.plist. Arch still does not boot with OC. I am wondering if it is because i have my dGPU disabled for macOS?

 

config.plist

  • Like 1
35 minutes ago, SavageAUS said:

Ok i have renamed my entry on my laptop and it shows Arch Linux correctly without any modifications to config.plist. Arch still does not boot with OC. I am wondering if it is because i have my dGPU disabled for macOS?

 

config.plist

Such issues are usually caused by incompatible Booter Quirk set (e.g. RebuildAppleMemoryMap, ProtectUefiServices, SyncRuntimePermissions, ProtectMemoryRegions, etc.). You should also make sure that your ACPI tables contain nothing bad. See this issue for some relevant information:

https://github.com/acidanthera/bugtracker/issues/491

  • Thanks 1
30 minutes ago, vit9696 said:

Such issues are usually caused by incompatible Booter Quirk set (e.g. RebuildAppleMemoryMap, ProtectUefiServices, SyncRuntimePermissions, ProtectMemoryRegions, etc.). You should also make sure that your ACPI tables contain nothing bad. See this issue for some relevant information:

https://github.com/acidanthera/bugtracker/issues/491

Thanks @vit9696 that helped...kinda

I made some changes based on https://opencore.slowgeek.com/ <--- not sure how accurate it is.

Windows 10 & Arch Linux boot 100% fine but now macOS will not boot.

I made quite a few changes so now i need to go back 1 by 1 and see which one will bring back macOS booting and keep Arch booting as well.

non booting config.plist

config.plist

Edited by SavageAUS

First of all, congratulations to all OpenCore's team.

 

Awesome work!

 

Well, there's a lot of changes in 0.5.9, but to me some was specially usefull:

  • Removed HideSelf by pattern recognising BOOTx64.efi
  • Fixed warnings for empty NVRAM variables (e.g. rtc-blacklist)
  • Added partial hotkey support to OpenCanopy (e.g. Ctrl+Enter)
  • Improved playback performance in AudioDxe
  • Added first-class Windows support to bless model

 

So, thanks to all hard work and enjoy vacations!

Edited by Maf3r0
×
×
  • Create New...