Whitelist librsvg/rav1e/libdovi, use native ffmpeg/mpv/gst-libav, and update docs
This commit is contained in:
1 parent
ac76431621
commit
30348132fa
45 files changed
+94
-1486
No files matched your search
@@ -19,10 +19,11 @@ Configured in [kernel/configs/geminux-mt6797x.config](file:///home/lux/proj/gemi
|
||||
|
||||
All background system services avoid wake-up timers and polling loops:
|
||||
|
||||
- **`geminux-powerd`**: Sleeps indefinitely in `epoll_wait()` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`, keyboard/touch/pointer activity), `KOBJECT_UEVENT` netlink (filtered strictly to `input`, `power_supply`, and `drm` subsystems), `/run/geminux/powerd.sock`, and a lazy-rearming `timerfd`; caches applied CPUfreq/profile state to avoid redundant sysfs and `/run/geminux/power-profile` rewrites; implements two-stage screensaver dimming and auto-lock/blank or suspend strictly timed from the last active user input (`dim_timeout_s` / `suspend_timeout_s`). Before entering `/sys/power/state`, it unloads `mt6797_consys` (and reverse dependents `btmt6797`, `radio_mt6797`, `gnss_mt6797`, `mac`) so `mt6797_consys_prepare()` no longer refuses suspend with `-EBUSY` and the `CONN`/`VCN*` rails power down cleanly; on resume, it asynchronously reloads them while preserving Bluetooth `rfkill` soft-block state and verifies `SW_LID` before re-enabling the backlight.
|
||||
- **`geminux-powerd`**: Sleeps indefinitely in `epoll_wait()` over `/dev/input/event*` (`SW_LID`, `KEY_POWER`, keyboard/touch/pointer activity), `KOBJECT_UEVENT` netlink (filtered strictly to `input`, `power_supply`, and `drm` subsystems), `/run/geminux/powerd.sock`, and a lazy-rearming `timerfd`; caches applied CPUfreq/profile state to avoid redundant sysfs and `/run/geminux/power-profile` rewrites; implements two-stage screensaver dimming and auto-lock/blank or suspend strictly timed from the last active user input (`dim_timeout_s` / `suspend_timeout_s`). Before entering `/sys/power/state`, it unloads `mt6797_consys` (and reverse dependents `btmt6797`, `radio_mt6797`, `gnss_mt6797`, `mac`) so `mt6797_consys_prepare()` no longer refuses suspend with `-EBUSY` and the `CONN`/`VCN*` rails power down cleanly; on resume, it uses retry-hardened async CONSYS reload while preserving Bluetooth `rfkill` soft-block state and verifies `SW_LID` before re-enabling the backlight. In hardware Airplane Mode (`Fn+F` / `geminux-power-ctl airplane on`, persisted under `/var/lib/geminux/airplane-mode`), `geminux-powerd` keeps the CONSYS Wi-Fi/BT kernel modules unloaded and places MD1 in `AT+CFUN=4` flight mode while leaving `usb0` active.
|
||||
- **`geminux-statusd`**: Uses `signalfd` (`SIGUSR1`), `RTMGRP_LINK` netlink, filtered `KOBJECT_UEVENT` (`power_supply` and `net` only), `inotify`, and a minute-aligned `timerfd`; deduplicates root `WM_NAME` updates (`XStoreName`) so `dwm` never repaints when the bar text is unchanged, with zero child shell forks.
|
||||
- **Display & terminal idle efficiency**: [10-geminux-gpu.conf](file:///home/lux/proj/geminux/overlay/rootfs/etc/X11/xorg.conf.d/10-geminux-gpu.conf) uses `AccelMethod "none"` + `ShadowFB "true"` + `TearFree "true"` for rotated `SSD2092` scanout, avoiding Glamor fence spin-waits, and `st` disables its cursor-blink timeout when unfocused so idle XLibre CPU usage remains near `0%`.
|
||||
- **`geminux-touchd`**: Event-driven XInput 2.2 multi-touch gesture recognizer with zero polling loops.
|
||||
- **`geminux-ccci-daemon` & `geminux-modem-ctl`**: Event-driven `epoll_wait()` over `/dev/ccci_*`, filtered `ccci` uevents, AT port, and netlink; enter completely idle sleep when no modem activity is pending.
|
||||
- **`geminux-ccci-daemon`, `geminux-modem-ctl` & `geminux-imsd`**: Event-driven `epoll_wait()` over `/dev/ccci_*`, filtered `ccci` uevents, AT port, `/run/geminux/imsd.sock`, SIP/ESP sockets, and netlink; enter completely idle sleep when no modem activity is pending, and `geminux-imsd` arms its 20 ms RTP `timerfd` strictly during active calls.
|
||||
- **`geminux-bt-obex`, `geminux-leds` & `geminux-lock`**: Event-driven GLib/GDBus and `epoll_wait()` + `KOBJECT_UEVENT` control without periodic polling. `geminux-leds` keeps the back AW9120 cover strip (`rgb:indicator-1..5`) off (`0 mA`) when idle or at 100% charge, lighting only `rgb:indicator-6` during active battery charging unless manually overridden. `geminux-lock` uses a `15 s` refresh interval once input is grabbed and redraws only when clock minute/date or battery status changes.
|
||||
|
||||
## Cluster gating and profiles
|
||||
|
||||
Reference in new issue
Block a user