[GH-ISSUE #87] Mobile AD106M (10de:2860, RTX 4070 Laptop GPU): transaction completes, post-FLR readout full=1, but tensor rate returns to half after NVIDIA driver init #51

Open
opened 2026-10-31 06:55:54 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Mwiwi on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/87

Hardware

  • Lenovo Legion Pro 5 16IRX9 (83DF, BIOS N0CN35WW), hybrid graphics: iGPU drives the display, dGPU compute-only
  • GPU: AD106M [GeForce RTX 4070 Laptop GPU] 10de:2860 rev a1, subsystem 17aa:3cf3, PCI 0000:01:00.0, 8 GiB, stock
  • Ubuntu 24.04.5 live session (no install), kernel 7.0.0-31-generic, Secure Boot off, cold power-on, nouveau blacklisted, iGPU (Intel) handled display
  • Module: upstream d28c485 + 4-line patch adding 0x2860 behind ad106_experimental (companion PR)
  • Driver after unlock: NVIDIA open 580.178.04, binds normally, no Xid

Result

The complete transaction ran on this mobile Ada part, apparently the first mobile
AD10x report:

  • payload permission writes verified (after-payload samples all-ones:
    WPR_CFG=0xfffff0ff, WPR=0xffffffff, FEAT=0xffffffff)
  • FLR survived, gpu_unlock: unlocked
  • module post-FLR readout: readout1=0x0 fields=0 ... valid=1 full=1
[ 4038.800833] AD102 permission before-firmware: WPR_CFG[0x1fa7cc]=0x4cb8f ... chip=0x196000a1
[ 4039.186452] AD102 permission after-payload: WPR_CFG[0x1fa7cc]=0xfffff0ff ... valid=1
[ 4039.186487] AD102 permission after-payload: FEAT[0x823804]=0xffffffff ... valid=1
[ 4039.552596] AD102 permission post-FLR: FEAT[0x823804]=0xffffffff ... valid=1
[ 4039.552602] AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1
[ 4039.577158] gpu_unlock: unlocked

FWSEC/mobile-ROM specifics, should they be useful for other mobile ports:
ROM chain ... FWSEC geometry: image_off=0x45b48 size=0x10500 imem=0xf700 dmem=0xd80 ... engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768

But: the rate is back at half after driver init

MMA issue-rate probe (raw CUDA driver API, all-ones inputs, output checks), same
cubin, unlocked live session vs stock native-Windows baseline:

             unlocked live    stock Windows
f16_f16        92.4 TF/s        99.4 TF/s   (FP16-accumulate, full-rate reference)
f16_f32        46.2 TF/s        49.7 TF/s   (FP16 -> FP32-accumulate)
f16acc/f32acc   2.00x            2.00x

12 consecutive runs, identical to the last digit, zero mismatches, no Xid. The
~7% absolute shift is clocks (42 W live session); the ratio is unchanged. So at
handoff the module measured full rate, and after NVIDIA RM initialization the
effective FP16/FP32-accumulate rate is half again.

Questions

  1. Is a post-init selector restoration (or any mobile-specific re-gating during RM
    init) a known behavior on laptop parts? On the desktop 2705 canary the effect
    survived driver init — is mobile firmware expected to differ?
  2. What evidence would you want from a repeat run? The dmesg above is a filtered
    excerpt (the full log was lost with the live session); a rerun can capture
    complete dmesg, tools/read_sm_rates.py output before/after driver load, and
    a pre/post-init benchmark split.
  3. Anything else mobile-specific we should check (Dynamic Boost, EC/TGP handling,
    hybrid-graphics ordering)?

Notes

  • The BAR power sensor readout after the transaction is bogus on this laptop
    ("590 W / 55 W"), consistent with the "accept N/A power limit for laptops" commit.
  • Companion PR adds 10de:2860 behind ad106_experimental following the existing
    pattern (exact PCI address, never all).
Originally created by @Mwiwi on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/87 ### Hardware - Lenovo Legion Pro 5 16IRX9 (83DF, BIOS N0CN35WW), hybrid graphics: iGPU drives the display, dGPU compute-only - GPU: AD106M [GeForce RTX 4070 Laptop GPU] `10de:2860` rev a1, subsystem `17aa:3cf3`, PCI `0000:01:00.0`, 8 GiB, stock - Ubuntu 24.04.5 live session (no install), kernel 7.0.0-31-generic, Secure Boot off, cold power-on, nouveau blacklisted, iGPU (Intel) handled display - Module: upstream `d28c485` + 4-line patch adding `0x2860` behind `ad106_experimental` (companion PR) - Driver after unlock: NVIDIA open 580.178.04, binds normally, no Xid ### Result The complete transaction ran on this mobile Ada part, apparently the first mobile AD10x report: - payload permission writes verified (after-payload samples all-ones: `WPR_CFG=0xfffff0ff`, `WPR=0xffffffff`, `FEAT=0xffffffff`) - FLR survived, `gpu_unlock: unlocked` - **module post-FLR readout: `readout1=0x0 fields=0 ... valid=1 full=1`** ``` [ 4038.800833] AD102 permission before-firmware: WPR_CFG[0x1fa7cc]=0x4cb8f ... chip=0x196000a1 [ 4039.186452] AD102 permission after-payload: WPR_CFG[0x1fa7cc]=0xfffff0ff ... valid=1 [ 4039.186487] AD102 permission after-payload: FEAT[0x823804]=0xffffffff ... valid=1 [ 4039.552596] AD102 permission post-FLR: FEAT[0x823804]=0xffffffff ... valid=1 [ 4039.552602] AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 [ 4039.577158] gpu_unlock: unlocked ``` FWSEC/mobile-ROM specifics, should they be useful for other mobile ports: `ROM chain ... FWSEC geometry: image_off=0x45b48 size=0x10500 imem=0xf700 dmem=0xd80 ... engine=0x400 ucode=9 signatures=2 versions=0x3 bytes=768` ### But: the rate is back at half after driver init MMA issue-rate probe (raw CUDA driver API, all-ones inputs, output checks), same cubin, unlocked live session vs stock native-Windows baseline: ``` unlocked live stock Windows f16_f16 92.4 TF/s 99.4 TF/s (FP16-accumulate, full-rate reference) f16_f32 46.2 TF/s 49.7 TF/s (FP16 -> FP32-accumulate) f16acc/f32acc 2.00x 2.00x ``` 12 consecutive runs, identical to the last digit, zero mismatches, no Xid. The ~7% absolute shift is clocks (42 W live session); the ratio is unchanged. So at handoff the module measured full rate, and after NVIDIA RM initialization the effective FP16/FP32-accumulate rate is half again. ### Questions 1. Is a post-init selector restoration (or any mobile-specific re-gating during RM init) a known behavior on laptop parts? On the desktop 2705 canary the effect survived driver init — is mobile firmware expected to differ? 2. What evidence would you want from a repeat run? The dmesg above is a filtered excerpt (the full log was lost with the live session); a rerun can capture complete `dmesg`, `tools/read_sm_rates.py` output before/after driver load, and a pre/post-init benchmark split. 3. Anything else mobile-specific we should check (Dynamic Boost, EC/TGP handling, hybrid-graphics ordering)? ### Notes - The BAR power sensor readout after the transaction is bogus on this laptop ("590 W / 55 W"), consistent with the "accept N/A power limit for laptops" commit. - Companion PR adds `10de:2860` behind `ad106_experimental` following the existing pattern (exact PCI address, never `all`).
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#51
No description provided.