AvengeMedia / AvengeMedia/DankMaterialShell
Very Long Delay After DMS Greeter Login When Using hypr.lua
- Dominant language
- QML
- Stars
- 8.1k
- Forks
- 515
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 102
Description
### Compositor
Hyprland
### Distribution
CachyOS
### If Other, please specify
_No response_
### Select your Installation Method
DankInstaller
### Was this your original Installation method?
Yes
### If no, specify
_No response_
### dms doctor -vC
## DMS Doctor Report
**System**
- [ok] Operating System: CachyOS
- ID: cachyos, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
**Versions**
- [ok] DMS CLI: dms v1.5.3
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.0 (revision , distributed by Arch Linux)
- /usr/bin/qs
- [ok] DMS Shell: v1.5.3
- /usr/share/quickshell/dms
**Installation**
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms
**Compositor**
- [ok] Hyprland: 0.56.1
- /usr/bin/hyprland
- [info] Active: Hyprland
- [ok] Background Blur: Supported
- Compositor supports ext-background-effect-v1
**Quickshell Features**
- [ok] Polkit: Available
- Authentication prompts
- [ok] IdleMonitor: Available
- Idle detection
- [ok] IdleInhibitor: Available
- Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
- Allow shortcut management (niri)
- [ok] BackgroundBlur: Available
- Background blur API support in Quickshell
**Optional Features**
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [warn] cups-pk-helper: Not available (install cups-pk-helper)
- Printer management
- [info] I2C/DDC: No monitors detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (5 formats)
- Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [warn] kimageformats: Not installed
- AVIF, HEIF, JXL support
- [ok] Terminal: kitty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [info] khal: Not installed
- Calendar events
- [ok] danksearch: Installed
- File search
- [info] dankcalendar: Not installed
- Calendar app
- [info] fprintd: Not installed
- Fingerprint auth
**Config Files**
- [ok] settings.json: Present
- /home/drakonus/.config/DankMaterialShell/settings.json
- [info] clsettings.json: Not yet created
- /home/drakonus/.config/DankMaterialShell/clsettings.json
- [info] plugin_settings.json: Not yet created
- /home/drakonus/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/drakonus/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/drakonus/.cache/DankMaterialShell/dms-colors.json
**Services**
- [error] dms.service: enabled, inactive
- [ok] greetd: enabled
**Environment**
- [info] QT_QPA_PLATFORMTHEME: Not set
- [info] QS_ICON_THEME: Not set
- [warn] XDG_MENU_PREFIX: hyprland- (menu file not found)
- Dolphin 'Open with…' dialog may be empty. Ensure /etc/xdg/menus/hyprland-applications.menu exists.
**Fonts**
- [ok] Normal Font: JetBrainsMono NF
- Available
- [ok] Monospace Font: JetBrainsMono NF
- Available
---
**Summary:** 1 error(s), 3 warning(s), 31 ok
### Description
I'm a new user of DMS, I wanted to use hypr.lua for the dms-greeter instead of just the default hyprland one (which is in .conf) since it gives out the deprecated warnings. However, this makes a very long (8-10+ seconds) delay of starting the dms process after logging in. I have tried everything I could with Gemini's help since the documentation for dms-greeter is pretty much non-existent for troubleshooting.
### Expected Behavior
_No response_
### Steps to Reproduce
1. Add the default official hypr.lua config to /etc/greetd/ and use the same script.
2. Change the command to be like the one in the official documentation: command = "dms-greeter --command hyprland -C /etc/greetd/hypr.lua"
3. Restart greetd service using "sudo systemctl restart greetd"
### Error Messages/Logs
Aug 05 22:45:51 drakonus-cachy greetd[8727]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "dms-greeter --command hyprland -C /etc/greetd/hypr.lua", user: "greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Aug 05 22:48:10 drakonus-cachy greetd[10396]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "dms-greeter --command hyprland -C /etc/greetd/hypr.lua", user: "greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Aug 05 22:49:22 drakonus-cachy greetd[12343]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "dms-greeter --command hyprland -C /etc/greetd/hypr.lua", user: "greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
### Screenshots/Recordings
_No response_
Contributor guide
Research direction
Start with the dms-greeter invocation using --command hyprland and -C /etc/greetd/hypr.lua, then reproduce the delay by restarting greetd. Compare the reported startup timing with the greetd journal logs; done means identifying and fixing the cause of the 8–10+ second delay when using hypr.lua.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100