Bug 488401 - On X11, Desktop, widgets, panel freeze right after login
Summary: On X11, Desktop, widgets, panel freeze right after login
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-performance (other bugs)
Version First Reported In: 6.0.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-06-12 06:32 UTC by agilob
Modified: 2024-06-14 20:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Is this widget different now? (15.63 KB, image/png)
2024-06-14 16:06 UTC, agilob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description agilob 2024-06-12 06:32:10 UTC
SUMMARY
Right after login plasma panel, desktop widget freeze, but I still can do ALT+F2 and ALT+TAB to change windows. The clock is frozen and doesn't change at all. Cursor over the panel shows "open hand". Clicking on icons doesn't do anything. Right click on desktop also doesn't work. PRINT SCREEN doesn't open spectactle, but opening it from terminal also doesn't work the program hangs without any logs.

This is new after I upgraded to 6.3.0 yesterday. Doing `plasmashell --replace` does not help.

STEPS TO REPRODUCE
1. Just login


OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.6.32-1-lts (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I have kwin with tiling enabled and that's all non-default settings I'm aware.
Comment 1 Nate Graham 2024-06-12 18:26:54 UTC
Weird. Does it happen on X11 too, or only on Wayland?

Also, does it happen in a new clean user account with no customizations whatsoever?
Comment 2 agilob 2024-06-12 19:25:39 UTC
Yes, writing this from frozen X11 session now.

I noticed another interesting thing. When I ALT+F2 and type reboot, it open the goodbye menu and I can select restart and restart the PC, but then I type and confirm logout it does nothing, so to change the session to X11 I had to reboot.

About to create a new user and see if problem persists for new users now.
Comment 3 agilob 2024-06-12 19:41:08 UTC
Logout eventually worked, but I had to wait ~20 seconds before my user was logged out. During that 20 seconds I could move mouse cursor, but command runner ALT+F2 no longer worked. After logout the login screen SDDM was also frozen and eventually my screens went into standby mode, so I had to hard reboot.

It does not happen for the new user under Wayland. 

I have: network monitor, night light, bluetooth, clipboard manager enabled and pinned to the panel, yakuake in autostart.
Comment 4 agilob 2024-06-12 19:43:04 UTC
❯ qdbus 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.0.5
Qt Version: 6.7.1
Qt compile version: 6.7.1
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: 12401000
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: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 9, 3, 4, 5
borderSize: 0
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: breeze_cursors
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
activeMouseScreen: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
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: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Active screen follows mouse:  yes
Number of Screens: 2

Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 2
Refresh Rate: 59997
Adaptive Sync: never
Screen 1:
---------
Name: DP-2
Enabled: 1
Geometry: 1920,265,1920x1080
Scale: 1
Refresh Rate: 143996
Adaptive Sync: automatic

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 17.0.6, DRM 3.54, 6.6.32-1-lts)
OpenGL version string: 4.6 (Core Profile) Mesa 24.1.1-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.1.1
X server version: 1.24.1
Linux kernel version: 6.6.32
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

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

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

Effect Settings:
----------------
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: 150
slideOutDuration: 250

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

scale:
pluginId: scale
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

morphingpopups:
pluginId: morphingpopups
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

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

tileseditor:
activeView:
delegate:
animationDuration: 200

overview:
activeView:
delegate:
animationDuration: 300
layout: 1
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
krunnerintegration
nightcolor
screencast

Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
krunnerintegration
nightcolor
screencast
Comment 5 agilob 2024-06-12 19:56:32 UTC
If I turn off and on a screen, it will no longer contain wallpaper and panels from before, it will be completely black, but mouse cursor can be moved around, command runner (ALT+F2) window will appear on demand too.
Comment 6 Nate Graham 2024-06-12 20:11:26 UTC
None of these symptoms make any sense. :(

David, is there any chance this would be fallout from the security change that went into 6.0.5.1? We have a number of reports of otherwise inexplicable weird behaviors that happened after upgrade?
Comment 7 agilob 2024-06-13 07:13:12 UTC
I couldn't live like this, so I did:

rm .config/plasma-org.kde.plasma.desktop-appletsrc
rm .config/plasmashellrc

and after reboot it's all good. Will let you know if it comes back...
Comment 8 Nate Graham 2024-06-13 15:34:20 UTC
Any chance you have backups of those files from when the problem was happening? Because if not, then unfortunately you just destroyed the information we would need to inspect to figure out what exactly is going wrong. :(
Comment 9 agilob 2024-06-14 16:06:26 UTC
Bad news Nate, I didn't take a backup, and i regretted it the second i deleted the second file. Worse news, I reproduced my whole env as it was before, and the freeze no longer happens. I noticed that some style or format on network monitor widget is different. I no longer can create a single line widget that displays download and upload speed. Both metrics are now in own lines and there's a scroll arrow on the widget.
Comment 10 agilob 2024-06-14 16:06:53 UTC
Created attachment 170500 [details]
Is this widget different now?
Comment 11 Nate Graham 2024-06-14 20:56:49 UTC
Darn. Ok, well if it happens again please keep the file around so we can inspect it!