Commit Graph
14 Commits
Author SHA1 Message Date
Zagitta 6081407b31 Various fixes
CI / inputs (push) Canceled after 0s
CI / module (archlinux:latest) (push) Canceled after 0s
CI / module (debian:12) (push) Canceled after 0s
CI / module (debian:13) (push) Canceled after 0s
CI / module (fedora:43) (push) Canceled after 0s
CI / module (fedora:latest) (push) Canceled after 0s
CI / module (ubuntu:22.04) (push) Canceled after 0s
CI / module (ubuntu:24.04) (push) Canceled after 0s
CI / module (ubuntu:26.04) (push) Canceled after 0s
CI / package (archlinux:latest) (push) Canceled after 0s
CI / package (debian:12) (push) Canceled after 0s
CI / package (debian:13) (push) Canceled after 0s
CI / package (fedora:43) (push) Canceled after 0s
CI / package (fedora:latest) (push) Canceled after 0s
CI / package (ubuntu:22.04) (push) Canceled after 0s
CI / package (ubuntu:24.04) (push) Canceled after 0s
CI / package (ubuntu:26.04) (push) Canceled after 0s
Cloeses #54 #151 #44 #29 #171 #56 #92
2026-10-26 20:17:54 +01:00
Zagitta 09305c468f Refactor driver to be recipe driven. 2026-10-26 19:47:02 +01:00
Zagitta ece2629c97 Update funding 2026-10-26 18:05:04 +01:00
Zagitta 4189b17711 Revert main to working state at c274e74
Revert commits 291f7fa and fc83321. Restore the complete tracked tree at c274e74981 while preserving main history.
2026-10-24 02:41:06 +02:00
Zagitta 291f7fa289 Remove clanker nonsense 2026-10-23 23:28:01 +02:00
Zagitta fc83321585 Refactor for broader card support and multi PLM writes 2026-10-23 22:02:58 +02:00
ZagittaandClaude Opus 5.5 c274e74981 Unlock the cards again after resume from suspend
Suspend to RAM powers the cards off, which resets the speed selectors. A
PM_POST_SUSPEND notifier, ahead of nvidia's, runs the unlock again on every
card unlocked at boot while nvidia still has it suspended. A card that kept
power, or that nvidia has already resumed, is left as it is.
gpu_unlock.resume=0 turns this off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:52:50 +02:00
ZagittaandClaude Opus 5.5 a9b0c75bb7 Add GA103 and remaining desktop GA106 cards
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:41:34 +02:00
ZagittaandClaude Opus 5.5 67f575b730 Add FUNDING.yml for the repo Sponsor button
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:34:59 +02:00
ZagittaandClaude Opus 5.5 258f38ad4e Rebuild the initramfs on install and removal for RPM and Debian
Neither package put gpu_unlock into the initramfs when it was installed:
the RPM only ran dkms add, so the module was not even built until the
next boot or kernel update, and the Debian package built it but never
ran update-initramfs. Removing either left the module in the images.

RPM:
- %posttrans builds the module for every kernel that has headers, not
  just the running one (a kernel updated but not yet booted, or a
  chroot), and installs it with a single dkms call. Fedora's and EPEL's
  dkms then regenerate the images through post_transaction; without
  that, dracut rebuilds the images of the kernels that can load it.
- %postun rebuilds every image that still carries gpu_unlock: dkms
  remove regenerates them while the dracut drop-in is still installed.
- %preun now also removes the DKMS entry on upgrade (--rpm_safe_upgrade
  keeps a same-version one), and %post drops entries that older packages
  left behind.
- dkms.conf sets NO_WEAK_MODULES: RHEL's weak-modules cross-linked one
  kernel's build into the others, and on removal left dangling links
  that made dracut fail for those kernels. %postun removes any link a
  kernel package's weak-modules run still created.

Debian: postinst and postrm run update-initramfs -u -k all.

Tested in AlmaLinux 10.2 containers with three kernels (fresh install,
1.0.0-1 to 1.0.0-2 and to 1.0.1 upgrades, removal, post_transaction
disabled) and in Debian trixie (install, reinstall, removal).

Supersedes #8, which reported the RPM half of this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 03:51:32 +02:00
Zagitta 1c88a0ccde Improve readme and explain the exploit 2026-10-23 03:51:32 +02:00
Zagitta 1799023e1d Add support me info 2026-10-21 20:46:04 +02:00
Zagitta bb1088b6b5 Add all GA102 and GA104 device ids based on user reports 2026-10-21 03:31:51 +02:00
Zagitta 0ebdb1c630 Initial public release 2026-09-28 22:29:37 +02:00