AvengeMedia / AvengeMedia/DankMaterialShell

Enabling CPU tracking in System Monitor widget make games stutter on a interval

Open
#3,107 1 comment 0 reactions 0 assignees View on GitHub
bug
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

Happens on both Niri and Hyprland

### Select your Installation Method

Distro Packaging

### Was this your original Installation method?

Yes

### If no, specify

Happens with dms-shell-git from aur too

### dms doctor -vC

Click to expand
## 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.2
- /usr/bin/hyprland
- [ok] niri: 26.04
- /usr/bin/niri
- [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
- [ok] I2C/DDC: 1 monitor(s) 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
- [info] danksearch: Not installed
- File search
- [info] dankcalendar: Not installed
- Calendar app
- [info] fprintd: Not installed
- Fingerprint auth

**Config Files**
- [ok] settings.json: Present
- /home/x4eros/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/x4eros/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/x4eros/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/x4eros/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/x4eros/.cache/DankMaterialShell/dms-colors.json

**Services**
- [warn] dms.service: Disabled
- [info] greetd: Not installed
- Optional greeter service

**Environment**
- [info] QT_QPA_PLATFORMTHEME: qt6ct
- [info] QS_ICON_THEME: Not set
- [info] XDG_MENU_PREFIX: Not set

**Fonts**
- [warn] Normal Font: 'Inter Variable' not found
- Font is not registered. Try running 'fc-cache -fv' or install the font.
- [warn] Monospace Font: 'Fira Code' not found
- Font is not registered. Try running 'fc-cache -fv' or install the font.

---
**Summary:** 0 error(s), 5 warning(s), 31 ok

### Description

Simply ticking the CPU tracking box in System Monitor Desktop Widget makes most (Helldivers 2, Doom TDA, Khazan) games stutter periodically for me. Disabling the CPU option eliminates the issue

### Expected Behavior

CPU tracking option not affecting performance at all.

### Steps to Reproduce

1. Add System Monitor widget to desktop
2. Enable CPU tracking option in widget settings

### Error Messages/Logs

_No response_

### Screenshots/Recordings

https://github.com/user-attachments/assets/36e37221-53ed-42af-8944-085232597d22

Recording added a bit of unrelated stuttering though the problem still should be visible.

Contributor guide

Open the contributing guide

Research direction

Start with the System Monitor desktop widget and reproduce the issue by enabling its CPU tracking option, comparing gameplay with CPU tracking enabled and disabled. Use the provided DMS Doctor report and recording as environment and symptom references. Done means CPU tracking remains enabled without the periodic game stuttering reported on Hyprland or niri.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.