Sensoren & Konfiguration
seglcd live und seglcdd lesen die Sensoren mit demselben Code (src/SegLcd.Linux). Die LB360-S zeigt nur CPU-
und GPU-Temperatur (ganzzahlig in °C, max. 99); die übrigen Werte werden wie bei der Original-Software mitgesendet.
Die Sensoren werden alle sample_interval_ms (1000) gelesen; gesendet werden die letzten Werte alle
update_interval_ms (250, max. 400 – sonst schaltet das Display ab).
Quellen
| Feld | Quelle | Standard (erster Treffer) |
|---|---|---|
| CPU-Temperatur | hwmon | k10temp:Tctl, zenpower:Tdie, zenpower:Tctl, coretemp:Package id 0 |
| CPU-Auslastung | /proc/stat | fest |
| CPU-Leistung | RAPL oder hwmon | rapl, zenpower:SVI2_P_Core+zenpower:SVI2_P_SoC |
| CPU-Takt | cpufreq scaling_cur_freq aller Kerne | Durchschnitt (cpu_clock_mode) |
| CPU-Spannung | hwmon | zenpower:SVI2_Core |
| GPU-Temperatur | hwmon oder NVML | amdgpu:edge, nvml:temperature, xe:pkg |
| GPU-Auslastung | DRM oder NVML | drm:busy, nvml:usage |
| GPU-Leistung | hwmon, NVML oder RAPL | amdgpu:PPT, nvml:power, rapl:uncore |
| GPU-Takt | hwmon, NVML oder DRM | amdgpu:sclk, nvml:clock, drm:freq |
| Lüfter, Pumpe | hwmon | keiner – hängt vom Mainboard-Anschluss ab |
| RAM-Auslastung | /proc/meminfo | fest |
Fehlende oder nicht lesbare Werte werden als 0 gesendet.
Hinweise:
- CPU-Leistung: RAPL ist die genaue Paketleistung (wie in btop), aber nur für root lesbar
(PLATYPUS). Die optionale udev-Regel
öffnet sie für die Gruppe
rapl. Ohne RAPL ist zenpowers Core + SoC eine Näherung; k10temp hat keinen Leistungssensor. - Intel:
coretempfür die Temperatur, RAPL für die Leistung; integrierte GPUs: Takt überdrm:freq, Leistung überrapl:uncore, keine Temperatur. - NVIDIA: über NVML (
libnvidia-ml.so.1, zur Laufzeit geladen); Lüfter nur in Prozent. - Hybrid-Grafik: die GPU explizit konfigurieren (
nvml1:…,drm0:freq).
Sensor-Angaben
Dieselbe Syntax gilt für CLI-Optionen, config.toml und D-Bus SetSensor:
| Angabe | Beispiel | Bedeutung |
|---|---|---|
chip:label | k10temp:Tctl, it8686_31050607:fan5 | hwmon-Sensor – stabil, bevorzugen |
hwmonN/name | hwmon5/fan1 | hwmon-Pfad (die Nummer kann sich beim Neustart ändern) |
a+b | zenpower:SVI2_P_Core+zenpower:SVI2_P_SoC | Summe |
rapl[:domäne] | rapl, rapl:uncore | RAPL-Leistung: package (Standard), core, uncore, dram, psys |
nvml[N]:wert | nvml:temperature | NVIDIA-GPU N: temperature, power, clock, memclock, usage, fan |
drm[N]:wert | drm:busy | DRM-Karte N: busy, freq |
| leer | "" | automatisch (Standards oben) |
seglcd sensors listet alle verfügbaren Quellen mit Angabe und aktuellem Wert; „(Rechte)“ kennzeichnet einen nicht
lesbaren RAPL-Zähler.
Lüfter und Pumpe: Handbuch oder BIOS des Mainboards benennen die Anschlüsse (CPU_FAN, AIO_PUMP, …). Die Pumpe
der LB360-S läuft konstant mit etwa 3000 RPM; die Radiatorlüfter folgen der CPU-Last.
Konfiguration
| Feld | seglcd live | config.toml / D-Bus SetSensor |
|---|---|---|
| CPU-Temperatur / -Leistung / -Spannung | --cpu-temp-sensor, --cpu-power-sensor, --cpu-voltage-sensor | cpu_temperature, cpu_power, cpu_voltage |
| GPU-Temperatur / -Auslastung / -Leistung / -Takt | --gpu-temp-sensor, --gpu-usage-sensor, --gpu-power-sensor, --gpu-clock-sensor | gpu_temperature, gpu_usage, gpu_power, gpu_clock |
| Lüfter / Pumpe | --fan-sensor, --pump-sensor | fan, pump |
| CPU-Takt-Modus | --cpu-clock-mode | cpu_clock_mode (nur TOML) |
Empfohlen: Angaben mit seglcd sensors ermitteln, mit seglcd live --show --fan-sensor … --pump-sensor … testen,
dann in config.toml eintragen und systemctl --user reload seglcdd ausführen.
config.toml
Benutzerdienst: ~/.config/seglcd/config.toml, Systemdienst: /etc/seglcd/config.toml (auch seglcdd --config);
über D-Bus gespeicherte Werte liegen in /var/lib/seglcd/config.toml und haben Vorrang – löschen, um nur /etc zu verwenden.
Eine fehlende Datei oder ein fehlender Schlüssel bedeutet den Standardwert; ungültige Werte werden protokolliert und
durch Standardwerte ersetzt. Vollständige Standarddatei:
# seglcdd – configuration
# Location: $XDG_CONFIG_HOME/seglcd/config.toml (usually ~/.config/seglcd/config.toml), or: seglcdd --config <path>
# Format: TOML 1.1. This file contains ALL options with their default values – a missing file or
# missing keys behave the same.
#
# Sensor specs (section [sensors]):
# "" automatic selection (default order in the comment)
# "chip:label" hwmon sensor, e.g. "k10temp:Tctl", "it8686_31050607:fan5" (stable, preferred)
# "hwmonN/name" hwmon path, e.g. "hwmon5/fan1" (the number may change)
# "a+b" sum, e.g. "zenpower:SVI2_P_Core+zenpower:SVI2_P_SoC"
# "rapl[:domain]" RAPL power: package (default), core, uncore, dram, psys (permissions: udev/72-rapl-energy-read.rules)
# "nvml[N]:metric" NVIDIA GPU N: temperature, power, clock, memclock, usage, fan (%)
# "drm[N]:metric" DRM card N: busy (%), freq (MHz, Intel)
# List the available sources: seglcd sensors
# Feed the display. false = send the off packet and release the device (e.g. for experiments with seglcd).
enabled = true
# Time between two packets in ms (50–400). The display turns off after about 400–500 ms without a packet.
update_interval_ms = 250
# Time between two sensor reads in ms (100–10000). In between, the last values are repeated.
sample_interval_ms = 1000
# Device path, only needed with several displays, e.g. "/dev/hidraw5". Empty = first segment LCD found.
device = ""
[sensors]
# CPU temperature. Automatic: k10temp:Tctl, zenpower:Tdie, zenpower:Tctl, coretemp:Package id 0
cpu_temperature = ""
# CPU power (W). Automatic: rapl, zenpower:SVI2_P_Core+zenpower:SVI2_P_SoC
cpu_power = ""
# CPU core voltage (V). Automatic: zenpower:SVI2_Core
cpu_voltage = ""
# CPU clock from the values of all cores: "avg" (average), "max", "min", "first" (core 0).
cpu_clock_mode = "avg"
# GPU temperature. Automatic: amdgpu:edge, nvml:temperature, xe:pkg
gpu_temperature = ""
# GPU usage (%). Automatic: drm:busy, nvml:usage
gpu_usage = ""
# GPU power (W). Automatic: amdgpu:PPT, nvml:power, rapl:uncore
gpu_power = ""
# GPU clock (MHz). Automatic: amdgpu:sclk, nvml:clock, drm:freq
gpu_clock = ""
# Fan and pump speed (RPM). No automatic selection – the mainboard header depends on the system, e.g.:
# fan = "it8686_31050607:fan1"
# pump = "it8686_31050607:fan5"
fan = ""
pump = ""