acidanthera / bugtracker

Acidanthera Bugtracker
385 stars 44 forks source link

ASSERT: `8gEfiDpcProtocolGuid` #2161

Closed betapictoris closed 1 year ago

betapictoris commented 1 year ago

Issue

OpenCore crashes before the boot prompt when using the "debug" build after printing this error:

03:410 00:029 ASSERT [DpcDxe] Dpc.c(320): &gEfiDpcProtocolGuid already installed in database

Although, when using the "release" build this does not happen.

Details

Host: Surface Laptop 3
CPU: Intel i5-1035G7 (8) @ 3.700GHz (Ice Lake)
GPU: Intel Iris Plus Graphics G7
Memory: 8GBs
OpenCore version: 0.8.6 (DEBUG)

OpenCore log EFI tree

khronokernel commented 1 year ago

Doesn't this just mean your firmware already includes the DPC protocol?

Thus it is asserting as it should on debug variants, your system already has DPC protocol bundled with it.

mikebeaton commented 1 year ago

You appear to have loaded new drivers mentioned in SampleCustom.plist - added by https://github.com/acidanthera/OpenCorePkg/commit/7e69946021c8d8662dc9fb55b51ca90b7b84ce60 - which you do not need.

betapictoris commented 1 year ago

Doesn't this just mean your firmware already includes the DPC protocol?

Thus it is asserting as it should on debug variants, your system already has DPC protocol bundled with it.

You appear to have loaded new drivers mentioned in SampleCustom.plist - added by acidanthera/OpenCorePkg@7e69946 - which you do not need.

Thank you! I've removed DPC now.

mikebeaton commented 1 year ago

I would remove all of those new drivers mentioned in that commit, btw, you do not need any of them - SampleCustom.plist is not a place from which to take new changes whole, it shows how things might be configured, if you need them. You need to understand or research whether you do need them.