mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[PR #134] ad107: admit 10de:28a1 (RTX 4050 Laptop, AD107M) and document Optimus D3cold power-rail trap #140
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#140
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?
📋 Pull Request Information
Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/134
Author: @DannyBaanks
Created: 11/3/2026
Status: 🔄 Open
Base:
main← Head:canary-28a1-ad107📝 Commits (9)
9d42480ad107: admit 10de:28a1 (RTX 4050 Laptop, AD107M) under ad107_experimental0526169docs: add 10de:28a1 HP Victus canary report (transactional yes, 1.00x rate)12ec500docs(28a1): demonstrate 2.00x unlock and Optimus D3cold power-rail trap6e1035cdocs(28a1): clarify DynamicPowerManagement=0x00 over udev power/control=ond19234edocs(readme): document fork enhancements, baseline divergence and add spanish edition1a71a29docs: audit AD107M claims and polish bilingual README0da2bb6docs: audit AD107M claims and polish bilingual READMEa577700docs(28a1): regenerate cuBLAS table from raw evidence and lead with mediansd59fb44docs(28a1): add repetition and D3cold diagnosis follow-up📊 Changes
183 files changed (+8690 additions, -4 deletions)
View changed files
📝
README.md(+100 -2)➕
README_es.md(+161 -0)➕
docs/ada-28a1-report.md(+302 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/README.md(+76 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/SHA256SUMS(+138 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/SUMMARY.txt(+97 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/SHA256SUMS.local-unredacted(+11 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/env.txt(+7 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/gemm.jsonl(+6 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/hashes.txt(+3 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/mma.txt(+9 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/numerical.txt(+7 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/sm-rates.json(+1 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/smi_after.txt(+97 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/smi_before.txt(+97 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/steps.txt(+5 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/telemetry.csv(+383 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_1/tensor.json(+1 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_2/SHA256SUMS.local-unredacted(+11 -0)➕
docs/evidence/ada28a1-followup-2026-11-04/boot_stock_2/env.txt(+7 -0)...and 80 more files
📄 Description
Overview
This pull request admits the HP Victus RTX 4050 Laptop GPU (
10de:28a1, AD107M rev a1, 20 SMs) underad107_experimentaland documents a crucial operational trap affecting hybrid / Optimus laptops: the Optimus D3cold Power-Rail Trap and its resolution via runtime power management configuration.Full test suite verification (
make test) passes clean (33 tests, 0 failures, 3 skipped PyCryptodome optional tests). All hardware benchmarks and evidence artifacts are committed and hashed with SHA-256.1. Silicon & Device Admission
10de:28a1, AD107M rev a1, 20 SMs, 6 GB VRAM).10de:28e1, split by OEM vendor/board configuration.0x28a1tokernel/gpu_unlock/arch_610.h,unlock_610.c,main.c.tools/print_boot_option.py.tests/test_ad102_kernel.c,tests/test_main.c, andtests/test_unlock_adapter.c.2. Key Discovery: The Optimus D3cold Power-Rail Trap
On hybrid/Optimus laptops where the desktop / display server runs on the integrated GPU (e.g. AMD Radeon 760M iGPU):
The Issue:
With standard driver defaults (
NVreg_DynamicPowerManagement=0x02), the idle NVIDIA dGPU enters runtime D3cold (ACPI LNXPOWER:00=0,Video Memory: Off) seconds after boot.Upon waking from D3cold for compute, BAR0 inspection via
gpu_peekdemonstrates that the hardware unlock registers (SS0=0x53123046,SS1=0x3,FEAT_READOUT_1=0x00410080) are wiped back to half-rate fuses.The GSP-RM Cache False-Positive Trap:
With
NVreg_PreserveVideoMemoryAllocations=1, GSP-RM restores its cached boot-time OBJGR state. Consequently,tools/read_sm_rates.py(via client control0x20801230) continues to report a cached0 0 0(full rate), giving a false-positive indication of 2.00× while physical SM execution runs at stock 1.00× rate (demonstrated across matched runs 2 and 3).The Solution & Power Management Clarification:
options nvidia NVreg_DynamicPowerManagement=0x00in/etc/modprobe.d/inhibits runtime D3cold, fully preservingFEAT_OVR_PLM=0xffffffff,SS0=0x88888888,SS1=0x8, andFEAT_READOUT_1=0x00000000across all idle cycles and compute invocations.DynamicPowerManagement=0x00vs udevpower/control="on":We explicitly document that setting
DynamicPowerManagement=0x00is superior to forcing PCI sysfspower/control="on". Whilepower/control="on"locks the card in P3 (1755 MHz / ~9.7 W) and generates spuriousGPS ACPI DSM/NV_ERR_NO_MEMORYwarning logs whenever NVML opens/dev/nvidia0,DynamicPowerManagement=0x00cleanly allows GSP-RM to drop to P8 idle (210 MHz / ~1.6 W) with silent cooling fans while retaining the 2.00× tensor speedup.WPR2_HIto0x0.3. Matched Hardware Benchmarks (HP Victus
10de:28a1)Tested on kernel
7.0.0-42-generic, driver580.178.04open kernel module:A. Tensor Modes Runner (
tensor_modes_driver_runner)B. Microbenchmarks (
mma_bench 20000 1)C. cuBLAS GEMM (
gemm_bench)validate_gemm: 6/6 exact numerical matches, 0 failures.4. Evidence Bundle & Integrity
All raw terminal outputs, selector states, register dumps, and benchmark logs are stored in
docs/evidence/ada28a1/with verified checksums indocs/evidence/ada28a1/SHA256SUMS.Verified clean against
sha256sum -c docs/evidence/ada28a1/SHA256SUMS.Report document available at
docs/ada-28a1-report.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.