beidl Posted August 5, 2020 Share Posted August 5, 2020 (edited) 18 hours ago, vit9696 said: AppleALC implements TCSEL reset register functionality (named as ResetHDA in Clover) via alctcsel boot argument or alctcsel device property. Just inject alctcsel <01 00 00 00> into HDEF or pass alctcsel=1 via boot-args, and it should work. To debug this you can always check for "updating TCSEL register" line in the joint Lilu/AppleALC log by adding -liludbgall liludump=60 arguments and then inspecting /var/log/Lilu_x.x.x.txt file after booting macOS and waiting for 60 seconds for the file to save. Thanks for the hints, though it doesn't seem to be enough. The issue with my audio chipset is that it either runs in HDA or I2S mode, and booting macOS repeatedly results in audio only working the first time. I'd assume it would run in either mode reproducibly, but it doesn't. What APCI _REV value does Darwin run with? I know for a fact that Linux/Ubuntu now forces _REV 2 (not overridable via acpi_rev_override) for it to stay in HDA mode. Also, I've been running with HPET patches in ACPI but they don't seem to change the situation. In most cases where audio doesn't work anymore the PCI device disappears from Hackintool, leading me to believe the device falls off the bus completely, causing alctcsel not to trigger (can't verify though as the Lilu debugging args don't seem to drop logs at /var/log for me). To fix audio I have to boot into Ubuntu twice. The second time HDA mode is used successfully. Then booting macOS works until the next reboot. Edited August 5, 2020 by beidl Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733279 Share on other sites More sharing options...
syn909 Posted August 6, 2020 Share Posted August 6, 2020 (edited) UPDATE: All fixed just needed to disable CFG Lock! With the latest version of Geekbench 5.2.3 released 8/5/20 my system is crashing on the last step "machine learning" its a total freeze and I have to manually reboot it with the power key. Tried with 0.5.8 and 0.6.0. Anyone else having this same problem? Edited August 6, 2020 by syn909 update Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733303 Share on other sites More sharing options...
Gigamaxx Posted August 6, 2020 Share Posted August 6, 2020 59 minutes ago, syn909 said: With the latest version of Geekbench 5.2.3 released 8/5/20 my system is crashing on the last step "machine learning" its a total freeze and I have to manually reboot it with the power key. Tried with 0.5.8 and 0.6.0. Anyone else having this same problem? No it works for me. Geekbench 5.2.3 with Big Sur beta 4 Ryzen 3900X. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733311 Share on other sites More sharing options...
vit9696 Posted August 6, 2020 Share Posted August 6, 2020 @beidl, AppleACPIPlatform uses ACPICA, so it should return 2. https://github.com/acpica/acpica/blob/fe061f034dcc521f980d8aa00b4139611d3a2ada/documents/changes.txt#L3474-L3476 https://github.com/acpica/acpica/blob/fe061f034dcc521f980d8aa00b4139611d3a2ada/documents/changes.txt#L3551-L3555 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733316 Share on other sites More sharing options...
beidl Posted August 6, 2020 Share Posted August 6, 2020 6 hours ago, vit9696 said: @beidl, AppleACPIPlatform uses ACPICA, so it should return 2. https://github.com/acpica/acpica/blob/fe061f034dcc521f980d8aa00b4139611d3a2ada/documents/changes.txt#L3474-L3476 https://github.com/acpica/acpica/blob/fe061f034dcc521f980d8aa00b4139611d3a2ada/documents/changes.txt#L3551-L3555 So the decision to switch to HDA/I2S is done by the embedded controller, is there any subtle difference between OpenCore and Clover in handling the EC? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733356 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 (edited) Пытаюсь установить Big Sur на Asus x99 Deluxe + e5 2640v3. OpenСore 060. На фото остановился, попробовал fakesmc - тоже самое. В чем может быть проблема? Спасибо за помощь! config.plist Edited August 6, 2020 by Антико Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733368 Share on other sites More sharing options...
vit9696 Posted August 6, 2020 Share Posted August 6, 2020 3 hours ago, beidl said: So the decision to switch to HDA/I2S is done by the embedded controller, is there any subtle difference between OpenCore and Clover in handling the EC? OpenCore does not approach the EC anyhow, likely Clover also does not, at least not from what I know. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733369 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 (edited) 1 hour ago, Антико said: Пытаюсь установить Big Sur на Asus x99 Deluxe + e5 2640v3. OpenСore 060. На фото остановился, попробовал fakesmc - тоже самое. В чем может быть проблема? Спасибо за помощь! config.plist Don't run FakeSMC.kext only WirtualSMC.kext, Lastest OC, Lastest kext and boot arguments vsmcgen=1 try problem see fixed. Edited August 6, 2020 by xKaoSx Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733370 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 2 minutes ago, xKaoSx said: Не запускайте FakeSMC.kext, только WirtualSMC.kext, Lastest OC, Lastest kext и аргументы загрузки vsmcgen = 1 попробуйте исправить проблему. I tried with virtualsmc, and arguments were written - so far without result config.plist Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733371 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 14 minutes ago, Антико said: I tried with virtualsmc, and arguments were written - so far without result config.plist Update OC 0.6.0 Release. Delete FakeSMC.kext and install VirtualSMC.kext Update all kext Open config OpenCore Configurator and go to Kernel Tab delete FakeSMC kext and add VirtualSMC.kext. Go to NVRAM Tab and 7C436110-AB2A-4BBB-A880-FE41995C9F82 UUID go Bootargs change "vsmcgen = 1" "vsmcgen=1" and try. Maybe change "vsmcgen=2" try. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733372 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 27 minutes ago, xKaoSx said: Обновление выпуска OC 0.6.0. Удалите FakeSMC.kext и установите VirtualSMC.kext Обновить весь кекст Откройте config OpenCore Configurator и перейдите на вкладку Kernel, удалите FakeSMC kext и добавьте VirtualSMC.kext. Перейдите на вкладку NVRAM и 7C436110-AB2A-4BBB-A880-FE41995C9F82 UUID перейдите в Bootargs, измените "vsmcgen = 1" "vsmcgen = 1" и попробуйте. Может поменять "vsmcgen = 2" попробовать. No difference. Everything is already updated on OC 0.6.1., everything is updated, the error persists. I try to install from a flash drive, and from under Catalina - the result is the same Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733375 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 6 minutes ago, Антико said: No difference. Everything is already updated on OC 0.6.1., everything is updated, the error persists. I try to install from a flash drive, and from under Catalina - the result is the same Share to EFI folder Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733378 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 (edited) 6 минут назад xKaoSx сказал: Поделиться в папку EFI Спасибо, возможно, вы увидите то, чего не видел я. EFI.zip opencore-2020-08-06-170634.txt Edited August 6, 2020 by Антико Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733379 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 26 minutes ago, Антико said: Спасибо, возможно, вы увидите то, чего не видел я. EFI.zip opencore-2020-08-06-170634.txt Disable DSDT.aml and try again. What is your system parts ? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733383 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 6 minutes ago, xKaoSx said: Отключите DSDT.aml и попробуйте еще раз. Какие части вашей системы? I've tried it before - the result is the same. Asus x99 Deluxe, E5-2640 v3, GTX 770, ssd 860 evo Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733385 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 Follow this guide https://dortania.github.io/OpenCore-Install-Guide/config.plist/legacy/sandy-bridge.html https://dortania.github.io/OpenCore-Install-Guide/config.plist/legacy/sandy-bridge-e.html Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733386 Share on other sites More sharing options...
ANTIKO Posted August 6, 2020 Share Posted August 6, 2020 7 minutes ago, xKaoSx said: Следуйте этому руководству https://dortania.github.io/OpenCore-Install-Guide/config.plist/legacy/sandy-bridge.html https://dortania.github.io/OpenCore-Install-Guide/config.plist/legacy/sandy-bridge-e.html If you disable dsdt , I get a kernel panic. I'll try your links tomorrow. Thank you for your time Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733388 Share on other sites More sharing options...
xKaoSx Posted August 6, 2020 Share Posted August 6, 2020 10 minutes ago, Антико said: If you disable dsdt , I get a kernel panic. I'll try your links tomorrow. Thank you for your time Install NullCPUPowerManagament.kext Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733389 Share on other sites More sharing options...
beidl Posted August 6, 2020 Share Posted August 6, 2020 2 hours ago, vit9696 said: OpenCore does not approach the EC anyhow, likely Clover also does not, at least not from what I know. I rechecked the Ubuntu dmesg and noticed it forces _REV to 5, I got it backwards. I assume I'd have to hot-patch AppleACPIPlatform now to return 5 instead too, but I'm afraid I don't know how to find the actual binary data in order to replace it, I'm not that familiar with reverse engineering in that way. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733392 Share on other sites More sharing options...
syn909 Posted August 6, 2020 Share Posted August 6, 2020 (edited) With 10.15.6 I needed to unlock the MSR in my bios otherwise my machine would freeze running Geekbench however without the Kernel Quirk: AppleXcpmCfgLock the machine is slow and wont resume from sleep. Anyone have any suggestions on what to patch in the bios. Edited August 7, 2020 by syn909 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733394 Share on other sites More sharing options...
pkdesign Posted August 6, 2020 Share Posted August 6, 2020 Not sure where to post this, but AirportBrcmFixup breaks my wireless. Reverting back to 2.0.7 makes it work again. More details here: https://www.insanelymac.com/forum/topic/336089-airportbrcmfixup/?do=findComment&comment=2733233 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733424 Share on other sites More sharing options...
Matgen84 Posted August 7, 2020 Share Posted August 7, 2020 6 hours ago, pkdesign said: Not sure where to post this, but AirportBrcmFixup breaks my wireless. Reverting back to 2.0.7 makes it work again. More details here: https://www.insanelymac.com/forum/topic/336089-airportbrcmfixup/?do=findComment&comment=2733233 AirportBrcmFixUp 2.0.8 are two drivers inside: for Big Sur, you have to load only Brcm NIC using boot-args. See Readme file in AirportBrcmFixUp repo: something like that: Brcmfx-driver=2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733452 Share on other sites More sharing options...
beidl Posted August 7, 2020 Share Posted August 7, 2020 @vit9696 So I decided to go ahead and patch the AppleACPIPlatforms AcpiGbl_PreDefinedNames table to return 5 instead of 2 for _REV, to no success. My approach: Find: 1E8HAAAAAAABAAAAAAAAAAIAAAAAAAAA Replace: 1E8HAAAAAAABAAAAAAAAAAUAAAAAAAAA Any other hints I could follow? My guess is that ResetHDA works in Clover because there's nothing being able to query _REV at the point where the device is being reset. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733462 Share on other sites More sharing options...
kaoskinkae Posted August 7, 2020 Share Posted August 7, 2020 rename preboot on boot in opencore in big sur beta 4 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733481 Share on other sites More sharing options...
pkdesign Posted August 7, 2020 Share Posted August 7, 2020 (edited) 10 hours ago, Matgen84 said: AirportBrcmFixUp 2.0.8 are two drivers inside: for Big Sur, you have to load only Brcm NIC using boot-args. See Readme file in AirportBrcmFixUp repo: something like that: Brcmfx-driver=2 I'm still on Mojave and have fixed my issue. See link: I am sure there is a better way but this works. EDIT: I went back through and tried -brcmfx-driver=0|1|2|3 respectively without using a fake device-id and it did not work. With fake device-id and no boot arg it works just fine (this is installation option 2 in README) I am on Mojave (see signature) if that makes a difference. Edited August 7, 2020 by pkdesign 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/229/#findComment-2733512 Share on other sites More sharing options...
Recommended Posts