aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-02 17:14:22 -0400
committerCraig Jennings <c@cjennings.net>2026-07-02 17:14:22 -0400
commit72c5fdf1f05a4232c6afda1371d00d2b89b65cd7 (patch)
treee6ce97bb27932870d0b3da514f790556aa159b71 /todo.org
parent24a2098dd2adf7bcfe4272c66cf105cb0234703f (diff)
downloadarchsetup-72c5fdf1f05a4232c6afda1371d00d2b89b65cd7.tar.gz
archsetup-72c5fdf1f05a4232c6afda1371d00d2b89b65cd7.zip
feat(preflight): add NVIDIA/Wayland check with driver-version gate
Installing Hyprland on an NVIDIA box silently produced a rough Wayland session. nvidia_preflight_report detects the card via modalias (DRM, then PCI display-class only), prints the required env vars and the pre-Turing AUR caveat, and checks the repo's nvidia-utils major against 535. preflight_checks aborts when the requirement can't be met and asks before continuing on a detected card. 9 unit tests over fake modalias trees and a fake pacman.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org8
1 files changed, 3 insertions, 5 deletions
diff --git a/todo.org b/todo.org
index 644ce56..1776486 100644
--- a/todo.org
+++ b/todo.org
@@ -883,14 +883,12 @@ Practical guidelines for working in public spaces
:END:
Ensure new tools integrate with the Hyprland environment and don't break workflow (the fleet is all Hyprland now; archsetup still supports DWM/X11 but no current machine uses it)
-** TODO [#B] Add NVIDIA preflight check for Hyprland
+** DONE [#B] Add NVIDIA preflight check for Hyprland
+CLOSED: [2026-07-02 Thu]
:PROPERTIES:
:LAST_REVIEWED: 2026-05-21
:END:
-Detect NVIDIA GPU and warn user about potential Wayland issues:
-- Require driver version 535+ or abort
-- Document required env vars (LIBVA_DRIVER_NAME, GBM_BACKEND, etc.)
-- Prompt to continue or abort if NVIDIA detected
+Shipped 2026-07-02 (speedrun), TDD. =nvidia_preflight_report= is a pure sed-extractable core (same harness pattern as zig-pin): modalias scan for vendor 10DE — DRM first, PCI display-class (bc03) fallback so an NVIDIA audio function can't false-trigger — then the repo's =nvidia-utils= candidate major checked against 535. Prints the Wayland guidance + env vars (LIBVA_DRIVER_NAME, GBM_BACKEND, __GLX_VENDOR_LIBRARY_NAME, ELECTRON_OZONE_PLATFORM_HINT) and the pre-Turing/AUR-legacy note. preflight_checks aborts on <535/unknown (rc 11), prompts continue/abort on a healthy NVIDIA box (rc 10), silent on non-NVIDIA (rc 0). 9 Normal/Boundary/Error tests over fake modalias trees + a fake pacman (=tests/nvidia-preflight/=, glob-discovered by test-unit — 10 suites green).
** DONE [#C] Wlogout exit-menu buttons are rectangular, not square
CLOSED: [2026-07-02 Thu]