When I am on a VOIP call, using Zoom, or listening to music through Clementine or Spotify, the audio source will randomly change from my speakers to the USB headset, or to HDMI audio output for about 5 seconds and then it switches back to the defined sound source. And it will randomly change from the USB headset to the speakers or HDMI sound source so it's happening in both directions. It happens about every ten minutes or so.
I have also disabled HDMI audio output in System Settings > Audio > Advanced by setting it to "off" but it will randomly turn on again as a sound source even after turning it off.
This is something I've had issues with for the last few years on two different computers with kernels 4.19, 5.2, and now 5.4 so I don't think the kernel version is the issue.
This computer has an AMD graphics card but the other computer with the same issue has an NVIDIA card so I don't think it's the graphics cards either.
I searched the forums and everywhere I could online and this issue can't be found to my knowledge with random audio source switching in Plasma.
This is happening with different motherboard manufacturers, MSI on this computer and Gigabyte on the other both with Ryzen processors but different video cards.
Any help appreciated.
Below is inxi -Fx with all three sound sources activated.
System: Host: 3600 Kernel: 5.4.36-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: KDE Plasma 5.18.4 Distro: Manjaro Linux Machine: Type: Desktop System: Micro-Star product: MS-7C02 v: 1.0 serial: <root required> Mobo: Micro-Star model: B450 TOMAHAWK (MS-7C02) v: 1.0 serial: <root required> UEFI: American Megatrends v: 1.D0 date: 11/07/2019 Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360 charge: 100% (should be ignored) status: Discharging CPU: Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86425 Speed: 3592 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 3144 2: 1963 3: 2066 4: 2072 5: 1956 6: 3716 7: 2063 8: 2070 9: 2951 10: 2104 11: 1956 12: 3702 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Gigabyte driver: amdgpu v: kernel bus ID: 26:00.0 Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1920x1200~60Hz OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.35.0 5.4.36-1-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.0.6 direct render: Yes Audio: Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 26:00.1 Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 28:00.4 Device-3: Logitech Headset H390 type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-2.4.1:9 Sound Server: ALSA v: k5.4.36-1-MANJARO Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus ID: 22:00.0 IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: 00:d8:61:fd:4f:15 IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A Drives: Local Storage: total: 931.51 GiB used: 117.13 GiB (12.6%) ID-1: /dev/nvme0n1 model: Sabrent Rocket Q size: 931.51 GiB Partition: ID-1: / size: 898.63 GiB used: 109.59 GiB (12.2%) fs: ext4 dev: /dev/nvme0n1p2 ID-2: swap-1 size: 17.21 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3 Sensors: System Temperatures: cpu: 49.1 C mobo: N/A gpu: amdgpu temp: 30 C Fan Speeds (RPM): N/A gpu: amdgpu fan: 819 Info: Processes: 298 Uptime: 3h 28m Memory: 15.65 GiB used: 3.23 GiB (20.6%) Init: systemd Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 inxi: 3.0.37