I usually use my laptop with virtual audio along side my onboard audio source and inputs. This morning, I turned on my laptop like usual. My laptop turned on with the desktop audio “unavailable”. I had to reboot multiple times for the desktop audio source to re-establish/connect. What could be possibly going on? I thought it was conflicting with the virtual audio sources/inputs, so I have them disabled for now.
I am on Ubuntu 22.04 Batch 6. I’ve never had a problem with the onboard audio till now. The way I am utilizing the virtual audio source/input is as follows:
pactl load-module module-null-sink sink_name=virtmic sink_properties=device.description=Virtual_Microphone_Sink
pactl load-module module-null-sink sink_name=virtspk sink_properties=device.description=Virtual_Speaker
Whenever the issue occurs (which, from your description, seems like it happens more so than not?), perhaps try rebooting into a live ISO session of Ubuntu 22.04 as a quick sanity check, and/or maybe even try a live ISO of a completely different distro like Manjaro or Fedora?
If audio doesn’t work even right out-of-the-box in those live ISO sessions, then it can really only mean that it’s a hardware issue.
BTW if you don’t already know, Ventoy is your friend for booting live ISOs:
Yea I am aware of ventoy and it is an amazing tool. I think my laptop speaker is slowly dying… this started happening this morning and it keeps happening now. I have installed pavucontrol to see what is going on, all the available speaker profiles are “unavailable” under configuration. Imgur: The magic of the Internet
I am going to try and boot to a live instance to see if it is constant.
Speaker works with live preview. Might be a driver issue… how do I solve this? It’s intermittent
Backup your userspace stuff (documents, images, etc.), wipe and install a new.
Perhaps use Pavucontrol instead of the terminal to affect your audio state if possible. Going through the GUI should keep things cleaner and not permit the opportunity to bork something.
Now a true Linux guru might be able to walk you through performing surgery on the kernel and system files to get you good again but I think it would be faster for you to just start over.
Edit: I updated the thread title to help people who might be in a similar situation more easily find info on it.