DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

DMS getting randomly unresponsive in v0.4.2

Open ronilaukkarinen opened this issue 2 months ago • 6 comments

Compositor

  • [ ] niri
  • [x] Hyprland
  • [ ] dwl (MangoWC)
  • [ ] sway
  • [ ] Other (specify)

Distribution

Arch Linux.

dms version

v0.4.2

Description

After a while of using it, DMS gets unresponsive. It looks OK but can't click and point in any of the features, to bar, dock, etc...

Expected Behavior

Should be able to point at things.

Steps to Reproduce

  1. Download dms-shell-bin via yay on hyprland on Arch.
  2. Use for a while
  3. See dms freezing

Error Messages/Logs

Paste error messages or logs here

Not sure if related.

~ $ tail -f ~/dms_logs/dms-1762698894.txt
  INFO qml: NetworkService: Switched to DMSNetworkService, networkAvailable: true
  INFO qml: DMSService: Connected (API v15) - ["plugins","network","loginctl","freedesktop","gamma","bluetooth","brightness"]
  INFO  go: Creating gamma controls
  INFO  go: setupOutputControls: creating gamma controls for 1 outputs
  INFO  go: Output 5 gamma_size=1024
  INFO qml: CompositorService: Detected Hyprland
  WARN scene: QML DankHooks at file:///home/rolle/.config/DankMaterialShell/plugins/Dank Hooks/DankHooks.qml[8:1]: Created graphical object was not placed in the graphics scene.
  INFO qml: DankBar: Plugin loaded: dankHooks
  INFO qml: Daemon plugin loaded: dankHooks
  INFO qml: SessionService: Native inhibitor available: true
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
  WARN quickshell.hyprland.ipc: Dispatch request "focuswindow address:undefined" failed with error "No such window found"
  WARN qml: CompositorService: Refresh rate limit exceeded, skipping refresh
 ERROR: Quickshell has crashed under pid 2730894 (Coredumps will be available under that pid.)
 ERROR: Further crash information is stored under "/home/rolle/.cache/quickshell/crashes/d2ni176rg5t"
 ERROR: Quickshell has been restarted.
  INFO: Launching config: "/usr/share/quickshell/dms/shell.qml"
  WARN: QEventLoop: Cannot be used without QCoreApplication
  INFO: Shell ID: "85ecfc916fcda75f6106502e8dabb0ab" Path ID "85ecfc916fcda75f6106502e8dabb0ab"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/d2ni13grg5t/log.qslog"
  INFO qml: CompositorService: Detected Hyprland
  WARN qml: AudioService: QtMultimedia not available - sound effects disabled
  INFO qml: NetworkService: Initializing...
  WARN qml: PolkitService: Polkit not available - authentication prompts disabled. This requires a newer version of Quickshell.
  INFO qml: IdleService: Initialized with idle monitoring support
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onIsResponseRequiredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationSucceeded" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationFailed" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN scene: QML Connections at @Modals/PolkitAuthModal.qml[78:5]: Detected function "onAuthenticationRequestCancelled" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
  WARN quickshell.I3.ipc: $I3SOCK is unset. Trying $SWAYSOCK.
  WARN quickshell.I3.ipc: $SWAYSOCK and I3SOCK are unset. Cannot connect to socket.
libEGL warning: pci id for fd 72: 10de:2484, driver (null)

pci id for fd 75: 10de:2484, driver (null)
pci id for fd 78: 10de:2484, driver (null)
libEGL warning: egl: failed to create dri2 screen
pci id for fd 75: 10de:2484, driver (null)
pci id for fd 78: 10de:2484, driver (null)
libEGL warning: egl: failed to create dri2 screen
  WARN quickshell.service.notifications: Could not register notification server at org.freedesktop.Notifications, presumably because one is already registered.
  WARN quickshell.service.notifications: Registration will be attempted again if the active service is unregistered.
  INFO: Configuration Loaded
  WARN scene: QML FileView at @Common/Theme.qml[1019:5]: Read of /home/rolle/.cache/DankMaterialShell/dms-colors.json failed: File does not exist.
  WARN qml: I18n: Falling back to built-in English strings
  WARN scene: @Common/Theme.qml[274:5]: Unable to assign [undefined] to QColor
  WARN scene: @Modals/PolkitAuthModal.qml[79:9]: Unable to assign [undefined] to QObject*
  INFO qml: Detected distribution: Arch Linux
  WARN qml: SystemUpdate: No update checker found. Will use package manager.
  INFO qml: CompositorService: Detected Hyprland
  WARN scene: QML DankHooks at file:///home/rolle/.config/DankMaterialShell/plugins/Dank Hooks/DankHooks.qml[8:1]: Created graphical object was not placed in the graphics scene.
  INFO qml: DankBar: Plugin loaded: dankHooks
  INFO qml: Daemon plugin loaded: dankHooks
  INFO qml: SessionService: Native inhibitor available: true
  INFO qml: NetworkService: Network capability detected, using DMSNetworkService
  INFO qml: NetworkService: Switched to DMSNetworkService, networkAvailable: true
  INFO qml: DMSService: Connected (API v15) - ["plugins","network","loginctl","freedesktop","gamma","bluetooth","brightness"]
  WARN: QThreadStorage: entry 2 destroyed before end of thread 0x7efe26a8a010
  WARN: QThreadStorage: entry 1 destroyed before end of thread 0x7efe26a8a010
  WARN quickshell.service.sni.host: Error reading "RegisteredStatusNotifierItems" property of watcher org.kde.StatusNotifierWatcher
  WARN quickshell.service.sni.host: QDBusError("org.freedesktop.DBus.Error.NoReply", "Remote peer disconnected")
``'

ronilaukkarinen avatar Nov 09 '25 14:11 ronilaukkarinen

How while is usually a while? Does processlist or spotlight launch after the bar goes unresponsive?

Quickshell also crashed and restarted as stated in the error log. Do you mind providing the content of /home/rolle/.cache/quickshell/crashes/d2ni176rg5t?

For me, DMS is also unresponsive after rebuilding nixos, but it is fine after a restart.

udontur avatar Nov 09 '25 15:11 udontur

I pushed a couple things, it seems like a bad hyprland command triggered a loop of refresh attempts. Maybe some of it will help

392a1c03c53ce916ec8d2ba61e852d34d2e1b9cb

d309957927bacdffb1511b5f43ac065546dc0d02

bbedward avatar Nov 09 '25 16:11 bbedward

How while is usually a while? Does processlist or spotlight launch after the bar goes unresponsive?

I'm not sure, I haven't monitored it that closely. It hasn't happened for hours today 🤔 Didn't try spotlight or process list, just noticed the Dank bar and Dock can't be clicked.

Sometimes it happens after about an hour or so. After I restart, it works fine for me too. The folder and log.qslog.log contain a lot of personal data like window names and contents, so I'd rather not share them.

ronilaukkarinen avatar Nov 09 '25 18:11 ronilaukkarinen

Please also note that the crash could be unrelated, because it didn't crash during those freezes. It crashed for some time (like 30 minutes) after I ran nohup dms run > ~/dms_logs/dms-$(date +%s).txt 2>&1 & in attempt to debug.

ronilaukkarinen avatar Nov 09 '25 18:11 ronilaukkarinen

Today, after using for around a few hours, DMS suddenly restarts repeatedly. A white popup on the top left corner keeps popping up, telling me to paste a command to check the logs. It was resolved after a force restart.

udontur avatar Nov 11 '25 02:11 udontur

Hmm that's a Quickshell popup, not DMS.

Purian23 avatar Nov 11 '25 03:11 Purian23