mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #110] [Result Success] RTX 4090 (10de:2684, Gigabyte 1458:40bf) with Secure Boot ENABLED (MOK-signed DKMS, lockdown=integrity), Linux Mint 22.2 / 7.0.0-31, NVIDIA 595.84 open, AMD iGPU display: cold boot + warm reboot unlocked #69
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JustAResearcher/gpu-unlock-ada#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrfireflygenai on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/110
Summary
One RTX 4090 unlocked on the first AC-off cold boot, and again after an ordinary warm reboot. I used the documented
make install→install-debpath on Linux Mint 22.2 with Secure Boot left enabled (kernel lockdownintegrity). The DKMS module was signed with the machine's existing MOK, the same key the NVIDIA DKMS driver already uses, and the kernel accepted it. The reports in this repo that I found all had Secure Boot disabled, so this may be a useful data point.The card is compute-only: the monitors are driven by the Ryzen 5700G iGPU (boot VGA), as in #58.
Environment
10de:2684, Gigabyte subsystem1458:40bf, vBIOS95.02.3C.00.AB, at0000:01:00.0zara, Ubuntu 24.04noblebase), kernel7.0.0-31-generic/dev/mapper/vgmint-root)595.84open kernel modules (DKMS), CUDA 13.23.4.4-1ubuntu1(from NVIDIA's CUDA apt repo)[integrity]mainviamake installgpu_unlock.ko.zst+ all AD102 firmware present, nonvidia.koin the image, so no softdep or init-top hook was neededgpu_unlock.targets=0000:01:00.0onlySecure Boot steps
/etc/dkms/framework.confhad nomok_*lines, so I added these lines before installing: I did not test whether DKMS would have picked up the key without these lines.make install(detectedubuntuviaID_LIKE=ubuntu debian). DKMS built and signed the module for all four installed kernels (Sign command: /usr/bin/kmodsign), andupdate-initramfsregenerated all images. Host test suite: 33 tests OK, 3 skipped (optional PyCryptodome decoder).modinfo gpu_unlock→signer: localhost.localdomain Secure Boot Module Signature key. NoKey was rejectedand no module-verification messages at boot.tools/read_sm_rates.pyalso works under lockdownintegrity.It may be worth a short README note that Secure Boot works with a MOK-signed DKMS build, and that
framework.confmay need themok_*lines on Ubuntu derivatives.Cold boot (AC off ~30 s)
The stock entry selectors on this Gigabyte board are
ss0=0x1724066 ss1=0x2, which differs from the0x25117024 / 0x1in #58. The expected unlock values were still reached and survived FLR.RM getter after handoff:
nvidia-smiwas healthy, with no Xid.Warm reboot (
sudo reboot, option still set)The card came back fresh enough (
wpr2_hi=0), and the transaction ran again and succeeded:Note that the entry selectors read
0x0 / 0x0after the warm reboot, not the stock cold-boot values. The RM getter again reportsfmla32=0, andnvidia-smiis healthy.Workload (anecdotal, not a matched run)
ComfyUI, same workflow: 26 s stock → 16.31 s unlocked (~1.6×). This is not a controlled matched pair: there was no fixed power cap, no repeated runs, and model caching was not controlled. I did not run
diagnostics/benchorgemm_bench.Not tested
@TheIronWolfModding commented on GitHub (Oct 31, 2026):
Also unlocked on MSI 1462:5102 (vBIOS 95.02.3C.00.3C, driver 580.178.04, kernel 7.1.5-tiwf): cold boot entry ss0=0x21713107 ss1=0x7 wpr2_hi=0 → matched, full=1, RM getter all 0,
nvidia-smi healthy — a third distinct stock selector pair, so per-board values vary and normalising them is right; note initramfs-tools starts udev in init-top before /conf/modules,
so gpu_unlock needs an init-top preload when nvidia.ko is in the image.