Skip to content

0.1.0-25

Choose a tag to compare

@wl04 wl04 released this 04 Nov 19:36
· 152 commits to main since this release

What's new (since 0.1.0-24)

  • Security: the caller's locale is mapped to the en/ru allowlist before catalog loading, so a caller-controlled locale can no longer hang the root helper.
  • Security: the helper's diagnostic log is bounded (2000-char lines, flattened), rotated (1 MiB, one slot), and rate-limited (20 calls/60 s per sender and method).
  • 3D-controller-class GPUs (PCI 0x030200) are now detected as valid display primaries, in the UI and in the helper.
  • Reset now refreshes udev when the managed rule is already absent, so a previously failed refresh can be retried.
  • When the configured GPU is not currently detected, the app shows a distinct "Configured GPU (not currently detected)" state instead of "auto"; Apply on that state is a guarded no-op pointing at "Reset to auto".
  • The polkit policy is fixed (a single block, as the DTD requires) and is validated during every build.
  • Udev verification now distinguishes verified / unsupported / failed: an error, timeout, or missing udevadm is no longer reported as success and never enables the fast-path logout.

Install

sudo dpkg -i gpu-switcher_0.1.0-25_all.deb

Upgrading from an older version: stop a still-running helper first —
sudo pkill -f gpu_switcher_helper.

Requires: python3 (>= 3.12), python3-gi, gir1.2-gtk-4.0 (>= 4.10),
libgtk-4-1 (>= 4.10), polkitd, dbus, udev, systemd, pciutils.

Checksum

sha256  acd49a9e0680d1e9d928b439616fe00e993d4e2b806d93db9486ca97bfc86ce0
file    gpu-switcher_0.1.0-25_all.deb