Discord client laggy for the past few updates
For the past couple of months, the Discord client (from the AUR package) has been behaving uncharacteristically poorly. Specifically, things like scrolling, typing, gifs rendering, all that nice stuff in the main window renders at very low framerates. I've tried a few things, and I'm hitting a brick wall.
One thing I noticed is that it gets better when I make the client much smaller. This suggest to me its purely a rendering issue, but I'm not sure how to troubleshoot it. Notably, the web client has no issues.
System specs:AMD Ryzen 7 2700X Eight-Core @ 16x 3.7GHz
16GB DDR4 RAM
512GB NVME M.2 SSD
AMD RX 480 (8GB)
Software:
Awesome Window Manager
amdgpu as my gpu driver, /etc/X11/20-amdgpu.conf looks like:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
EndSection
Kernel parameters:
quiet amd_iommu=on iommu=pt sysrq_always_enabled=1 default_hugepagesz=1G hugepagesz=1G hugepages=8
I run a Windows VM occasionally for gaming through libvirt and PCI passthrough for a second graphics card, though I think it's perhaps not relevant to this, as the VM is off most of the time including when this happens.
This has happened between two separate Arch installs on this PC, not sure what I'm doing wrong.
Any further information available on request. Any assistance in troubleshooting is greatly appreciated. If there's a better place to post this, I'm open to that as well. Just trying to get to the bottom of this.
Edit: I tried a live CD of Manjaro with the same issue. (I'm running Arch on my system, but since it would be 'pre set up' as a live CD, I tested that) and it was still laggy.
Edit: I tried an Ubuntu live CD using the snap package and that didn't lag. Hmm
Posted Mar 29, 2019, 7:52 PM UTC · edited
Are you running a native discord or in the VM? I too am having lag issues with discord, I find if I am using the flatpak of discord its worse than the snap, and I'm not using arch so I'm going to guess its a discord problem itself.
I too have a ryzen and an AMD gpu.
Native Discord, the VM is typically off. Naturally, when I run Discord in the VM I have no problems, hah.