Lagging and slow xorg on Manjaro Kde after the last update

Manjaro started runs slow after the last update and mostly in delay before commands like: ls, cd, gcc and e.t.c.

    systemd-analyze blame
    8.606s systemd-journal-flush.service                                                            
    8.038s systemd-tmpfiles-clean.service                                                           
    7.840s NetworkManager-wait-online.service                                                       
    7.700s lvm2-monitor.service                                                                     
    6.221s snapd.service                                                                            
    5.493s dev-sda3.device                                                                          
    2.795s polkit.service                                                                           
    2.615s systemd-modules-load.service                                                             
    2.123s org.cups.cupsd.service                                                                   
    1.947s bluetooth.service                                                                        
    1.946s avahi-daemon.service                                                                     
    1.943s NetworkManager.service                                                                   
    1.904s systemd-logind.service                                                                   
    1.832s systemd-udevd.service                                                                    
    1.784s udisks2.service                                                                          
    1.739s apparmor.service                                                                         
    1.425s ModemManager.service                                                                     
    1.325s systemd-tmpfiles-setup-dev.service                                                       
    1.277s systemd-fsck@dev-disk-by\x2duuid-227fc94f\x2d4e88\x2d413e\x2da20a\x2de516221bf36d.service
    1.140s systemd-timesyncd.service                                                                
    1.002s upower.service                                                                           
     970ms user@1000.service                                                                        
    ...skipping...
     250ms snapd.apparmor.service                                                                   
     175ms systemd-binfmt.service                                                                   
     174ms modprobe@drm.service                                                                     
     111ms linux-module-cleanup.service                                                             
     103ms systemd-sysctl.service                                                                   
      96ms home.mount                                                                               
      84ms systemd-rfkill.service                                                                   
      73ms systemd-update-utmp.service                                                              
      72ms kmod-static-nodes.service                                                                
      40ms user-runtime-dir@1000.service                                                            
      40ms dev-hugepages.mount                                                                      
      37ms dev-mqueue.mount                                                                         
      34ms sys-kernel-debug.mount                                                                   
      31ms sys-kernel-tracing.mount                                                                 
      20ms systemd-user-sessions.service                                                            
      19ms rtkit-daemon.service                                                                     
      13ms sys-kernel-config.mount                                                                  
      11ms sys-fs-fuse-connections.mount                                                            
       8ms tmp.mount                                                                                
       8ms systemd-remount-fs.service                                                               
       2ms proc-sys-fs-binfmt_misc.mount                                                            
     822us snapd.socket  
Summary

This text will be hidden

Hi!

  1. About text format:
    If you want to hide the text, pulse first on the icon and paste the test between β€œ[details=β€œTitle”]” and [/details]. About the title/link of the text, well, it’s really self-explanatory.
  2. About your post, if your problem is that the system is taken to much time to boot up, follow this
    Slow system boot time
    Also you can mask or disable all the services you don’t really need like cups, print service.
    If you want to disable just run this
    sudo systemctl stop org.cups.cupsd.service && sudo systemctl disable org.cups.cupsd.service
    This are some services that you can disable/mask depending of your needs
    1- Disable
  • snapd.service # if you don’t use any snap applications or plan to
  • snapd.apparmor.service # also for snap applications
  • snapd.socket # also snap
  • bluetooth.service # it really doesn’t need to explain
    -ModemManager # if you don’t use any xG interfaces
  1. Mask
  • lvm2-monitor.service # if you don’t use it
  • NetworkManager-wait-online-service

Back to the issue at hand. But if you problem is about a lagging plasma, we need to see other info.
Please post the output of inxi -G, check the compositor, it should be in opengl3.1

1 Like

Output of df -h can also be useful.

df -h 
df: /run/user/1000/doc: Operation not permitted
Filesystem      Size  Used Avail Use% Mounted on
dev             3,9G     0  3,9G   0% /dev
run             3,9G  1,5M  3,9G   1% /run
/dev/sda3        67G   54G  9,5G  86% /
tmpfs           3,9G  427M  3,5G  11% /dev/shm
tmpfs           4,0M     0  4,0M   0% /sys/fs/cgroup
tmpfs           3,9G   47M  3,8G   2% /tmp
/dev/sda1       511M  280K  511M   1% /boot/efi
/dev/sda4       487G  318G  145G  69% /home
tmpfs           785M  152K  784M   1% /run/user/1000

About system:

time screenfetch                                                                                                                                                                 130 ↡

 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     koms@koms
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     OS: Manjaro 20.1 Mikah
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Kernel: x86_64 Linux 5.4.64-1-MANJARO
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Uptime: 8h 5m
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Packages: 2094
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Shell: zsh 5.8
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Resolution: 1920x1080
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     DE: KDE 5.73.0 / Plasma 5.19.5
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     WM: KWin
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     GTK Theme: Breath-Dark [GTK2/3]
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Icon Theme: breath2-dark
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     Disk: 371G / 558G (71%)
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     CPU: Intel Core i7-8550U @ 8x 4GHz [59.0Β°C]
 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     GPU: GeForce MX130
                                  RAM: 4275MiB / 7841MiB
screenfetch  1,00s user 0,67s system 5% cpu 32,806 total

Thanks for reply!

inxi -G
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
           Device-2: NVIDIA GM108M [GeForce MX130] driver: nvidia v: 450.66 
           Device-3: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia resolution: 1920x1080 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.1.7 

It doesn’t seem to be lack of disk space. Do you see any high disk activity when it gets slow? If not, check available ram with free when it gets slow. You can also check cpu load with htop.