Reset NVRAM and SMC

NVRAM
Turn off, turn on, immediately press these 20 seconds:
macos-nvram-p-key
Computer restarts few times during this operation.

SMC
Shut down and unplug power. Hold the Shift, Option, and Control keys on the left side and press the power button and hold keys for 10 seconds, then release.
shif