KDE plasma audio settings is flickering and glitching out while Resolve is running

This has been reported by multiple people with both NVidia and AMD GPUs: with DaVinci Resolve 20.3.2 (for me it’s Studio version), audio output fails (not a file issue), and the KDE Plasma audio settings (both taskbar widget and settings page) are flickering extremely quickly (maybe 10-15Hz).

Weirdly enough, plugging in a microphone to the PC fixes the issue immediately (flickering is gone, and Resolve audio plays fine).

Based on other distro discussion, this doesn’t occur on Nobara latest version, so it seems to be CachyOS specific.

My paste log: https://paste.cachyos.org/p/9b7812d.log

Other person experiencing the issue (and who found the mic workaround)

I found a workaround that doesn’t involve a physical mic: run the following command to create a virtual mic.

There is another workaround to plugging in a physical microphone: create a virtual one in Konsole before launching Resolve (or even afterwards). Just run the below. This fixes the issue but needs to be done each time.

pw-loopback --capture-props=‘media.class=Audio/Sink node.name=Virtual_Speaker node.description=“Virtual Speaker”’ --playback-props=‘media.class=Audio/Source
node.name=Virtual_Mic node.description=“Virtual Microphone”’