mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #20] Will it works on 4060 Laptop? #12
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#12
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 @Hoshino-Yumetsuki on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/20
It would be great if it could run on a 4060 laptop.
@Eveink commented on GitHub (Oct 25, 2026):
I have tried on 4070 mobile sku, won't work.
dmesg output
entry: plm=0xffffff8f ss0=0x20217035 ss1=0x0 wpr2_hi=0x0 AD102 permission before-firmware: WPR_CFG[0x1fa7cc]=0x4cb8f … required=1 valid=1 pci=0x286010de chip=0x196000a1 AD102 before-firmware: readout1=0x410080 fields=0 0 2 0 0 2 0 2 0 valid=1 full=0 AD102 permission after-payload: WPR_CFG=0xfffff0ff / WPR=0xffffffff / FEAT=0xffffffff required=1 valid=1 AD102 payload result: marker=0x67b00001 expected=0x67b00001 marker_ok=1 required_permissions=1 cpuctl=0x10 halted=1 selector write: SS0=0x88888888 → matched=1 ; SS1=0x8 → matched=1 AD102 selectors-applied: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 PCIe FLR returned: result=0 → post-FLR BAR ready → GFW error=0 → WPR2=1ffffe00:00000000 SS0=88888888 SS1=00000008 AD102 post-FLR: readout1=0x0 fields=0 0 0 0 0 0 0 0 0 valid=1 full=1 pci 0000:65:00.0: gpu_unlock: unlockedread vlues from device shows still half speed
{"command": "0x20801230", "rates": {"imla0":0,"fmla16":0,"dp":0,"fmla32":1,"ffma":0, "imla1":0,"imla2":1,"imla3":0,"imla4":1}, "meaning":"0=full; 1=half; 2=quarter"}@jacksonfcs commented on GitHub (Oct 25, 2026):
Answering directly: yes — tested on an RTX 4060 Laptop (AD107M,
10de:28a0), ASUS Zenbook 14 OLED, Fedora 44, kernel 7.2.11-200, stock driver 615.78.08, stock vBIOS.It unlocks, and FP16/BF16/TF32 with FP32 accumulation gained 1.79–1.90× per MHz (absolute 1.38–1.58× depending on power). FP32 SIMT and INT8 unchanged.
Three code changes were needed, and the middle one is easy to miss:
0x28a0insupported_idsga102assets, whose booter halts on Adais_ad102()On laptops there's a separate trap: fine-grained runtime D3 powers the dGPU off when idle, which resets the volatile selectors. The module verifies correctly and logs
unlocked, then the state is gone a minute later.options nvidia NVreg_DynamicPowerManagement=0x00fixes it. Any driver reload resets them too, RTD3 or not.The details the maintainer asked for (lspci -nnk, distro/kernel/driver, MUX state) are in the full report — MUX is present, currently Optimus (
gpu_mux_mode=1); dGPU-only mode untested.Full report: https://github.com/Zagitta/gpu-unlock/issues/91
@JustAResearcher commented on GitHub (Oct 26, 2026):
Thanks for asking! Yes: the RTX 4060 Laptop GPU is now supported experimentally on Linux under
ad107_experimental(28a0via PR #31 and28e0via #10; see the README table).A laptop tip from @jacksonfcs's report: set
options nvidia NVreg_DynamicPowerManagement=0x00. Otherwise runtime D3 can power the dGPU down and drop the unlock a minute after boot.@Eveink, the 4070 laptop (
2860) isn't admitted. If you retry with runtime D3 disabled and still see half rate, that would be good to know.Closing as completed.