No sound from laptop speakers and mic not working too in Linux 5.10.3.arch1-1

I tried switching to the Zen kernel instead:

Linux 5.10.3-zen1-1-zen x86_64

But there’s still no audio for me. My GPU problem persists as well from here: https://forum.endeavouros.com/t/unable-to-use-nvidia-gpu-optimus-manager-in-linux-5-9-14-arch1-1/10944/3