Announcement

Collapse
No announcement yet.

PC slow to wake up

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PC slow to wake up

    Suddenly about a month ago, the desktop PC is slow to wake up in the morning. I leave it on all the time. First thing in the morning, the screen is dark, of course, then I move the mouse a little and the PC wakes up with the Kubuntu log-in screen showing -- that used to happen in a few seconds. Now it takes maybe 1 minute or longer to wake up. Is this a problem? cause? any fix? 18.04. PC is about 5 years old, Intel CPU 5i, ASUS mainstream motherboard H-97Plus, etc.
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    #2
    What does
    systemd-analyze
    and
    systemd-analyze blame
    show you?
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Hi GreyGeek:

      Code:
      [FONT=monospace][COLOR=#54ff54][B]mike@mike-All-Series[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ systemd-analyze [/COLOR]
      Startup finished in 9.482s (firmware) + 4.556s (loader) + 3.337s (kernel) + 49.316s (use
      rspace) = 1min 6.692s 
      graphical.target reached after 29.645s in userspace 
      [COLOR=#54ff54][B]mike@mike-All-Series[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ systemd-analyze blame [/COLOR]
               10.531s systemd-journal-flush.service 
                9.384s apt-daily.service 
                8.483s mpd.service 
                7.183s networkd-dispatcher.service 
                7.082s NetworkManager-wait-online.service 
                6.849s snapd.service 
                6.700s ModemManager.service 
                6.474s dev-sda2.device 
                5.769s udisks2.service 
                5.193s accounts-daemon.service 
                5.040s grub-common.service 
                4.111s NetworkManager.service 
                3.894s systemd-resolved.service 
                3.425s gpu-manager.service 
                3.414s avahi-daemon.service 
                3.390s systemd-logind.service 
                3.377s thermald.service 
                3.373s pppd-dns.service 
                3.006s alsa-restore.service 
                3.006s lm-sensors.service 
                3.000s rsyslog.service 
                2.520s wpa_supplicant.service 
                2.119s apparmor.service 
                1.676s polkit.service 
                1.590s minidlna.service 
                1.410s apport.service 
                1.034s rtkit-daemon.service 
                1.027s colord.service 
                 944ms systemd-udevd.service [COLOR=#ffffff][/COLOR][COLOR=#000000][/COLOR]
      [/FONT]
      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        systemd-analyze shows boot times, unrelated to waking from sleep.

        Comment


          #5
          It also shows what systemd targets are available, like:
          sleep.target
          suspend.target
          hibernate.target
          hybrid-sleep.target

          The conents of /etc/systemd/logind.conf is also important.
          Last edited by Snowhog; Sep 22, 2021, 02:23 PM.
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            /etc/systemd/logind.conf

            Code:
            #  This file is part of systemd.
            #
            #  systemd is free software; you can redistribute it and/or modify it
            #  under the terms of the GNU Lesser General Public License as published by
            #  the Free Software Foundation; either version 2.1 of the License, or
            #  (at your option) any later version.
            #
            # Entries in this file show the compile time defaults.
            # You can change settings by editing this file.
            # Defaults can be restored by simply deleting this file.
            #
            # See logind.conf(5) for details.
            
            [Login]
            #NAutoVTs=6
            #ReserveVT=6
            #KillUserProcesses=no
            #KillOnlyUsers=
            #KillExcludeUsers=root
            #InhibitDelayMaxSec=5
            #HandlePowerKey=poweroff
            #HandleSuspendKey=suspend
            #HandleHibernateKey=hibernate
            #HandleLidSwitch=suspend
            #HandleLidSwitchDocked=ignore
            #PowerKeyIgnoreInhibited=no
            #SuspendKeyIgnoreInhibited=no
            #HibernateKeyIgnoreInhibited=no
            #LidSwitchIgnoreInhibited=yes
            #HoldoffTimeoutSec=30s
            #IdleAction=ignore
            #IdleActionSec=30min
            #RuntimeDirectorySize=10%
            #RemoveIPC=yes
            #InhibitorsMax=8192
            #SessionsMax=8192
            #UserTasksMax=33%
            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment

            Working...
            X