Recently I'm having an issue for which audio crackles when I run VirtualBox in Ubuntu 20.04.
If I then execute pulseaudio -k
it does fix it (upon restarting programs), but still this workaround is not great.
Sometimes (much rarely though) this also happens without opening VirtualBox, just by watching a video on Firefox.
I currently have the HWE kernel 5.8.0-59-generic #66~20.04.1-Ubuntu
and my audio system is the onboard analog device as following (aplay --list-device
):
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
And this is what reported by lspci -v
:
10:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASRock Incorporation Starship/Matisse HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 135
Memory at fcb00000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Not sure what to do next? How could I debug/investigate this further?
Thanks!