You are not logged in.

#1 2024-07-21 20:29:09

detomassino
Member
Registered: 2016-10-26
Posts: 6

Problems with delayed login and start of certain applications

Hello,

After a recent update I am encountering problems such as a long login (using sddm and Plasma 6).

Once logged in some programs also have a delay start, such as running dolphin it will take about 15 second (it used to start immediately) and when the window appears it says "not responding" for another 10 seconds.

When looking at the journalctl -b there is a problem with Powerdevil loading which I tried to resolve looking at other posts to no avail. Can that be the reason for what I am seeing?

Anyway, the full output of the command is here

https://pastebin.com/MjXjicdp

Please point me in the right direction, still learning this stuff.

T

Offline

#2 2024-07-21 22:54:21

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

That's not the complete journal of a boot, please don't copy-paste out of the pager

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Also

loginctl session-status
echo $DBUS_SESSION_BUS_ADDRESS

Offline

#3 2024-07-22 00:29:59

detomassino
Member
Registered: 2016-10-26
Posts: 6

Re: Problems with delayed login and start of certain applications

Hello Seth,
Thank you for your help.

Here is the output
http://0x0.st/XpAF.txt

[tomad@archlinux ~]$ loginctl session-status
2 - tomad (1000)
  Since: Mon 2024-07-22 01:22:06 BST; 5min ago
  State: active
 Leader: 2644 (sddm-helper)
   Seat: seat0; vc1
    TTY: tty1
 Remote: no
Service: sddm
   Type: wayland
  Class: user
Desktop: KDE
   Idle: no
   Unit: session-2.scope
         ├─2644 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-9c446cef-9d1f-428e-ae96-3a6091f7d80c --id 1 --start "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" --user tomad
         ├─2667 /usr/bin/kwalletd6 --pam-login 12 13
         └─2668 /usr/bin/startplasma-wayland

Jul 22 01:22:06 archlinux systemd[1]: Started Session 2 of User tomad.
Jul 22 01:22:06 archlinux sddm-helper[2666]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Jul 22 01:22:06 archlinux sddm-helper[2668]: Jumping to VT 1
Jul 22 01:22:06 archlinux sddm-helper[2668]: VT mode didn't need to be fixed

And for the dbus_session

[tomad@archlinux ~]$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus

Offline

#4 2024-07-22 06:25:16

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

That's unsuspicious - but do you have the same problems on plasma/X11?

powrdevil will fail because of the upower.service failure

systemctl status upower.service

And then there's

Jul 22 01:22:07 archlinux systemd[2650]: Created slice Slice /app/dbus-:1.2-org.kde.KSplash.
Jul 22 01:22:07 archlinux systemd[2650]: Started dbus-:1.2-org.kde.KSplash@0.service.
Jul 22 01:22:16 archlinux ksplashqml[2694]: file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:76: ReferenceError: bottomRect is not defined
Jul 22 01:22:16 archlinux ksplashqml[2694]: file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:75: ReferenceError: bottomRect is not defined
Jul 22 01:22:16 archlinux ksplashqml[2694]: file:///usr/share/plasma/look-and-feel/org.kde.oxygen/contents/splash/Splash.qml:76: ReferenceError: bottomRect is not defined
Jul 22 01:23:47 archlinux systemd[2650]: Starting KSplash "ready" Stage...
Jul 22 01:23:47 archlinux systemd[2650]: Started dbus-:1.2-org.kde.KSplash@1.service.
Jul 22 01:24:37 archlinux qdbus[3090]: Cannot find 'org.kde.KSplash.setStage' in object /KSplash at org.kde.KSplash
Jul 22 01:24:37 archlinux systemd[2650]: Finished KSplash "ready" Stage.
Jul 22 01:24:47 archlinux systemd[2650]: dbus-:1.2-org.kde.KSplash@1.service: Main process exited, code=exited, status=1/FAILURE
Jul 22 01:24:47 archlinux systemd[2650]: dbus-:1.2-org.kde.KSplash@1.service: Failed with result 'exit-code'.

https://bbs.archlinux.org/viewtopic.php?id=293711

Do you have the same problems w/ a fresh user account, https://bbs.archlinux.org/viewtopic.php?id=294651 ?

Sidebar: you've NM and dhcpcd enabled - disable the latter if you want to keep using NM

Offline

#5 2024-07-22 10:48:47

detomassino
Member
Registered: 2016-10-26
Posts: 6

Re: Problems with delayed login and start of certain applications

Hello Seth,
Thank you for your thoughts.

This is the output of the command

[tomad@archlinux ~]$ systemctl status upower.service
● upower.service - Daemon for power management
     Loaded: loaded (/usr/lib/systemd/system/upower.service; disabled; preset: disabled)
     Active: deactivating (stop-sigterm) (Result: timeout)
 Invocation: 93ec19b8b44e4f26aa45597d53c4870d
       Docs: man:upowerd(8)
   Main PID: 4681 (upowerd)
      Tasks: 4 (limit: 38325)
     Memory: 2.7M (peak: 3.2M)
        CPU: 368ms
     CGroup: /system.slice/upower.service
             └─4681 /usr/lib/upowerd

1) I disabled the splash screen in the system settings - no effect on the duration of log in
2) Same problems are on X11
3) A fresh user has the same problems on X11. The system is not usable on the Wayland at all for the fresh user. The desktop opens up but the KDE menu in the corner, nor any of the default apps on the sidebar, such as Dolphin, can't be started
4) I disabled the dhcpcd, thank you for pointing it out.

BTW, I noticed one more thing, among the processes running are kded5 and kded6. Should the kded5 be there if running the version 6?

Where can we go from here?

Best regards,
T

Last edited by detomassino (2024-07-22 12:12:35)

Offline

#6 2024-07-22 14:58:17

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

Why's kded5 still installed tbw?
What happens if you blatenatly "systemctl mask upower.service"?

Also

Jul 22 01:24:44 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
Jul 22 01:24:45 archlinux kwin_wayland_wrapper[2786]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!

KWin doesn't expose the graphics details in the shared journal, so let's see

qdbus6 org.kde.KWin /KWin supportInformation

Offline

#7 2024-07-22 18:23:09

detomassino
Member
Registered: 2016-10-26
Posts: 6

Re: Problems with delayed login and start of certain applications

Hello Seth,

I have done the followoing
1) ran mask upower.service and it starts the powerdevil
2) I have also removed kded5 and everything that depended on it

It has significantly improved things, much faster login and the programs which were stalling are now running, although it is still not completely normal.

I have uploaded the recent journalctl -b here again

http://0x0.st/Xpes.txt



Further the output of the command qdbus6 org.kde.KWin /KWin supportInformation

[tomad@archlinux ~]$ qdbus6 org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 6.1.3
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401001
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: Oxygen_Black
themeSize: 24

Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 1
actionLeft: 4

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 0,0,3440x1440
Scale: 1
Refresh Rate: 59936
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 960/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 555.58.02
OpenGL platform interface: EGL
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 555.58.2
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.24.1
Linux kernel version: 6.9.10
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
shakecursor
screenshot
outputlocator
colorpicker
zoom
screenedge
blur
contrast
logout
login
sessionquit
slidingpopups
windowaperture
slide
magiclamp
frozenapp
maximize
squash
morphingpopups
fullscreen
scale
fadingpopups
dialogparent
wobblywindows
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
screentransform
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
shakecursor:

screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

blur:

contrast:

logout:
pluginId: logout
isActiveFullScreenEffect: false

login:
pluginId: login
isActiveFullScreenEffect: false

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

magiclamp:

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

morphingpopups:
pluginId: morphingpopups
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

wobblywindows:
stiffness: 0.1
drag: 0.85
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: 
partialActivationFactor: 0
gestureInProgress: false
searchText: 
selectedIds: 

tileseditor:
activeView: 
delegate: 
animationDuration: 200

overview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset: 
searchText: 

highlightwindow:

blendchanges:

startupfeedback:
type: 1

screentransform:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

Thank you for your help with this.

T

Offline

#8 2024-07-22 21:00:53

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

faster login and the programs which were stalling are now running, although it is still not completely normal

And how does the "not completely normal" state manifest itself?

You should try if you can unmask upower - the entire noise might just have been kded5

Offline

#9 2024-07-23 12:53:25

detomassino
Member
Registered: 2016-10-26
Posts: 6

Re: Problems with delayed login and start of certain applications

Hello Seth,

not completely normal = login time went from 40 seconds to 20. Everything else went back to normal. I would like to know why that is, although if I have to live with that I can.

I unmasked the upower and the problems returned so it has to be the powerdevil.

What is the long term solution here?

Offline

#10 2024-07-23 15:47:27

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

What is the long term solution here?

Check why upowerd fails so bad and fix that.
With it out of the way, do you have a journal that covers the 20s login?
Is ksplash still/again enabled?

Offline

#11 2024-07-23 16:42:32

detomassino
Member
Registered: 2016-10-26
Posts: 6

Re: Problems with delayed login and start of certain applications

Hello,

Yes, I have the ournal.

Ksplash has now been enabled back.

AFter using the system for a longer time there are still some "not responding" applications randomly so not all the problem gone.

Offline

#12 2024-07-24 06:29:44

seth
Member
Registered: 2012-09-03
Posts: 61,632

Re: Problems with delayed login and start of certain applications

Yes, I have the ournal.

The implication was to present it to show what's going on.

Ksplash has now been enabled back.

I'd keep it disabled and thus out of the way.

some "not responding" applications randomly

Yo'll have to be a bit more specific here. What applications and how do they not "respond"? Can you SIGTERM them?

Offline

Board footer

Powered by FluxBB