Cursor and keyboard input periodically lags/stutters for 3 hours after startup

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
warnerbros
Level 1
Level 1
Posts: 4
Joined: Fri Jul 24, 2020 2:48 pm

Cursor and keyboard input periodically lags/stutters for 3 hours after startup

Post by warnerbros »

When I start up my computer the keyboard input and cursor will lag and jitter once every half-second for exactly 3 hours. What this means is the cursor will pause for about a few miliseconds while being dragged or clicking on something, and then continue, and then pause again. The keyboard isn't able to pick up input during that time as well. After the 3 hours are over everything goes back to normal. This has been the case for months and I'm not exactly sure what caused it.

This my system information. I'm using Linux Mint:

Code: Select all

System:    Host: linux Kernel: 5.4.0-96-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: ASUSTeK product: X551MA v: 1.0 serial: <root required> 
           Mobo: ASUSTeK model: X551MA v: 1.0 serial: <root required> UEFI: American Megatrends v: X551MA.515 date: 04/15/2015 
Battery:   ID-1: BAT0 charge: N/A condition: N/A model: N/A status: Unknown 
CPU:       Topology: Dual Core model: Intel Celeron N2840 bits: 64 type: MCP arch: Silvermont rev: 8 L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8666 
           Speed: 2584 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 2583 2: 2583 
Graphics:  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: ASUSTeK driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-96-generic 
Network:   Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: AzureWave AW-NE186H driver: ath9k v: kernel 
           port: f000 bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: 40:e2:30:db:ed:e2 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 03:00.2 
           IF: enp3s0f2 state: down mac: 1c:87:2c:3d:83:37 
Drives:    Local Storage: total: 465.76 GiB used: 674.05 GiB (144.7%) 
           ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB 
Partition: ID-1: / size: 456.96 GiB used: 336.85 GiB (73.7%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 2.00 GiB used: 356.8 MiB (17.4%) fs: swap dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 6280.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2200 
Info:      Processes: 217 Uptime: 1h 04m Memory: 3.73 GiB used: 1.92 GiB (51.6%) Init: systemd runlevel: 5 Compilers: 
           gcc: 7.5.0 clang: 6.0.0-1ubuntu2 Shell: bash v: 4.4.20 inxi: 3.0.32 
I've checked `top` and there doesn't seem to be any intensive programs running that might cause lag:

Code: Select all

Tasks: 209 total,   2 running, 159 sleeping,   1 stopped,   1 zombie
%Cpu(s): 31.7 us, 12.3 sy,  0.0 ni, 27.9 id, 27.4 wa,  0.0 hi,  0.7 si,  0.0 st
KiB Mem :  3910412 total,   214260 free,  1752160 used,  1943992 buff/cache
KiB Swap:  2096636 total,  1733884 free,   362752 used.  1582020 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                              
 5855 dgodfrey  20   0 24.529g 159500  98292 R  33.3  4.1   8:27.43 chrome                                                                                               
 3840 dgodfrey  20   0 16.687g 151360 130968 S  16.7  3.9   8:32.78 chrome                                                                                               
 8672 dgodfrey  20   0   41928   3732   3040 R  16.7  0.1   0:00.05 top                                                                                                  
 7617 dgodfrey  20   0 24.500g 167580 103912 S  11.1  4.3   1:02.05 chrome                                                                                               
 1230 root      20   0 1012492  50812  38168 S   5.6  1.3   1:51.22 Xorg                                                                                                 
 3894 dgodfrey  20   0 16.442g  44312  37712 S   5.6  1.1   0:02.90 chrome                                                                                               
    1 root      20   0  159808   6032   4248 S   0.0  0.2   0:03.58 systemd                                                                                              
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 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_gp                                                                                           
    6 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/0:0H-ev                                                                                      
    9 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_wq                                                                                         
   10 root      20   0       0      0      0 S   0.0  0.0   0:01.71 ksoftirqd/0                                                                                          
   11 root      20   0       0      0      0 I   0.0  0.0   0:06.99 rcu_sched                                                                                            
   12 root      rt   0       0      0      0 S   0.0  0.0   0:00.03 migration/0                                                                                          
   13 root     -51   0       0      0      0 S   0.0  0.0   0:00.00 idle_inject/0                                                                                        
   14 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0                                                                                              
   15 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1                                                                                              
   16 root     -51   0       0      0      0 S   0.0  0.0   0:00.00 idle_inject/1                                                                                        
   17 root      rt   0       0      0      0 S   0.0  0.0   0:00.16 migration/1                                                                                          
   18 root      20   0       0      0      0 S   0.0  0.0   0:01.50 ksoftirqd/1                                                                                          
   20 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/1:0H-ev                                                                                      
   21 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kdevtmpfs                                                                                            
   22 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 netns                                                                                                
   23 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_tasks_kthre                                                                                      
   24 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kauditd                                                                                              
   25 root      20   0       0      0      0 S   0.0  0.0   0:00.00 khungtaskd                                                                                           
   26 root      20   0       0      0      0 S   0.0  0.0   0:00.00 oom_reaper                                                                                           
   27 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 writeback                                                                                            
   28 root      20   0       0      0      0 S   0.0  0.0   0:00.34 kcompactd0                                                                                           
   29 root      25   5       0      0      0 S   0.0  0.0   0:00.00 ksmd                                                                                                 
   30 root      39  19       0      0      0 S   0.0  0.0   0:00.00 khugepaged                                                                                           
   76 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kintegrityd 
Any ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Beginner Questions”