I'm using a monitor with speakers plugged into my laptop. The audio works fine so long as it is playing, but after the client that is playing the audio disconnects, the audio on my laptop stops working altogether (although the audio output remains unchanged).
To get sound working again I can open settings and change the audio output to Internal Speakers, and the back to HDMI.
Any ideas? It seems related to Pulse Audio and perhaps the timeout for connected audio clients? I'm not sure where to even begin debugging this one, so any info would be appreciated!
Nope, I bought the laptop and gave Windows the boot immediately.
I'm going to try killing pulseaudio and bring it up in a console and see if I can get some info as to what's happening.
I'll report back here. I'm starting to think it's related to the dock and/or monitor I'm using. What's odd is if I use the audio "self test" on the monitor (firmware) and quit out of it, it no longer seems to kill the sound, although even that workaround isn't 100% reliable.
That's odd, stumped me.. My issues were Win taking over the sound bus through a restart; full shutdown in Win solves it but, probably not that. I did have same similar issue on another laptop - had to boot a Win installer then shutdown, sound came back.. Weird, it would work on boot but then fade out with a weird squeal.
Hope you get it figured out though - sorry wasn't much help!
One REALLY strange this is that when this issue happens, if I perform the internal monitor self test, which plays a tone, when it completes the audio comes back immediately.
I tried playing a YouTube video, and once I did the self test I could hear the already-playing video.
I'm starting to wonder if this is a monitor issue? It's an HP Omen 27" qs (new this month). I can't fathom how there's even communication to the OS when I do a self-test on the monitor.
Is it a monitor with integrated speakers? If so, I'm not an expert on cables and input/output methods but I suppose you need an audio cable to plug your computer to the external monitor.
If HDMI, there are different HDMI cables, some sub-equipped, some directional. Maybe try another HDMI cable.
I have always used the Zorin "Speaker Test" to confirm audio output when I had my sound problems.
Zorin>Settings>Sound and find it. Just click on speaker and a voice will announce e.g. "Top Left" etc.
I've tried it numerous ways to help isolate where the issue is. This particular behavior seems to be tied to using DisplayPort. There was a hub in between, but I've eliminated that to keep it as simple as possible.
Here's what I tested:
A/V over DisplayPort using Linux Mint: Audio drops out after a few seconds of silence (same as Zorin)
A/V over DisplayPort using MacOS: Audio does NOT drop out
A/V over HDMI on Zorin: Audio does NOT drop out
Based on the above, it's not specific to Zorin, and is related to audio over DisplayPort, and does not appear to be an issue with the monitor itself (at least not directly).
I'm going to keep cracking at it, but if anyone has any ideas based on this new info, please chime in, thanks!
I recognise there seems to be more issues when displayport connections are used compared with HDMI. But HDMI can be prone to issues if incorrect cable is used or used in wrong direction (directional cable).