Shelly 3.4.2 TUI & NVIDIA GPU Reset Guide
Published 2026-11-28Category: Guides
Shelly 3.4.2 adds full mouse-driven TUI, cached lists, and smarter AUR builds
Table of contents

Introduction & Key Takeaways
This edition covers two high-frequency operations scenarios: improving package-management efficiency on Arch-based desktops and servers, and establishing reliable GPU-node self-healing strategies. Shelly 3.4.2 upgrades its TUI to a fully mouse-operable interface, adds cached lists, and hardens the AUR build pipeline — lowering daily maintenance friction. Meanwhile, NVIDIA’s official nvidia-smi -r reset routinely returns not supported (exit code 3) on cloud GPUs such as the T4. Field testing shows that stopping clients, unloading kernel modules, and reloading them succeeds more often and avoids the service disruption of a hard reboot. The article consolidates version details, exact commands, failure criteria, and scenario-driven guidance for engineers managing Arch derivatives or GPU compute clusters.
Side-by-Side Parameter & Feature Comparison
| Dimension | Shelly 3.4.2 (Arch Package Manager) | NVIDIA GPU Reset in Practice (T4 & Cloud GPUs) |
|---|---|---|
| Core Version / Command | 3.4.2 | nvidia-smi -r / modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia → modprobe nvidia |
| Interaction Mode | Unified GUI / TUI / CLI; TUI gains full mouse navigation, sortable tables, repository switching | Pure CLI; requires root and zero client occupancy |
| Key Enhancements | Improved AUR build detection, shallow Git clones, recursive orphan build-dependency cleanup, Flatpak/AppImage deduplication, Landlock sandbox compatibility, localization updates | Official docs state “not guaranteed, not recommended for production”; FLR resets only a single function, preserves bus state |
| Typical Failure Symptom | Not disclosed in source | Resetting GPU ... is not supported. exit code 3, even with no processes holding the device |
| Effective Recovery Path | Not disclosed in source | 1) sudo systemctl stop <gpu-client> 2) sudo modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia 3) sudo modprobe nvidia |
| Target Audience | Arch / Manjaro / EndeavourOS desktops and headless servers | Bare-metal or GPU-passthrough cloud hosts running CUDA/AI/rendering workloads |
| Risks / Undisclosed Items | Renewal pricing, return-path routing, CLI flags, version numbers, duration/throughput benchmarks not disclosed in source | Whether VRAM ECC double-bit errors clear after reset, impact on persistence mode, success-rate variance across driver branches not disclosed in source |
Deep Dive
Shelly 3.4.2: Full Mouse TUI & AUR Build Hardening
Shelly 3.4.2 continues the visual overhaul begun in 3.3, unifying fonts, spacing, and color palette, and adds appearance settings: toggle native window decorations, customize corner radius. The settings panel is reorganized; update policy and system-tray preferences now occupy dedicated tabs. The TUI’s headline feature is full mouse operation: package tables support column sorting, column-width drag, repository-info display, and an “remove unused dependencies” checkbox during uninstall. When multiple repositories offer the same package, the source can be chosen by mouse. A list-caching layer covers official repos, AUR search results, and Flatpak listings, eliminating repeated requests on page changes. The build pipeline improves: more accurate package-archive detection, on-demand shallow Git clones to accelerate cloning, and recursive cleanup of orphan build dependencies on uninstall. Compatibility fixes address duplicate AppImage installs, reading compressed Flatpak repo files, and Landlock sandbox environments. Localization adds Swedish and updates Polish, Hungarian, and French catalogs. Full changelog is available on the upstream release page.
NVIDIA GPU Reset: Cloud T4 Decision Tree
The author reproduced nvidia-smi -r -i 0 on a healthy T4 instance, which returned Resetting GPU 00000000:00:1E.0 is not supported. (exit code 3) while nvidia-smi showed no clients holding the device. Official documentation explicitly states that reset is not guaranteed to succeed and is not recommended for production; it performs a Function-Level Reset (FLR) that clears only a single function’s state without touching the bus. The validated recovery chain is:
- Stop all GPU clients (e.g.,
systemctl stop dockeror kill training processes). - Unload modules in order:
sudo modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia. - Reload the core module:
sudo modprobe nvidia(dependent modules load automatically).
If module unload reports busy, run lsof /dev/nvidia* to locate residual processes and kill them. Post-reset, verify driver version, VRAM, and temperature via nvidia-smi. If module reload still misbehaves, or double-bit ECC errors appear, the only certain remedy is a cold reboot. The entire procedure requires no physical card reseat and no BIOS-level reset, making it suitable for remote maintenance windows.
Scenario-Based Selection & Pitfall Checklist
- Arch Daily Maintenance / Headless Server — Prefer Shelly TUI: mouse-driven search, install, uninstall, and orphan cleanup avoid memorizing
pacman/yayflags; cached lists let you browse historical results offline or on flaky connections. - Heavy AUR User — Leverage shallow Git clones and recursive orphan dependency cleanup to shorten
makepkg -siruns and prevent build-directory bloat. - GPU Cloud Instance Self-Healing Script — Embed a “detect Xid → stop container/process → module reload → health check → on failure trigger reboot API” loop; this outperforms a bare
nvidia-smi -rcall. Ensure systemd units includeExecStopPreto release the GPU. - Production Double-Bit ECC Errors —
nvidia-smi -ris officially suggested only for this scenario, yet cloud instances frequently lack support; proceed directly to cold reboot to avoid corrupting subsequent jobs with bad pages. - Pitfalls
- Shelly remains community-maintained, not in Arch official repos; snapshot
/var/lib/pacmanbefore upgrading. - Module reload clears persistence mode and MIG configuration; reapply
nvidia-smi -pm 1andnvidia-smi migcommands afterward. modprobe -rorder is fixed: unload leaf modules before the core module; reverse order yields dependency errors.- Running module reload over SSH while the GPU drives display output will black out the session; use serial console or BMC instead.
FAQ
Is Shelly 3.4.2 in the Arch official repositories?
Not disclosed in source. Shelly is a third-party project typically distributed via AUR or custom repos; verify pacman -Si shelly matches the upstream release page before installing.
Do persistence mode and MIG configuration restore automatically after module reload?
No. modprobe -r nvidia clears persistence mode, MIG GPU instances, and compute instances. After reload you must re-run nvidia-smi -pm 1 and the relevant nvidia-smi mig commands; no automated restoration is disclosed in source.
How to quickly locate processes when modprobe -r nvidia reports “Module nvidia is in use”?
Run lsof /dev/nvidia* /dev/nvidiactl /dev/nvidia-uvm* /dev/nvidia-modeset* to list PIDs holding device files, confirm with ps -fp <PID>, then kill -9 and retry unload; no automated cleanup script is disclosed in source.
Sources & References
- Linuxiac: Shelly 3.4.2 Arch Linux Package Manager Expands TUI Mouse Support (2026-11-27)
- FOSS Linux: NVIDIA GPU Reset on Linux: What Works and What Fails (2026-11-27)
Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

