igneum/packaging/ota/drivers.json
igneum-labs d00772bf20 Driver check: the app detects a missing or old driver per card and installs it on one click from the vendor's own server (branch driver-check, 7 October 2026)
the project lead: can the drivers be packaged with the miner, for all cards, with the system knowing which to install if not
present. Not bundled: detected and installed on one click. A per-vendor table rides the signed manifest (drivers.json:
min_version, the version on offer, the vendor's URL, size, sha256 and its source page, the silent arguments, the
restart exit codes, the Authenticode signer, the Linux and HiveOS package), validated by the signer and the app alike
(src/drivertable.rs, shared), written to <app data>/drivers.json by ota.rs. Each card's driver version is read at
every detection (nvidia-smi's driver_version; Windows' DriverVersion for AMD and Intel) and compared; a missing or
old driver puts the offer on the card's row, on the dashboard and on the first-run list. The click downloads with
curl (resume), checks size, sha256 and the Authenticode subject, runs the installer through one elevated prompt
(platform::elevated_command, the PC 1 driver job's shape), reports restart required with a Restart now button, and
never restarts by itself; the miners keep mining. macOS: no step; Linux and HiveOS: the package line. Dry run through
IGNEUM_DRIVER_DRY_RUN or the table. Tests: the table, the versions, the offers per tier, the exit codes, the
Authenticode verdicts, the download against a mocked vendor server on 127.0.0.1, the UI's strip per state; the mock's
drivers scenarios; captures light and dark in docs/plans/driver-check-shots. publish-manifest.sh --drivers carries the
table. Also the doubled #[test] in detect.rs from the cherry-pick.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
(cherry picked from commit 3f0ef65786)
2026-10-07 13:09:46 +00:00

60 lines
2.7 KiB
JSON

{
"updated": "2026-10-07",
"note": "The per-vendor driver table (branch driver-check). The app installs a driver on one click from the vendor's own server, checked against the sha256 and the Authenticode signature; it never ships one. The Intel row is measured (PC 1, 7 October 2026: the file's sha256 after the SHA512 Intel prints matched). The NVIDIA and AMD rows carry the release version read from the vendor's page on 7 October 2026 with their sizes approximate and a placeholder sha256 of zeros, which the app refuses to install (the download's sha256 never matches): they go live when the file's sha256 is read from the vendor's page and written here. A row's min_version is what the worker needs (NVIDIA: CUDA 12.8 = driver 570 or newer; AMD: Adrenalin 25.x = 32.0.32000 or newer; Intel: the Arc driver with the rotate fold the worker rewrites, 32.0.101.9034 or newer).",
"vendors": {
"nvidia": {
"min_version": "570.00",
"version": "581.57",
"url": "https://us.download.nvidia.com/Windows/581.57/581.57-desktop-win10-win11-64bit-international-dch-whql.exe",
"size": 1012345678,
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"hash_source": "https://www.nvidia.com/en-us/drivers/ (the download page prints the sha256 under the file; approximate until read)",
"args": [
"-s",
"-noreboot"
],
"reboot_codes": [
1
],
"signer": "NVIDIA",
"linux_package": "nvidia-driver-570",
"hive_package": "nvidia-driver-update 570"
},
"amd": {
"min_version": "32.0.32000.0",
"version": "26.9.2",
"url": "https://drivers.amd.com/drivers/whql-amd-software-adrenalin-edition-26.9.2-win10-win11-sep2026.exe",
"size": 912345678,
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"hash_source": "https://www.amd.com/en/support/download/drivers.html (the download page prints the sha256; approximate until read)",
"args": [
"-install",
"-silent"
],
"reboot_codes": [
3010
],
"signer": "Advanced Micro Devices",
"linux_package": "amdgpu-install --usecase=opencl",
"hive_package": "amd-ocl-install 26.9"
},
"intel": {
"min_version": "32.0.101.9034",
"version": "32.0.101.9034",
"url": "https://downloadmirror.intel.com/929959/gfx_win_101.9034.exe",
"size": 932631144,
"sha256": "72ba7eea08a0cc18650603976ff9433dfdf84d23d4cbbee662a4df9f2856ae98",
"hash_source": "https://www.intel.com/content/www/us/en/download/785597/ (SHA512 3fc6f9b4...3cf3f0 on the page; the sha256 is of the same file, read on PC 1 on 7 October 2026)",
"args": [
"-s"
],
"reboot_codes": [
14,
1014
],
"signer": "Intel",
"linux_package": "intel-opencl-icd",
"hive_package": "intel-opencl-icd (apt)"
}
}
}