[KDE] - Desktop - Long Time To Reboot Or Shutdown? Everything Else 100%

Hi,

Running “Manjaro KDE 64Bit” fully updated.
The desktop runs 100% perfectly.

When I reboot or shutdown the desktop it takes over a minute?
Not sure how to fix this issue?
Perhaps is issue with SSD - how would I run a disk check on an SSD where the OS is?

NOTE #1: System SSD is encrypted

Let me know, thanks!

Jesse

[jlp@SortaFastDesktop ~]$ inxi -F
System:
  Host: SortaFastDesktop Kernel: 5.11.14-1-MANJARO x86_64 bits: 64 
  Desktop: KDE Plasma 5.21.4 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Gigabyte model: B85M-HD3 v: x.x serial: <superuser required> 
  BIOS: American Megatrends v: F12 date: 08/13/2015 
CPU:
  Info: Quad Core model: Intel Core i5-4430 bits: 64 type: MCP cache: L2: 6 MiB 
  Speed: 2098 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 2098 2: 1588 3: 2566 
  4: 2081 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 460.67 
  Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.67 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel 
  Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel 
  Sound Server-1: ALSA v: k5.11.14-1-MANJARO running: yes 
  Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
  IF: enp3s0 state: down mac: 74:d4:35:9b:58:fd 
  Device-2: Intel 82541PI Gigabit Ethernet driver: e1000 
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 90:e2:ba:68:f9:0e 
  Device-3: Intel Centrino Ultimate-N 6300 driver: iwlwifi 
  IF: wlp6s0 state: down mac: 7e:4a:a1:dd:e6:c2 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Bluetooth:
  Device-1: Broadcom BCM20702A0 Bluetooth 4.0 type: USB driver: btusb 
  Report: rfkill ID: hci0 state: up address: see --recommends 
Drives:
  Local Storage: total: 1.84 TiB used: 174.79 GiB (9.3%) 
  ID-1: /dev/sda vendor: A-Data model: SU800 size: 953.87 GiB 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EARX-32N0YB0 size: 931.51 GiB 
Partition:
  ID-1: / size: 937.89 GiB used: 174.79 GiB (18.6%) fs: ext4 dev: /dev/dm-0 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 35 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:
  Processes: 248 Uptime: 1h 33m Memory: 15.59 GiB used: 5.02 GiB (32.2%) Shell: Bash 
  inxi: 3.3.04 
[jlp@SortaFastDesktop ~]$

Did you create a mirror on the SSD and HDD?

If not, post the output of:

inxi --admin --verbosity=7 --filter --no-host --width
parted --list

:thinking:

Hi,

Thanks for the response!

No, I did not create a mirror on the SSD and HDD.
(SSD is OS and apps / HDD is personal data)

Requested info is below:
Thanks!

Jesse

[jlp@SortaFastDesktop ~]$ inxi --admin --verbosity=7 --filter --no-host --width
parted --list
System:
  Kernel: 5.11.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=f360282e-91b5-4661-b13f-681fdd0767cc ro quiet 
  cryptdevice=UUID=075cfc6a-42b7-4126-aa11-30473e9f5346:luks-075cfc6a-42b7-4126-aa11-30473e9f5346 
  root=/dev/mapper/luks-075cfc6a-42b7-4126-aa11-30473e9f5346 apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: Gigabyte model: B85M-HD3 v: x.x serial: <filter> 
  BIOS: American Megatrends v: F12 date: 08/13/2015 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 15.59 GiB used: 5.59 GiB (35.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-4430 bits: 64 type: MCP arch: Haswell 
  family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
  bogomips: 23952 
  Speed: 3093 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 3093 2: 3062 
  3: 3088 4: 3092 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts 
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm 
  dts ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht 
  ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor 
  movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb 
  pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good sdbg sep 
  smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow 
  tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt 
  xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: eVga.com. 
  driver: nvidia v: 460.67 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:1c82 class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.9x11.9") 
  s-diag: 610mm (24") 
  Monitor-1: DVI-D-0 res: 1920x1080 hz: 60 dpi: 93 
  size: 527x296mm (20.7x11.7") diag: 604mm (23.8") 
  OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 460.67 
  direct render: Yes 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 
  class-ID: 0403 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: eVga.com. 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.14-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.25 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: d000 bus-ID: 03:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp3s0 state: down mac: <filter> 
  Device-2: Intel 82541PI Gigabit Ethernet driver: e1000 v: kernel port: c000 
  bus-ID: 05:00.0 chip-ID: 8086:107c class-ID: 0200 
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-3: Intel Centrino Ultimate-N 6300 driver: iwlwifi v: kernel 
  port: c000 bus-ID: 06:00.0 chip-ID: 8086:422b class-ID: 0280 
  IF: wlp6s0 state: down mac: <filter> 
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
  IP v4: <filter> type: noprefixroute scope: global 
  IP v6: <filter> virtual: stable-privacy scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Broadcom BCM20702A0 Bluetooth 4.0 type: USB driver: btusb v: 0.8 
  bus-ID: 3-5:2 chip-ID: 0a5c:21e8 class-ID: fe01 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
  Device-1: luks-075cfc6a-42b7-4126-aa11-30473e9f5346 maj-min: 254:0 
  type: LUKS dm: dm-0 size: 953.86 GiB 
  Components: 
  p-1: sda1 maj-min: 8:1 size: 953.86 GiB 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.84 TiB used: 177.67 GiB (9.4%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU800 size: 953.87 GiB 
  block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD 
  serial: <filter> rev: 2FS scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10EARX-32N0YB0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: AB51 scheme: MBR 
  Optical-1: /dev/sr0 vendor: ATAPI model: iHAS124 D rev: 8L07 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 953.86 GiB size: 937.89 GiB (98.33%) 
  used: 177.67 GiB (18.9%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0 
  mapped: luks-075cfc6a-42b7-4126-aa11-30473e9f5346 label: N/A 
  uuid: f360282e-91b5-4661-b13f-681fdd0767cc 
Swap:
  Alert: No swap data was found. 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:8008 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 12 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-5:2 info: Broadcom BCM20702A0 Bluetooth 4.0 type: Bluetooth 
  driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:21e8 
  class-ID: fe01 serial: <filter> 
  Hub-6: 3-8:3 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 3-8.4:5 info: Realtek Mass Storage Device (Multicard Reader) 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 
  speed: 480 Mb/s power: 500mA chip-ID: 0bda:0151 class-ID: 0806 
  serial: <filter> 
  Hub-7: 3-9:4 info: Terminus Hub ports: 4 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 3-9.1:7 info: HP OfficeJet 3830 series type: Printer driver: usblp 
  interfaces: 4 rev: 2.0 speed: 12 Mb/s power: 2mA chip-ID: 03f0:e511 
  class-ID: 0701 serial: <filter> 
  Hub-8: 3-9.3:9 info: Terminus Hub ports: 4 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 3-9.3.3:11 
  info: Prototype product Vendor ID SmartJoy Dual Plus PS2 converter type: HID 
  driver: smartjoyplus,usbhid interfaces: 1 rev: 1.0 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 6666:8802 class-ID: 0300 
  Device-2: 3-11:6 info: Sunplus Innovation Gaming mouse [Philips SPK9304] 
  type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0 
  speed: 1.5 Mb/s power: 98mA chip-ID: 1bcf:08a0 class-ID: 0301 
  Hub-9: 3-12:8 info: Dell Keyboard Hub ports: 3 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 413c:1003 class-ID: 0900 
  Device-1: 3-12.1:10 info: Dell Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 50mA 
  chip-ID: 413c:2010 class-ID: 0300 
  Hub-10: 4-0:1 info: Full speed (or root) Hub ports: 6 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 34 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:
  Processes: 269 Uptime: 6h 47m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1442 lib: 430 
  flatpak: 0 Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.04 
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.175 (2021-01-08) and kernel driver (unknown version).
[jlp@SortaFastDesktop ~]$

Please:

  • Reboot your machine

  • Don’t log in

  • reboot again

  • Provide the output of:

    sudo parted --list
    last -Fx shutdown reboot | head
    

So far:

  • Your processor supports AES so that’s not it

:thinking:

[jlp@SortaFastDesktop ~]$ sudo parted --list
Model: ATA ADATA SU800 (scsi)
Disk /dev/sda: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  1024GB  1024GB  primary               boot

Model: ATA WDC WD10EARX-32N (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  1000GB  1000GB  primary

[jlp@SortaFastDesktop ~]$ last -Fx shutdown reboot | head                    
reboot   system boot  5.11.14-1-MANJAR Tue Apr 20 18:13:22 2021   still running
shutdown system down  5.11.14-1-MANJAR Tue Apr 20 18:12:32 2021 - Tue Apr 20 18:13:22 20
21  (00:00)
reboot   system boot  5.11.14-1-MANJAR Tue Apr 20 18:12:21 2021 - Tue Apr 20 18:12:32 20
21  (00:00)
shutdown system down  5.11.14-1-MANJAR Tue Apr 20 18:11:31 2021 - Tue Apr 20 18:12:21 20
21  (00:00)
reboot   system boot  5.11.14-1-MANJAR Tue Apr 20 09:51:21 2021 - Tue Apr 20 18:11:31 20
21  (08:20)
shutdown system down  5.11.14-1-MANJAR Tue Apr 20 09:50:29 2021 - Tue Apr 20 09:51:21 20
21  (00:00)
reboot   system boot  5.11.14-1-MANJAR Mon Apr 19 10:08:11 2021 - Tue Apr 20 09:50:29 20
21  (23:42)
shutdown system down  5.11.14-1-MANJAR Mon Apr 19 10:07:22 2021 - Mon Apr 19 10:08:11 20
21  (00:00)
reboot   system boot  5.11.14-1-MANJAR Mon Apr 19 10:05:13 2021 - Mon Apr 19 10:07:22 20
21  (00:02)
shutdown system down  5.11.14-1-MANJAR Mon Apr 19 10:03:45 2021 - Mon Apr 19 10:05:13 20
21  (00:01)
[jlp@SortaFastDesktop ~]$

The last -Fx shutdown reboot | head shows:

And that’s just 11 seconds for a full system reboot? That’s not bad…

Where is the problem?

:open_mouth:

Hmmm…Odd…

Was taking over 45 seconds to fully reboot or shutdown.
Guess it is ok now

Jesse

To see if this is related to another KDE bug (which has been fixed upstream!), when you get the chance, try this:

  1. Log into Plasma
  2. Log out soon after
  3. Log back in

Repeat steps 2 and 3 several times. Does it at any point “stall” or seem to “hang”, and maybe take around 3 minutes to finally log back in?

I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.