Skip to content

1.7.0

Choose a tag to compare

@steeb-k steeb-k released this 04 Aug 00:37
· 8 commits to main since this release

Diskoria now runs on Linux as well as Windows, on both x86-64 and ARM64. The
window also adapts down to phone-sized widths, and the CPU rasterizer is
substantially faster.

Linux support

This is the first release with Linux builds. Storage enumeration, the sector
read, sector write and benchmark tests, SMART/NVMe/UFS health, background
monitoring, the tray, notifications, autostart and self-update all work there,
with platform code behind the same shared contracts the Windows build uses.

  • Drives are enumerated from sysfs, with a netlink watcher for hotplug.
  • Health comes from SG_IO/NVMe ioctls; tests use O_DIRECT.
  • Diskoria relaunches itself through polkit (pkexec) when it needs raw device
    access, and degrades rather than exits if you decline.
  • Optional background collection runs as a root systemd service, because SMART
    needs root and a desktop session should not have it. Sessions read its
    results unprivileged, so the Drive Health page works without elevation when
    the service is running.
  • The tray uses the StatusNotifierItem protocol. On stock GNOME this needs an
    AppIndicator extension.

Install with:

curl -fsSL https://raw.githubusercontent.com/steeb-k/diskoria/main/scripts/install-linux.sh | bash

The installer picks the build matching your architecture and refuses to
substitute the other one: Linux has no x86-64-on-ARM emulation, so the wrong
binary is one the kernel will not execute. The self-updater applies the same
rule, which means a machine whose architecture is missing from a release sees
"no update available" rather than being handed something that cannot run.

Portable tarballs are available for both architectures if you would rather not
run an install script; each contains the binary, desktop entry, polkit policy,
systemd units and an install script.

Responsive layout

The sidebar now collapses as the window narrows, and the minimum window size
drops from 780x580 to 380x480.

  • At 900px and wider, the full 240px sidebar, unchanged.
  • Between 560 and 900px, a 48px icon rail. Hovering it expands a labelled
    panel over the content, so the page does not reflow under the pointer.
  • Below 560px, the sidebar is replaced by a hamburger menu in the title bar,
    which carries Quit in place of the window controls that no longer fit.

Performance

The CPU rasterizer now redraws only what changed and rasterizes in parallel
scanline bands. Full-window repaints that took roughly 150ms per frame now take
under 10ms.

Fixes

  • KI-44 Diskoria could crash while being resized, replaying damage from a
    window larger than the current surface.
  • KI-48 A fallback path in the WMI partition lookup passed an argument that
    was always empty, so the fallback could not do what it was written to do.
  • KI-49 Toast notifications showed a blank icon on Windows. The icon has to
    travel in the payload; an IconUri alone was not enough.
  • KI-50 A window restored from the tray came back see-through, filling in
    only where the pointer moved over it. Hiding to the tray discards what was on
    screen, but the damage tracker reported nothing had changed, so the repaint
    was skipped. Restores now force a full repaint.
  • KI-52 Below roughly 780px wide, page text was clipped instead of wrapping.
    This included the Sector Write Test warning, which was truncated mid-sentence
    where it explains that data will be destroyed. Dialogs also hung off the edge
    of small windows. Text now wraps and dialogs are fitted to the window.
  • KI-53 The Linux CI job had never actually run, because the workflow only
    triggers on the main branch and on pull requests. Its first execution failed
    for a missing build dependency, now installed.
  • KI-54 Shell scripts and packaging files checked out with Windows line
    endings and were copied verbatim into the Linux tarball, so the bundled
    install script would have failed at its own shebang on a user's machine.
    These files are now pinned to LF.

Upgrading

Update checks remain installed-only on Windows, where the updater applies the
installer. The Linux portable binary replaces itself, so updates are always
available there. Upgrading from 1.6.0 specifically still requires running the
installer manually (KI-22).