At random times (with several Gitlab and Google Cloud UI tabs open) keyboard starts severely lagging in Firefox/Ubuntu
The lag is very problematic to me, because I do most of my work using the browser. When the keyboard starts lagging I can only enter text using copy/paste with mouse (which works fine). The only way to solve it is to restart Firefox (which can result in lost work).
The lag, when it starts, is 10 seconds or more for each keystroke. It occurs about once every few days.
Ubuntu 22.04.4 LTS
126.0.1 (64-bit) Mozilla Firefox Snap For Ubuntu Canonical-002 - 1.0
I don't use Wayland.
Setting accessibility.force_disabled to 1 did NOT help.
Some lines from the top when this happened:
``` top - 20:21:22 up 2 days, 11:27, 1 user, load average: 0,36, 0,83, 1,02 Tasks: 270 total, 1 running, 268 sleeping, 0 stopped, 1 zombie %Cpu(s): 1,7 us, 0,3 sy, 0,0 ni, 98,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st MiB Mem : 11776,5 total, 1221,4 free, 7160,2 used, 3394,9 buff/cache MiB Swap: 18432,0 total, 18154,1 free, 277,9 used. 3535,6 avail Mem
VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6234092 3,1g 101052 S 1,0 26,7 217:04.66 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 138 +
20,8g 754008 235476 S 1,0 6,3 204:17.24 /snap/firefox/4336/usr/lib/firefox/firefox
7402104 518340 108992 S 0,0 4,3 18:16.64 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 4 -i+ 1576384 372564 158532 S 0,0 3,1 3:45.49 /usr/lib/libreoffice/program/soffice.bin --calc file:///home/user/w+ 2913372 356592 100916 S 1,0 3,0 15:18.84 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 278 + 2762568 304556 94852 S 0,3 2,5 0:50.35 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 552 + 3155860 303900 58316 S 0,3 2,5 6:06.12 /home/user/.dropbox-dist/dropbox-lnx.x86_64-200.4.7134/dropbox 4997304 285560 102988 S 0,0 2,4 59:54.84 /usr/bin/gnome-shell 2796144 250836 94468 S 0,3 2,1 1:29.30 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 469 + 2604896 243840 84184 S 0,0 2,0 0:43.95 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 1 -i+ 2797868 217532 95100 S 0,0 1,8 2:41.74 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 327 + 2610924 187876 92820 S 0,0 1,6 0:14.77 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 577 + 2619764 171224 92892 S 0,0 1,4 0:17.94 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 579 + 2514872 163516 93684 S 0,0 1,4 0:14.78 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 591 + 2556276 160004 91440 S 0,0 1,3 0:04.57 /snap/firefox/4336/usr/lib/firefox/firefox -contentproc -childID 581 + ```
Modificado por valentas a
Todas as respostas (1)
I forgot to mention that other Ubuntu programs don't start lagging, this only affects Firefox.