Dummy audio output, sometimes after reboot i get the audio, but then the WIFI doesn't work

Yesterday everything worked fine. Today when I started my laptop* I had no audio, but didn’t notice until later. Output was set to dummy. I restarted the system and then I got audio back, however I lost wifi. After another restart I am here, with wifi, and no audio.

*ThinkPad E14 Gen 2, AMD Ryzen 4500U, 16GB RAM, kernel 5.13.11-1

UPDATE: After posting this, I turned off the computer. Later when I had to fetch some files, it worked fine, audio and wifi. Considering only thing that changed between then and now is that I moved the laptop, maybe it’s a loose connector? I’ll open it up later.

Hi @scientist1412 ,
Welcome to the forum!!

I wonder whether this link could help you in order to solve the problem.

PulseAudio/Troubleshooting - ArchWiki