You are not logged in.
I have been using Discord on Arch for a few months now and lately it has become very laggy. When I first start it, it's not so bad. It's not as snappy as what I was used to in my previous experiences with Ubuntu, but it's nothing to complain about.
However, after a couple hours the user interface becomes extremely laggy and slow and it's barely usable. The sound is fine though, so at first I thought it was some kind of memory leak. So I ran top and got something like this:
$top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
94679 fresh 20 0 24.4g 317380 129044 S 117.6 3.9 175:34.02 Discord
94582 fresh 20 0 649548 144436 95352 R 100.0 1.8 23:47.16 Discord
2111 fresh 9 -11 2931964 19200 15600 S 11.8 0.2 198:22.15 pulseau+
98823 fresh 20 0 10368 3832 3248 R 11.8 0.0 0:00.03 top
2022 fresh 20 0 1735384 107392 65140 S 5.9 1.3 149:28.39 Xorg
87155 fresh 20 0 472196 51456 36516 S 5.9 0.6 0:34.11 gnome-t+
93653 fresh 20 0 1365416 128736 100460 S 5.9 1.6 1:13.77 gnome-c+
97146 fresh 20 0 26.8g 398556 145100 S 5.9 4.9 26:11.91 Web Con+
98717 fresh 20 0 301144 28240 22188 D 5.9 0.3 0:00.33 gnome-c+
1 root 20 0 175752 11536 8804 S 0.0 0.1 0:03.11 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.15 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par+
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_perc+
9 root 20 0 0 0 0 S 0.0 0.0 0:44.12 ksoftir+
10 root -2 0 0 0 0 S 0.0 0.0 0:00.00 rcuc/0
11 root -2 0 0 0 0 I 0.0 0.0 1:12.41 rcu_pre+ The CPU usage is quite high. The memory usage is ok I guess.
Also I was aware of the fact that Discord uses different processes. However, when I run
killall -i Discord immediately after I have opened Discord, it kills three processes but when I run the command after it has started lagging it kills seven or eight processes. Is this normal?
The same happens with discord-canary and discord-ptb.
I don't know if it has something to do with the desktop environment but I'm using GNOME 3.
I have read older issue reports that suggested there was some kind of problem with the video codecs. Is it possible the issue is something related to that?
Thanks in advance.
Last edited by MoranCivya2222 (2020-11-24 08:13:49)
Offline