Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryo — the Alienware command center for Linux

Cryo

CI Release Docs Platform Python License Discord X Ko-fi

The Alienware command center Dell never shipped for Linux. A root daemon + QML GUI + CLI built on the mainline alienware-wmi kernel driver — no acpi_call, no out-of-tree modules — that does things stock AWCC (and the Windows original) don't:

  • Custom fan curves — temp→boost curves per fan group with hysteresis, driven through the kernel's custom platform profile, editable in the GUI or with cryoctl curve.
  • Thermal Guard — an emergency failsafe in any profile: trip temperatures force 100% fans, hold, then restore your previous state. Thresholds are editable in the GUI or with cryoctl guard.
  • CPU power cap — a per-power-mode ceiling on the CPU's performance state (intel_pstate max_perf_pct), re-applied on every mode switch and after resume. On the m18 R2, 90% ≈ 5.2 GHz single-core: about 12 W and 9 °C off the in-game CPU peak while the GPU gets more headroom.
  • Game detection — sustained dGPU load (NVML) flips the machine into G-Mode automatically, and restores your previous profile when you quit.
  • Auto profiles — battery → quiet, AC → balanced, all configurable, fired on transitions only so manual picks stick.
  • Live telemetry — CPU/GPU temps, fan RPM, dGPU load, power draw and clocks, VRAM usage with session peak and a per-process breakdown, sparkline history — in-window, in the tray tooltip, and streamable to CSV with cryoctl watch --log for long debugging sessions.
  • AlienFX lighting — 4-zone keyboard effects (protocol ported from AWCC), including a quantum cyan↔violet preset, restored on boot.

Developed on an Alienware m18 R2 (Pop!_OS); designed for the wider alienware-wmi ecosystem — the daemon probes what your machine supports at startup (profiles, G-Mode, fan boost, lighting, turbo control, NVML) and every client renders only what exists. See docs/COMPATIBILITY.md for the feature matrix and the tested-models table — reports welcome, working or not:

cryoctl doctor   # hardware/driver report with a supported / partial /
                 # unsupported verdict, made for pasting into an issue

Architecture

┌──────────────┐   unix socket (JSON lines)   ┌─────────────────────┐
│ cryo-gui     │◄────────────────────────────►│ cryod (root,        │
│ (QML + tray) │      /run/cryo.sock          │  systemd service)   │
└──────────────┘                              │  · platform profile │
┌──────────────┐                              │  · hwmon fan boost  │
│ cryoctl (CLI)│◄────────────────────────────►│  · NVML game sense  │
└──────────────┘                              │  · AlienFX ELC USB  │
                                              └─────────────────────┘

Everything thermal goes through sysfs (alienware-wmi kernel driver): the per-handler node under /sys/class/platform-profile/ and the alienware_wmi hwmon (fan*_boost, fan*_input, temp*_input). Lighting talks to the AW-ELC USB controller (187c:0550/0551) directly.

Profile names are translated per machine from what the kernel advertises. On G-Mode-capable models:

Cryo/AWCC name kernel platform_profile
performance balanced-performance
gmode performance
custom custom (manual fans)

On models without G-Mode, kernel performance is AWCC Performance and Cryo labels it accordingly.

Install

git clone https://github.com/I4cTime/cryo.git && cd cryo
sudo packaging/install.sh   # venv sync + /etc/cryo + systemd unit + icons + .desktop

Requires: the alienware-wmi kernel driver (mainline), Python 3.12+, uv, and — for game detection — the NVIDIA proprietary driver.

Use

cryoctl status | watch
cryoctl profile gmode / cryoctl gmode
cryoctl boost cpu 60
cryoctl cap 90                       # CPU cap for the current mode (cap gmode 95 for another)
cryoctl curve cpu 45:0 60:15 70:35 80:60 95:100
cryoctl guard cpu 90 / cryoctl guard show
cryoctl light quantum / cryoctl light static 00D1FF
cryoctl doctor
cryo-gui

Config lives at /etc/cryo/config.json (deep-merged over defaults in cryo/daemon/config.py) — fan curve points, guard thresholds, CPU caps per mode, auto-rule targets, game detection thresholds, socket group. The file holds only your overrides. The daemon rewrites it only when you change a setting from the GUI or cryoctl curve/guard/cap (every patch is validated first, and keys you never touched keep tracking new defaults); what the daemon changes on its own (last lighting, the curves-off latch a manual boost sets) lives in /var/lib/cryo/state.json.

After suspend, cryod-resume.service runs cryoctl reapply, which reopens the lighting controller, re-asserts the platform profile and re-initializes NVML. The daemon also retries NVML on its own every 30 s while the NVIDIA driver is missing, so starting before the driver loads is fine.

Notes

  • Lighting protocol ported from tr1xem/AWCC (GPL-3.0); this repo is GPL-3.0-or-later accordingly.
  • Game detection needs the NVIDIA driver's NVML (present with the proprietary driver). Without it, Cryo degrades to manual + AC/battery rules only.
  • Fan boost is not implemented by every model's firmware; when the startup probe finds it missing, curves and the Thermal Guard disable themselves visibly rather than failing silently.
  • On a machine the alienware-wmi driver only partly covers (no hwmon and/or no platform profiles — typically pre-2012 desktops), cryod runs in limited mode: fans, curves, the guard and power modes are out, but GPU telemetry, game detection, the turbo toggle, the CPU cap and lighting still work where present, and every client hides the rest. Only a machine with nothing at all to drive makes cryod log one plain-language reason and exit 78 without restarting. cryoctl doctor gives the same SUPPORTED / PARTIAL / LIMITED / UNSUPPORTED verdict without the daemon.

About

The Alienware command center Dell never shipped for Linux — fan curves, Thermal Guard, game-aware G-Mode, AlienFX. Kernel-native, no acpi_call.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages