mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #287] Unlock failure: 2070 Super (10de:1e84) #261
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#261
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 @charlesnadeau on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/287
Result
gpu_unlock never ran (no gpu_unlock lines in the log)
Card
Gigabyte RTX 2070 SUPER 8GB
PCI IDs
VBIOS version
Version 90.04.76.80.40
Is the card modified?
Stock
Distribution
Ubuntu 22.04.5 LTS
Kernel
6.8.0-138-generic
NVIDIA driver
595.99.02-0ubuntu0.22.04.1
Initramfs generator
initramfs-tools
gpu-unlock version and install method
7eb51bc, make installKernel command line
BOOT_IMAGE=/boot/vmlinuz-6.8.0-138-generic root=UUID=bd62255f-18d3-4e66-83b9-e6695a200d9f ro quiet splash zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=20 gpu_unlock.targets=all vt.handoff=7
Setup
No response
Kernel log
Benchmark before and after
No response
Suspend and resume
None
Anything else
When I start Docker with my training program, I get:
charles@paris:/mnt/ai/paris/LLMTest$ sudo docker run --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 -it --rm --network host --memory="20g" --memory-swap="35g" --ulimit nproc=65535:65535 --shm-size=16gb --log-driver syslog --log-opt syslog-address=udp://192.168.0.33:514 --log-opt tag="myllm4n" -v /mnt/ai/paris:/mnt/ai/paris -v /mnt/baculatmp:/mnt/baculatmp -w /mnt/ai/paris/LLMTest -e CUDA_VISIBLE_DEVICES=0 -e TF_XLA_FLAGS="--tf_xla_auto_jit=0" -e CUDA_CACHE_DISABLE=1 myllm4n
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running prestart hook #0: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded
I got the BIOS version with: sudo cat /sys/bus/pci/devices/0000:0a:00.0/rom | strings | grep -i "version"
My GPU is:
charles@paris:~$ sudo lspci -vvv -s 0a:00.0
0a:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1) (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited / Sapphire Technology TU104 [GeForce RTX 2070 SUPER]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 143
Region 0: Memory at f9000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at f000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (downgraded), Width x16 (ok)
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [100 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
Status: NegoPending- InProgress-
Capabilities: [250 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [258 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Capabilities: [128 v1] Power Budgeting
Capabilities: [420 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024
Capabilities: [900 v1] Secondary PCI Express
LnkCtl3: LnkEquIntrruptEn- PerformEqu-
LaneErrStat: 0
Capabilities: [bb0 v1] Physical Resizable BAR
BAR 0: current size: 16MB, supported: 16MB
BAR 1: current size: 256MB, supported: 64MB 128MB 256MB
BAR 3: current size: 32MB, supported: 32MB
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
@charlesnadeau commented on GitHub (Nov 2, 2026):
Tried the patch as described there https://github.com/Zagitta/gpu-unlock/issues/242#issuecomment-6486256425
but still got:
charles@paris:/mnt/ai/paris/LLMTest$ journalctl -k -b | grep -i gpu_unlock
Nov 02 14:35:55 paris kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-138-generic root=UUID=bd62255f-18d3-4e66-83b9-e6695a200d9f ro quiet splash zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=20 gpu_unlock.targets=all vt.handoff=7
Nov 02 14:35:55 paris kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-138-generic root=UUID=bd62255f-18d3-4e66-83b9-e6695a200d9f ro quiet splash zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=20 gpu_unlock.targets=all vt.handoff=7
Nov 02 14:35:55 paris kernel: gpu_unlock: loading out-of-tree module taints kernel.
Nov 02 14:35:55 paris kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=claim device=0x1e84 family=TU102/TU104/TU106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=layout fb=0x200000000 vga=0x1fffe0000 frts=0x100000 wpr=0x1f8900000..0x1fffe0000 boot=0x1ffedf000 gsp=0x1fe2e0000 heap=0x1f8a00000
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=dma booter=59136 payload=0xfa00 pages=7179 meta=0xa20f000 sig=0xa220000 stock=0xa230000 boot=0xa231000
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x4 ss1=0x7 wpr2_hi=0x0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: failure unlock_transaction_fwsec:925 error=-19 family=TU102/TU104/TU106 payload=tu102-v67 state=0 index=0 attempt=0 target=0x0 value=0x0 last_mmio=0x110100:0x10 valid=1 bar=1
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: plm feat=0xffffff8f rd=0xf wr=0x8 src=0xfffff rv=1 wv=1 wpr_cfg=0xbadf5040 wpr=0xbadf5040 lock=0xbadf5040 ss0=0x4 ss1=0x7
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: pci cmd=0x7 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xf9000000,0xd000000c,0x0,0xe000000c,0x0,0xf001 last_pci=0:0x4:0x7:0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: resources retained=0 pages=7179/7179 dma_saved=0xffffffff/0xffffffff dma_now=0xffffffff/0xffffffff firmware_started=1 master=1 quiesced=0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: failure unlock_transaction_unwind:372 error=-16 family=TU102/TU104/TU106 payload=tu102-v67 state=0 index=0 attempt=0 target=0x0 value=0x0 last_mmio=0x1fa7c8:0xbadf5040 valid=1 bar=1
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: plm feat=0xffffff8f rd=0xf wr=0x8 src=0xfffff rv=1 wv=1 wpr_cfg=0xbadf5040 wpr=0xbadf5040 lock=0xbadf5040 ss0=0x4 ss1=0x7
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: pci cmd=0x3 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xf9000000,0xd000000c,0x0,0xe000000c,0x0,0xf001 last_pci=0:0x4:0x3:0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: resources retained=1 pages=7179/7179 dma_saved=0xffffffff/0xffffffff dma_now=0xffffffff/0xffffffff firmware_started=1 master=0 quiesced=0
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=handoff ret=-19 state=0 retained=1 pages=7179/7179 cleanup=-16
Nov 02 14:35:55 paris kernel: pci 0000:0a:00.0: gpu_unlock: unlock failed (-19)
Thanks!
Charles
@RakkiPoni commented on GitHub (Nov 5, 2026):
Hi @charlesnadeau, thanks for the detailed report. Your tests were run before the loader wait landed (
9422be4, Nov 3). Since then, Ledzpg has the same card (2070 SUPER, 10de:1e84) unlocking 6/6 with it. Could you retry with the branch from #294?git clone -b turing-tu10x-unlock https://github.com/RakkiPoni/gpu-unlock
cd gpu-unlock && make && sudo make install
Please do a full power-off before testing, not just a reboot, and post dmesg | grep gpu_unlock whatever the result. Your -19 at the FWSEC stage looks different from the -110 timeouts the wait fixes, so if it still fails, that log is what we need.
@arketec commented on GitHub (Nov 7, 2026):
@RakkiPoni I tried this branch turing-tu10x-unlock from your repofor my RTX 2070 (TU106) and it still fails for me with a similar issue. This is after a full shutdown.Here is my dmesg
Update: This case was user error on my part. i built the wrong branch locally.
I tried again, and also added in Ledzpg's suggestion in #242 made here
This seemed to work