Thank you, but I don’t really know if this is related, as my problem is not with startup but with waking up.
This other thread might be more related: Plasma 6.2: Black screen on wakeup
I even commented there, and I hope the fix they are talking about will solve my problem too.