Hello everybody,
maybe you have some suggestion for a fix or tip for further analyzing the problem.
On one of my laptops (Packard Bell EasyNote TK 85 - brand of Acer), the boot takes really long and it is because the startup of the display server takes 24 seconds (!).
Problem is also present on shutdown - takes very long, also waiting for the display server.
Here is the system info for the laptop:
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.11-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3 CPU M 380 @ 2.53GHz
Memory: 7.6 GiB of RAM
Graphics Processor: AMD CEDAR
The Graphic card is a ATI/AMD Robson CE [Radeon HD 6370M/7370M], which can be found documented here:
https://linux-hardware.org/?id=pci:1002-68e4-1025-0487
Kernel driver used for the graphics is radeon:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Robson CE [Radeon HD 6370M/7370M] (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 0487
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at a0000000 (64-bit, prefetchable) [size=256]
Memory at b4000000 (64-bit, non-prefetchable) [size=128]
I/O ports at 3000 [size=256]
Expansion ROM at 000c0000 [disabled] [size=128]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon
I have reviewed the system logs and starting the display server takes 24 seconds, which is extremely slow:
2022-07-23T**15:18:02**[/size][/size][/size].455603+02:00 localhost sddm[14979]: Display server starting...
2022-07-23T15:18:02.455694+02:00 localhost sddm[14979]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{7d233216-d924-4879-8d7b-dc8fbc81f3b5} -background none -noreset -displayfd 17 -seat seat0 vt7
2022-07-23T15:18:02.877648+02:00 localhost display-manager[913]: Starting service sddm..done
2022-07-23T15:18:02.878271+02:00 localhost systemd[1]: Started X Display Manager.
2022-07-23T15:18:02.878973+02:00 localhost systemd[1]: Reached target Graphical Interface.
2022-07-23T15:18:02.881427+02:00 localhost systemd[1]: Starting Record Runlevel Change in UTMP...
2022-07-23T15:18:02.892989+02:00 localhost systemd[1]: systemd-update-utmp-runlevel.service: Deactivated successfully.
2022-07-23T15:18:02.893407+02:00 localhost systemd[1]: Finished Record Runlevel Change in UTMP.
2022-07-23T15:18:12.911051+02:00 localhost systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
2022-07-23T15:18:20.021443+02:00 localhost systemd[1]: mandb.service: Deactivated successfully.
2022-07-23T15:18:20.021766+02:00 localhost systemd[1]: Finished Do daily mandb update.
2022-07-23T15:18:20.022287+02:00 localhost systemd[1]: Startup finished in 2.350s (kernel) + 4.022s (initrd) + 31.749s (userspace) = 38.122s.
2022-07-23T15:18:21.871718+02:00 localhost systemd[1]: systemd-hostnamed.service: Deactivated successfully.
2022-07-23T15:18:23.087833+02:00 localhost systemd[1]: systemd-localed.service: Deactivated successfully.
2022-07-23T15:18:26.291567+02:00 localhost sddm[14979]: Setting default cursor
2022-07-23T15:18:26.306819+02:00 localhost sddm[14979]: Running display setup script "/etc/X11/xdm/Xsetup"
2022-07-23T**15:18:26**.424455+02:00 localhost sddm[14979]: Display server started.
Why could that be?
Can anybody suggest how to analyze what is happening during that time? Or maybe has a solution?
To compare: On another laptop of mine, with 3rd gen i7 and Intel graphics (HD4000), the display server is started in just under one second:
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.24.11-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
2022-07-23T**16:27:10**.311464+02:00 localhost sddm[1390]: Display server starting...
2022-07-23T16:27:10.311468+02:00 localhost sddm[1390]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{c542f6c9-a4bc-4e9b-aa2f-830618d083c4} -background none -noreset -displayfd 17 -seat seat0 vt7
2022-07-23T16:27:10.311473+02:00 localhost bluetoothd[1361]: Admin Policy Set interface registered
2022-07-23T16:27:10.311478+02:00 localhost bluetoothd[1361]: Admin Policy Status interface registered
2022-07-23T16:27:10.311484+02:00 localhost systemd-logind[1053]: Watching system buttons on /dev/input/event6 (Logitech USB Keyboard Consumer Control)
2022-07-23T16:27:10.311494+02:00 localhost systemd-logind[1053]: Watching system buttons on /dev/input/event4 (Logitech USB Keyboard)
2022-07-23T16:27:10.311500+02:00 localhost systemd-logind[1053]: Watching system buttons on /dev/input/event7 (Logitech USB Keyboard System Control)
2022-07-23T16:27:10.311505+02:00 localhost dbus-daemon[993]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.8' (uid=0 pid=1196 comm="/usr/sbin/NetworkManager --no-daemon ")
2022-07-23T16:27:10.311527+02:00 localhost systemd[1]: Starting WPA Supplicant daemon...
2022-07-23T16:27:10.311537+02:00 localhost dbus-daemon[993]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
2022-07-23T16:27:10.311542+02:00 localhost systemd[1]: Started WPA Supplicant daemon.
2022-07-23T16:27:10.311590+02:00 localhost display-manager[1232]: Starting service sddm..done
2022-07-23T16:27:10.311598+02:00 localhost systemd[1]: Started X Display Manager.
2022-07-23T16:27:10.311614+02:00 localhost systemd[1]: Started Postfix Mail Transport Agent.
2022-07-23T16:27:10.311619+02:00 localhost systemd[1]: Started Command Scheduler.
2022-07-23T16:27:10.311623+02:00 localhost cron[1542]: (CRON) STARTUP (1.5.7)
2022-07-23T16:27:10.311632+02:00 localhost cron[1542]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 7% if used.)
2022-07-23T16:27:10.311636+02:00 localhost cron[1542]: (CRON) INFO (running with inotify support)
2022-07-23T16:27:10.311641+02:00 localhost sddm[1390]: Setting default cursor
2022-07-23T16:27:10.311646+02:00 localhost ModemManager[1077]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:19.0': not supported by any plugin
2022-07-23T16:27:10.311651+02:00 localhost ModemManager[1077]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0': not supported by any plugin
2022-07-23T16:27:10.311657+02:00 localhost sddm[1390]: Running display setup script "/etc/X11/xdm/Xsetup"
2022-07-23T**16:27:10**.311672+02:00 localhost sddm[1390]: Display server started.
[/size]