I'll preface and say that I don't have audio issues with any other application. When on a call in Discord, sounds gets really crackly and unpleasant. I've been told that my microphone comes across a little crackly too. This happens with my wireless headset and the built-in microphone/speakers on my laptop. I will note that I have not tried DiscordCanary as of now.
My machine is:
- Lenovo ThinkPad P1 Gen 2
- Nvidia Quadro T2000
- Running
nvidia-driver-515
- Ubuntu 22.10 (have had this issue on 20.04 as well)
- KDE Plasma 5.27 (So KUbuntu)
- Using pulseaudio (have also tried using pulse with pipewire, but was only slightly better)
I have seen a few various posts suggesting i make edits to /etc/pulse/default.pa
and /etc/pulse/daemon.conf
changing sampling rates, priority, real-time scheduling, adding tsched=0, etc. but nothing has seemed to resolve it.
I have noticed that the issue is only barely present when using just the built-in display, and gets worse as I add other monitors (in total, 3 displays run at most). Running OBS exacerbates the issue and makes Discord actually lag behind on microphone input. It could be several seconds behind that it actually picks things up. The issue also gets worse when moving the mouse or maybe also when video is being played back at the same time, so it really seems like a graphics driver issue (which as I understand it, Linux doesn't always play nice with Nvidia).
This ultimately led me to try forcing discrete graphics on my machine, which honestly was the closest to perfect I was able to get, I just then had weird scaling issues with the desktop environment that made the system hard to work with.
I guess the moral of the story, and the question at hand, is: Is there a way I can get Discord to cooperate properly with KUbuntu? If I can resolve this by changing something with graphics drivers, audio configuration, etc, that would be great! If not... do I distro hop somewhere else? I really do enjoy the user experience of KDE/Kubuntu, but I do enough with Discord that this has been getting really old, really quick.
I appreciate any insight or direction you might be able to provide.