What could be useful is to collect some information when your PC audio is working, and then also collect some information when your PC audio is not working. And then compare the two pieces of information.
I propose when your PC audio is working, with your PC connected to the internet, in a terminal/bash shell, run the following diagnostic script which collects audio information and uploads it to the Internet to permit sharing of the information:
/usr/sbin/alsa-info.sh
select the UPLOAD/SHARE option and let the script run to completion. When completed it will give you a website/URL location where the information is located. Post that link here in this thread.
Also when your PC audio is working, run the following command in a terminal to see what audio applications are using your sound devices:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
that will establish a baseline when audio works. You may get something like:
lsof: status error on /dev/dsp*: No such file or directory
lsof: status error on /dev/audio*: No such file or directory
lsof: status error on /dev/mixer*: No such file or directory
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 4383 oldcpu 22u CHR 116,9 0t0 9657 /dev/snd/controlC0
pulseaudi 4383 oldcpu 27u CHR 116,9 0t0 9657 /dev/snd/controlC0
pulseaudi 4383 oldcpu 33u CHR 116,3 0t0 6649 /dev/snd/controlC1
copy that content here also.
Then wait until audio stops working.
When audio stops working do the same again , … ie with your PC connected to the internet, in a terminal/bash shell, run the following diagnostic script which collects audio information and uploads it to the Internet to permit sharing of the information:
/usr/sbin/alsa-info.sh
select the UPLOAD/SHARE option and let the script run to completion. When completed it will give you a website/URL location where the information is located. Post that link here in this thread.
Also when your PC audio is NOT working, run the following command in a terminal to see what audio applications are using your sound devices:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
again post the output here. Then we can compare the content of the two (ie when audio is working to when audio is not working).