Commit Graph
30 Commits
Author SHA1 Message Date
Zagitta ece2629c97 Update funding 2026-10-26 18:05:04 +01:00
Simon 990a14e9b7 Merge pull request #160 from nklowns/add-ga106m-2560
Add GA106M RTX 3060 Laptop (10de:2520, 10de:2560)
2026-10-26 14:05:49 +01:00
Simon 5721707133 Merge pull request #162 from viwe-monai/docs-tested-cards-reports
docs: add RTX 3090 reports #148, #152, #155, #158 to the tested cards table
2026-10-26 14:05:12 +01:00
Simon c50982d04d Merge pull request #140 from lemonaide152/readme-tested-3070-lhr
README: add RTX 3070 LHR (10de:2488) to the tested cards table
2026-10-26 14:04:52 +01:00
viwe-monai 2e4af94437 docs: add RTX 3090 reports #148, #152, #155, #158 to the tested cards table
Four compatibility reports landed on 10de:2204 since the table last listed
one (#33), all "Unlocked, and FP16/BF16 got faster":

- #148  MSI Suprim X 3090, Manjaro, mkinitcpio, driver 615.78.08
- #152  2x EVGA RTX 3090, Proxmox/LXC, vfio
- #155  ASUS ROG Strix RTX 3090, Ubuntu 26.04.1, display card
- #158  2x EVGA RTX 3090 FTW3, Ubuntu 26.04, dracut, 420 W

Reports-column links only; the Result and gain columns are unchanged.
2026-10-26 13:22:10 +08:00
Noocktall Klown S.andClaude Sonnet 5.5 5b24f4466f Add GA106M RTX 3060 Laptop (10de:2520, 10de:2560)
Validated on 10de:2560 (Dell G15 5520), see #86.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 02:03:46 -03:00
lemonaide152 e9f9408e24 README: add RTX 3070 LHR (10de:2488) to the tested cards table 2026-10-25 14:16:57 -07:00
Simon af28cbbfd3 Merge pull request #37 from tsondo/claude/wizardly-turing-ecpa8w
Add a CI workflow
2026-10-24 17:47:28 +02:00
Simon 727561f059 Merge pull request #39 from tsondo/claude/wizardly-turing-ecpa8w-issue-template
Add issue forms for compatibility reports and bugs
2026-10-24 17:46:40 +02:00
Simon 5f30eaac88 Merge pull request #40 from tsondo/claude/wizardly-turing-ecpa8w-supported-cards
README: add a table of tested cards
2026-10-24 17:36:03 +02:00
Claude e9fb60a051 README: add a table of tested cards
Collects the compatibility reports in the issues into one table: chip,
card, PCI ID, result, the reported BF16 GEMM gain and links to the
reports. Below it, a short summary of which workloads speed up (GEMM,
LLM prefill, diffusion, FlashAttention) and which do not (LLM decode,
INT8), which also answers what the net result of the unlock is.

The table links to the compatibility report issue form for new reports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdZi2WF6qgD1MWLUWh95TM
2026-10-24 11:23:33 +00:00
Claude 285f167d23 Add issue forms for compatibility reports and bugs
Compatibility reports so far each use their own layout and often miss
the details needed to compare them, such as the PCI ID, VBIOS, driver
flavour, initramfs generator and the gpu_unlock commit. The
compatibility report form asks for these with the commands that print
them, plus the result, the kernel log, an optional before/after
benchmark and suspend behaviour. A shorter bug report form covers
build, install, packaging and boot-order problems.

Blank issues stay enabled for anything else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdZi2WF6qgD1MWLUWh95TM
2026-10-24 11:17:40 +00:00
Claude a83f24318f CI: install git before checking out in the module jobs
Without git, actions/checkout falls back to the GitHub archive, which
honours .gitattributes export-ignore and so leaves out .github itself.
Also move to actions/checkout@v5, which runs on Node 24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdZi2WF6qgD1MWLUWh95TM
2026-10-24 11:10:36 +00:00
Claude 5f4fcc1384 Add a CI workflow
Runs on every push and pull request:

- test: generates the firmware from the pinned inputs and runs make test,
  so the adapter test runs the whole unlock against mocked hardware
  rather than only building the components.
- module: builds gpu_unlock.ko with -Werror against the distribution
  kernel headers of Debian 12 (6.1), Ubuntu 24.04 (6.8), Debian 13
  (6.12), and the current Fedora and Arch kernels.
- package: builds the Debian, RPM and Arch packages from HEAD the same
  way make deb, make rpm and makepkg do, including their own test steps.

The pinned NVIDIA/CachyOS inputs (about 340 MB) are downloaded once per
manifest change and shared through the Actions cache. .github is already
left out of make dist by .gitattributes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VdZi2WF6qgD1MWLUWh95TM
2026-10-24 11:05:26 +00: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
Simon ac5ef6967b Merge pull request #13 from jesvs/ga106-support
Add GA106 support: GeForce RTX 3060 12GB (10de:2504) — validated
2026-10-23 12:13:27 +02:00
jesvs 28f71e926a Document GA106 support in README 2026-10-23 02:46:32 -06:00
jesvs 9eeeb4c098 Add GA106 support: GeForce RTX 3060 12GB (10de:2504)
Same GA10x boot path, register space (FEAT_OVR_PLM 0x00823804) and
family-generic booter/gsp assets as GA102/GA104. Validated on one
RTX 3060 12GB card (this commit is the test).
2026-10-23 00:14:21 -06: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
Simon 649b36c271 Merge pull request #6 from foureight84/fix-pre-driver-claim
Claim cards on older kernels and behind BME-setting firmware
2026-10-22 23:05:44 +02:00
Khoa TruongandClaude Opus 5.5 d04f5a00f3 Claim cards on older kernels and behind BME-setting firmware
Older kernels (6.8, 6.14) leave a device no driver has enabled at
PCI_UNKNOWN, so the claim refused every card with -EOPNOTSUPP. Accept
PCI_UNKNOWN when PMCSR is there to confirm D0.

Supermicro X11 AMI firmware hands every card over with BME set, whatever
its option ROM and bus master settings, so the claim refused every card
with -EBUSY. Clear it and record the cleared command as the original; the
WPR2 check still refuses a card a driver has initialised.

Tested on 4x RTX 3090 (VBIOS 94.02.59.00.94 and .DD), Ubuntu 24.04,
6.8.0-31-generic, NVIDIA 610.57.04: all four unlock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 00:43:08 -07: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