Jobe5150 Posted October 23, 2019 Share Posted October 23, 2019 (edited) Hi all! I was wondering if anyone can help me out with 2 issues: I'm using a Dell 3521 i5-3317u Ivy I have open core installed and working so far, but I'm breaking down my issues and cleaning things up. My keyboard and trackpad don't work, and if I do get them to work my trackpad buttons do not work. Here is my config. Thanks for looking at my post! config.plist Edit: Sorry, have Catalina installed. Edited October 25, 2019 by Jobe5150 Link to comment Share on other sites More sharing options...
ameenjuz Posted October 23, 2019 Share Posted October 23, 2019 2 hours ago, Andres ZeroCross said: Use this,, your system will be sleep well.. DSDT.aml sleep worked fine how Can i fix this place when I add If_OSI patch in _CRS METHOD OF TPD0 always Maciasl shows me a error just I experience whenever if my DSDT lost then I patch from start. just I m testing on clean DSDT Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted October 23, 2019 Share Posted October 23, 2019 2 minutes ago, anmool said: sleep worked fine how Can i fix this place when I add If_OSI patch in _CRS METHOD OF TPD0 always Maciasl shows me a error just I experience whenever if my DSDT lost then I patch from start. just I m testing on clean DSDT It's Out Of Topic, this thread just for OpenCore Link to comment Share on other sites More sharing options...
ameenjuz Posted October 23, 2019 Share Posted October 23, 2019 4 minutes ago, Andres ZeroCross said: It's Out Of Topic, this thread just for OpenCore I know I m asking for OpenCore I m testing your applied patches in my clean DSDT Link to comment Share on other sites More sharing options...
iAstroboyid Posted October 24, 2019 Share Posted October 24, 2019 I have Asus TUF 570x Ryzen3900x with 5700 xt. Able to boot with clover Catalina 10.15. Wanted to try 5700 xt with Beta 2. I need to wait for the AMD patch for 10.15.1 with clover. I tried opencore , I think I added the patch incorrectly. Send me iRyzen3900xs-iMac AMDRyzen.zip Link to comment Share on other sites More sharing options...
Leoyzen Posted October 24, 2019 Share Posted October 24, 2019 Opencore will not boot when using kvm and qemu topology(smp) and newer model rather than Penryn. I digging in the code found that: 1. when cpu model is Penryn, then occpu will not lookup msr 0x35 but cpuid to get correct cpu topology 2. when cpu model is not Penryn, occpu will lookup msr 0x35 to get correct info, but QEMU/KVM do not have a msr node 0x35, it will show "1 cores 1threads" which make the xnu cpu panic. I think it would be better check cpu model Penryn or "Hypervisor Present Bit:Bit 31 of ECX of CPUID leaf 0x1" (which is the feature "hypervisor" QEMU passthrough, from here), then get the topology from cpuid instead of msr 0x35. The code snippet related: // or maybe we should also check "hypervisor" cpuid if (Cpu->MaxId >= CPUID_CACHE_PARAMS && Cpu->Model <= CPU_MODEL_PENRYN) { AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &CpuidCacheEax.Uint32, &CpuidCacheEbx.Uint32, NULL, NULL); if (CpuidCacheEax.Bits.CacheType != CPUID_CACHE_PARAMS_CACHE_TYPE_NULL) { CoreCount = (UINT16)GetPowerOfTwo32 (CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1); if (CoreCount < CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1) { CoreCount *= 2; } Cpu->CoreCount = CoreCount; // // We should not be blindly relying on Cpu->Features & CPUID_FEATURE_HTT. // On Penryn CPUs it is set even without Hyper Threading. // if (Cpu->ThreadCount < Cpu->CoreCount) { Cpu->ThreadCount = Cpu->CoreCount; } } } else if (Cpu->Model == CPU_MODEL_WESTMERE) { Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT); Cpu->CoreCount = (UINT16)BitFieldRead64 (Msr, 16, 19); Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0, 15); } else { Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT); Cpu->CoreCount = (UINT16)BitFieldRead64 (Msr, 16, 31); Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0, 15); } The oc log LEFT: using QEMU and Penryn with topology/smp set . RIGHT: using QEMU topology and IvyBridge,: Link to comment Share on other sites More sharing options...
dgsga Posted October 24, 2019 Author Share Posted October 24, 2019 (edited) Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with borked firmware. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks. Edited October 24, 2019 by dgsga Link to comment Share on other sites More sharing options...
Erroruser Posted October 24, 2019 Share Posted October 24, 2019 1 minute ago, dgsga said: Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with {censored} nvram implementation. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks. system preferences startup select drive Link to comment Share on other sites More sharing options...
dgsga Posted October 24, 2019 Author Share Posted October 24, 2019 3 minutes ago, errorexists said: system preferences startup select drive I've tried that many times... no joy Link to comment Share on other sites More sharing options...
mhaeuser Posted October 24, 2019 Share Posted October 24, 2019 @dgsga And you did read and follow the NVRAM emulation steps for Z390...? Link to comment Share on other sites More sharing options...
Leoyzen Posted October 25, 2019 Share Posted October 25, 2019 I have something weird, the inject kext (USBPorts.kext, FakePCIID.kext, FakePCIID_Intel_GBx.kext) not load at all, but according to the opencore debug log, the kext loads succuessfully. This blocks me switch from clover. opencore log 02:310 00:005 OCB: Matching <> args on type 1 0 02:315 00:004 OCC: Configuring behaviour 2 02:320 00:004 OCC: Setting cc mode 1 -> 1 02:326 00:006 OCABC: Only 246/256 slide values are usable! 02:331 00:004 OCABC: Valid slides - 10-255 02:337 00:006 OCC: Setting cc mode 1 -> 0 02:351 00:013 Trying XNU hook on System\Library\PrelinkedKernels\prelinkedkernel 02:362 00:011 Kext reservation size 8572928 02:816 00:453 Result of XNU hook on System\Library\PrelinkedKernels\prelinkedkernel is Success 02:832 00:016 OC: Read kernel version 19.0.0 (190000) 02:838 00:005 OCAK: algrey - cpu_topology_sort -disable _x86_validate_topology replace count - 1 02:843 00:004 OC: Kernel patcher result 0 for kernel (algrey - cpu_topology_sort -disable _x86_validate_topology) - Success 02:868 00:024 OCAK: PanicKextDump replace count - 1 02:872 00:004 OCAK: Patch success kext dump 02:920 00:047 OC: Prelink injection Lilu.kext () - Success 02:938 00:017 OC: Prelink injection VirtualSMC.kext () - Success 02:956 00:018 OC: Prelink injection WhateverGreen.kext (Video card) - Success 02:970 00:014 OC: Prelink injection FakePCIID.kext () - Success 02:986 00:016 OC: Prelink injection AppleALC.kext (Sound) - Success 02:991 00:004 OC: Prelink injection MCEReporterDisabler.kext () - Success 02:996 00:004 OC: Prelink injection FakePCIID_Intel_GbX.kext () - Success 03:008 00:011 OC: Prelink injection NullCPUPowerManagement.kext () - Success 03:012 00:004 OC: Prelink injection AGPMInjector.kext () - Success 03:026 00:013 OC: Prelink injection SMCSuperIO.kext () - Success 03:039 00:013 OC: Prelink injection SMCProcessor.kext () - Success 03:044 00:004 OC: Prelink injection USBPorts.kext () - Success 03:069 00:025 OC: Prelink injection SmallTreeIntel8259x.kext () - Success 03:099 00:030 Prelinked status - Success 03:120 00:020 OC: OcAppleGenericInputTimerQuirkExit status - Success 04:156 01:036 OC: OcAppleGenericInputKeycodeExit status - Success kextstat says there is no fakepciid.kext loaded: I checked multiple times that the config is set correctlly. Attachment is my efi folder, please give some help to make it work fEFI.zipor me. Link to comment Share on other sites More sharing options...
Remington Posted October 25, 2019 Share Posted October 25, 2019 I'm running Catalina with OpenCore 0.51 on my Gene VIII. This is my first time using OC and can anyone check my config.plist to be sure the settings are correct for my system? I would like to keep the options to the minimum that works with my system. Thanks. config.plist Link to comment Share on other sites More sharing options...
justin Posted October 25, 2019 Share Posted October 25, 2019 On 10/25/2019 at 3:08 AM, dgsga said: Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with borked firmware. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks. you have to set ShowPicker=NO. Link to comment Share on other sites More sharing options...
vit9696 Posted October 25, 2019 Share Posted October 25, 2019 @Leoyzen, it is strange, and I would suggest you use kernel logs for tracing the issue. Add some debug code to FakePCIID init/probe/start methods and see what happens. Also check whether there is anything in the kernel log early at start. Side note: you may actually be ok with just injecting vendor-id/device-id through DeviceProperties. Link to comment Share on other sites More sharing options...
DaGr8Gatzby Posted October 25, 2019 Share Posted October 25, 2019 Hello all. I didn't see anything related to this when I hit search so I hope this helps. I've been AMD Hackintoshing with OpenCore and Vanilla Patches and I was not able to boot Windows out of the box. I solved this by adding an entry here: OpenCore version: 0.5.2 Misc > Entries The sample.plist config has a nice template if you use that. Here it is again for reference: Source: https://raw.githubusercontent.com/acidanthera/OpenCorePkg/cd8a046ce9920e5246a427e347f64ffe1ab63e2d/Docs/SampleFull.plist <array> <dict> <key>Arguments</key> <string></string> <key>Name</key> <string>CustomOS</string> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <false/> <key>Path</key> <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string> </dict> </array> Here is what I have modified: <key>Entries</key> <array> <dict> <key>Arguments</key> <string></string> <key>Name</key> <string>Windows 10</string> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <true/> <key>Path</key> <string>IDENTIFIER/\EFI\Microsoft\Boot\bootmgfw.efi</string> </dict> </array> Here is what the identifer looks like for my machine: <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,16-7D-50-71-53-38-25-00)/HD(1,GPT,094B0907-C4B8-48B1-8010-8BA5BF105D0E,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi</string> You can use gfxutil to grab this path, but the way I did it was to boot EFI shell and run the following command: *BOOT EFI SHELL* Shell> fs0: fs0:\> map > maps.txt I then mounted my ESP partition and was able to copy and paste the info into the plist file: I hope this helps somebody. Took me a bit of tries to get it working. 1 2 Link to comment Share on other sites More sharing options...
fangf2018 Posted October 26, 2019 Share Posted October 26, 2019 Sleep is automatically woken up log.txt Link to comment Share on other sites More sharing options...
Andrey1970 Posted October 26, 2019 Share Posted October 26, 2019 15 hours ago, DaGr8Gatzby said: Hello all. I didn't see anything related to this when I hit search so I hope this helps. I've been AMD Hackintoshing with OpenCore and Vanilla Patches and I was not able to boot Windows out of the box. I solved this by adding an entry here: OpenCore version: 0.5.2 Misc > Entries The sample.plist config has a nice template if you use that. Here it is again for reference: Source: https://raw.githubusercontent.com/acidanthera/OpenCorePkg/cd8a046ce9920e5246a427e347f64ffe1ab63e2d/Docs/SampleFull.plist <array> <dict> <key>Arguments</key> <string></string> <key>Name</key> <string>CustomOS</string> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <false/> <key>Path</key> <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string> </dict> </array> Here is what I have modified: <key>Entries</key> <array> <dict> <key>Arguments</key> <string></string> <key>Name</key> <string>Windows 10</string> <key>Comment</key> <string>Not signed for security reasons</string> <key>Enabled</key> <true/> <key>Path</key> <string>IDENTIFIER/\EFI\Microsoft\Boot\bootmgfw.efi</string> </dict> </array> Here is what the identifer looks like for my machine: <string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,16-7D-50-71-53-38-25-00)/HD(1,GPT,094B0907-C4B8-48B1-8010-8BA5BF105D0E,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi</string> You can use gfxutil to grab this path, but the way I did it was to boot EFI shell and run the following command: *BOOT EFI SHELL* Shell> fs0: fs0:\> map > maps.txt I then mounted my ESP partition and was able to copy and paste the info into the plist file: I hope this helps somebody. Took me a bit of tries to get it working. It becomes simply with BlessOverride. 4 Link to comment Share on other sites More sharing options...
moozuki Posted October 26, 2019 Share Posted October 26, 2019 On 10/21/2019 at 7:31 PM, moozuki said: 1. Holdover from Clover, sorry 2. My hardware NVRAM works just fine 3. SSDT-PLUG.aml was adjusted for my board 4. no way in BIOS 5. All my drives are SATA. Had to make USB installer and re-install Catalina to get it to boot again, not the best solution. It seems everytime I update kexts or OC , it gets the unable to load kernel cache error. Solved the problem! Had a bad copy of VirtualSMC. Link to comment Share on other sites More sharing options...
DaGr8Gatzby Posted October 26, 2019 Share Posted October 26, 2019 2 hours ago, Andrey1970 said: It becomes simply with BlessOverride. This did not work for me. I just tested it. I'm booting Windows and Catalina off of the same drive and I already tried setting HideSelf to False. The only way I was able to get boot working is with this entry, which is why I posted it. Good suggestion though! Link to comment Share on other sites More sharing options...
Andrey1970 Posted October 26, 2019 Share Posted October 26, 2019 12 minutes ago, DaGr8Gatzby said: This did not work for me. I just tested it. I'm booting Windows and Catalina off of the same drive and I already tried setting HideSelf to False. The only way I was able to get boot working is with this entry, which is why I posted it. Good suggestion though! ScanPolicy (bit 10) — OC_SCAN_ALLOW_FS_ESP, allows scanning of EFI System Partition file system. 2 Link to comment Share on other sites More sharing options...
n.d.k Posted October 26, 2019 Share Posted October 26, 2019 33 minutes ago, Andrey1970 said: ScanPolicy (bit 10) — OC_SCAN_ALLOW_FS_ESP, allows scanning of EFI System Partition file system. Custom Entries are the way to get your particular boot entry to show up, changing ScanPolicy to allow Scanning ESP is not a good idea, there's are potentially my drives and multiple EFI partitions from a system, it will pollute the boot menu with multiple additional unwanted entries. 1 Link to comment Share on other sites More sharing options...
Andrey1970 Posted October 26, 2019 Share Posted October 26, 2019 39 minutes ago, n.d.k said: Custom Entries are the way to get your particular boot entry to show up, changing ScanPolicy to allow Scanning ESP is not a good idea, there's are potentially my drives and multiple EFI partitions from a system, it will pollute the boot menu with multiple additional unwanted entries. If you have booter files on others ESP, means they to you are necessary. Otherwise why they there.) Link to comment Share on other sites More sharing options...
n.d.k Posted October 26, 2019 Share Posted October 26, 2019 According to your logic, i should put every app in my computer on the Dock, I am not sure if it's even possible...:) Link to comment Share on other sites More sharing options...
obus Posted October 26, 2019 Share Posted October 26, 2019 3 hours ago, DaGr8Gatzby said: This did not work for me. I just tested it. I'm booting Windows and Catalina off of the same drive and I already tried setting HideSelf to False. The only way I was able to get boot working is with this entry, which is why I posted it. Good suggestion though! Try this: ScanPolicy 722179 HideSelf -> NO. Works for me. Link to comment Share on other sites More sharing options...
DaGr8Gatzby Posted October 26, 2019 Share Posted October 26, 2019 4 hours ago, Andrey1970 said: ScanPolicy (bit 10) — OC_SCAN_ALLOW_FS_ESP, allows scanning of EFI System Partition file system. My ScanPolicy is currently set to 0. I was under the impression this enables all volumes. Is this no longer the case? Link to comment Share on other sites More sharing options...
Recommended Posts