[GH-ISSUE #287] Unlock failure: 2070 Super (10de:1e84) #261

Open
opened 2026-11-07 17:54:29 +07:00 by bsakaguchi · 3 comments
Owner

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

charles@paris:~$ lspci -nn -D -d 10de:
0000:0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1)
0000:0a:00.1 Audio device [0403]: NVIDIA Corporation TU104 HD Audio Controller [10de:10f8] (rev a1)
0000:0a:00.2 USB controller [0c03]: NVIDIA Corporation TU104 USB 3.1 Host Controller [10de:1ad8] (rev a1)
0000:0a:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller [10de:1ad9] (rev a1)

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 install

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

Setup

No response

Kernel log

charles@paris:~/Programs/gpu-unlock$ journalctl -k -b | grep -i gpu_unlock
Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: gpu_unlock: loading out-of-tree module taints kernel.
Nov 01 14:40:37 paris kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x4 ss1=0x7 wpr2_hi=0x0
Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=handoff ret=-19 state=0 retained=1 pages=7179/7179 cleanup=-16
Nov 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: unlock failed (-19)

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

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 ```text charles@paris:~$ lspci -nn -D -d 10de: 0000:0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) 0000:0a:00.1 Audio device [0403]: NVIDIA Corporation TU104 HD Audio Controller [10de:10f8] (rev a1) 0000:0a:00.2 USB controller [0c03]: NVIDIA Corporation TU104 USB 3.1 Host Controller [10de:1ad8] (rev a1) 0000:0a:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller [10de:1ad9] (rev a1) ``` ### 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 install ### 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 ### Setup _No response_ ### Kernel log ```text charles@paris:~/Programs/gpu-unlock$ journalctl -k -b | grep -i gpu_unlock Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: gpu_unlock: loading out-of-tree module taints kernel. Nov 01 14:40:37 paris kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x4 ss1=0x7 wpr2_hi=0x0 Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0 Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0 Nov 01 14:40:37 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 01 14:40:37 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 01 14:40:37 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 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: stage=handoff ret=-19 state=0 retained=1 pages=7179/7179 cleanup=-16 Nov 01 14:40:37 paris kernel: pci 0000:0a:00.0: gpu_unlock: unlock failed (-19) ``` ### 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- <MAbort- >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
Author
Owner

@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

<!-- gh-comment-id:6586731907 --> @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
Author
Owner

@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.

<!-- gh-comment-id:6665777148 --> @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.
Author
Owner

@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

❯ sudo dmesg | grep gpu_unlock             
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all
[    0.094580] Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all
[    2.965072] gpu_unlock: loading out-of-tree module taints kernel.
[    2.965569] gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
[    3.106364] pci 0000:04:00.0: gpu_unlock: stage=claim device=0x1f02 family=TU102/TU104/TU106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
[    3.107064] pci 0000:04:00.0: gpu_unlock: stage=layout fb=0x200000000 vga=0x1fffe0000 frts=0x100000 wpr=0x1f8900000..0x1fffe0000 boot=0x1ffedf000 gsp=0x1fe2e0000 heap=0x1f8a00000
[    3.144067] pci 0000:04:00.0: gpu_unlock: stage=dma booter=59136 payload=0xfa00 pages=7179 meta=0xfeddf000 sig=0xfede0000 stock=0xfedde000 boot=0xfeddd000
[    3.144830] pci 0000:04:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x100 ss1=0x5 wpr2_hi=0x0
[    3.424712] pci 0000:04: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
[    3.425358] pci 0000:04:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1
[    3.425786] pci 0000:04:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
[    3.426193] pci 0000:04: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=0x100 ss1=0x5
[    3.426837] pci 0000:04:00.0: gpu_unlock: pci cmd=0x7 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xfb000000,0xd000000c,0x0,0xe000000c,0x0,0xe001 last_pci=0:0x4:0x7:0
[    3.427492] pci 0000:04: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
[    3.428872] pci 0000:04: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
[    3.429552] pci 0000:04:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1
[    3.430015] pci 0000:04:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0
[    3.430467] pci 0000:04: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=0x100 ss1=0x5
[    3.431154] pci 0000:04:00.0: gpu_unlock: pci cmd=0x3 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xfb000000,0xd000000c,0x0,0xe000000c,0x0,0xe001 last_pci=0:0x4:0x3:0
[    3.431844] pci 0000:04: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
[    3.432521] pci 0000:04:00.0: gpu_unlock: stage=handoff ret=-19 state=0 retained=1 pages=7179/7179 cleanup=-16
[    3.433440] pci 0000:04:00.0: gpu_unlock: unlock failed (-19)

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

-	msleep(10);
+	/* TU10x: wait for the IMEM/DMEM scrub, as kflcnWaitForResetToFinish_TU102() does */
+	ret = gu_falcon_poll(io, eng->base + GU_FALCON_DMACTL_OFFSET, 0x6, 0, 100000, true, NULL);
+	if (ret)
+		return ret;

This seemed to work

❯ sudo dmesg | grep gpu_unlock   
[sudo] password for noah: 
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all
[    0.097941] Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all
[    2.972754] gpu_unlock: loading out-of-tree module taints kernel.
[    2.973261] gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
[    3.114132] pci 0000:04:00.0: gpu_unlock: stage=claim device=0x1f02 family=TU102/TU104/TU106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0
[    3.114890] pci 0000:04:00.0: gpu_unlock: stage=layout fb=0x200000000 vga=0x1fffe0000 frts=0x100000 wpr=0x1f8900000..0x1fffe0000 boot=0x1ffedf000 gsp=0x1fe2e0000 heap=0x1f8a00000
[    3.148119] pci 0000:04:00.0: gpu_unlock: stage=dma booter=59136 payload=0xfa00 pages=7179 meta=0xfeddf000 sig=0xfede0000 stock=0xfedde000 boot=0xfeddd000
[    3.149231] pci 0000:04:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x100 ss1=0x5 wpr2_hi=0x0
[    3.522277] pci 0000:04:00.0: gpu_unlock: stage=fwsec version=2 fuse=0x0 ver=0 scratch=0x0 wpr2_raw=0x1ffee00:0x1fffc00 frts=0x1ffee00:0x1fffc00
[    3.522710] pci 0000:04:00.0: gpu_unlock: stage=publish meta=0xfeddf000 sig=0xfede0000 size=0xfa00 radix=0xfeddc000
[    3.590893] pci 0000:04:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x409650 value=0xffffffff before=0xffffff8f after=0xffffffff wpr2=0x1f89000:0x0 reset_plm=0xff mbox=0x0:0x0 ret=0
[    3.591524] pci 0000:04:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x1fa828 value=0x0 before=0xffffff8f after=0x0 wpr2=0x1f89000:0x0 reset_plm=0xff mbox=0x0:0x0 ret=0
[    3.592187] pci 0000:04:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xbadf5040
[    3.592632] pci 0000:04:00.0: gpu_unlock: stage=flr_skipped (Turing clean handoff) ss0=0x88888888 ss1=0x8 readout=0x0
[    3.610033] pci 0000:04:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/7179 cleanup=0
[    3.611181] pci 0000:04:00.0: gpu_unlock: unlocked
<!-- gh-comment-id:6701508713 --> @arketec commented on GitHub (Nov 7, 2026): <s>@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.</s> Here is my dmesg ``` ❯ sudo dmesg | grep gpu_unlock [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all [ 0.094580] Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all [ 2.965072] gpu_unlock: loading out-of-tree module taints kernel. [ 2.965569] gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel [ 3.106364] pci 0000:04:00.0: gpu_unlock: stage=claim device=0x1f02 family=TU102/TU104/TU106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 [ 3.107064] pci 0000:04:00.0: gpu_unlock: stage=layout fb=0x200000000 vga=0x1fffe0000 frts=0x100000 wpr=0x1f8900000..0x1fffe0000 boot=0x1ffedf000 gsp=0x1fe2e0000 heap=0x1f8a00000 [ 3.144067] pci 0000:04:00.0: gpu_unlock: stage=dma booter=59136 payload=0xfa00 pages=7179 meta=0xfeddf000 sig=0xfede0000 stock=0xfedde000 boot=0xfeddd000 [ 3.144830] pci 0000:04:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x100 ss1=0x5 wpr2_hi=0x0 [ 3.424712] pci 0000:04: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 [ 3.425358] pci 0000:04:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1 [ 3.425786] pci 0000:04:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0 [ 3.426193] pci 0000:04: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=0x100 ss1=0x5 [ 3.426837] pci 0000:04:00.0: gpu_unlock: pci cmd=0x7 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xfb000000,0xd000000c,0x0,0xe000000c,0x0,0xe001 last_pci=0:0x4:0x7:0 [ 3.427492] pci 0000:04: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 [ 3.428872] pci 0000:04: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 [ 3.429552] pci 0000:04:00.0: gpu_unlock: boot reset_plm=0xff ctl=0x10 engine=0x0 fhstate=0xfff8 mbox=0x0:0x0 acr=0x0 csberr=0x40000000 ok=1 [ 3.430015] pci 0000:04:00.0: gpu_unlock: wpr2 lo=0x1ffffe00 hi=0x0 start=0x1ffffe0000 end=0x20000 frts=0x0:0x0 saved=0 [ 3.430467] pci 0000:04: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=0x100 ss1=0x5 [ 3.431154] pci 0000:04:00.0: gpu_unlock: pci cmd=0x3 original=0x3 pm=0 devsta=0x19 trpnd=0 bars=0xfb000000,0xd000000c,0x0,0xe000000c,0x0,0xe001 last_pci=0:0x4:0x3:0 [ 3.431844] pci 0000:04: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 [ 3.432521] pci 0000:04:00.0: gpu_unlock: stage=handoff ret=-19 state=0 retained=1 pages=7179/7179 cleanup=-16 [ 3.433440] pci 0000:04:00.0: gpu_unlock: unlock failed (-19) ``` Update: This case was user error on my part. i built the wrong branch locally. I tried again, and also added in [Ledzpg](https://github.com/Ledzpg)'s suggestion in #242 made [here](https://github.com/Zagitta/gpu-unlock/issues/242#issuecomment-6675197677) ``` - msleep(10); + /* TU10x: wait for the IMEM/DMEM scrub, as kflcnWaitForResetToFinish_TU102() does */ + ret = gu_falcon_poll(io, eng->base + GU_FALCON_DMACTL_OFFSET, 0x6, 0, 100000, true, NULL); + if (ret) + return ret; ``` This seemed to work ``` ❯ sudo dmesg | grep gpu_unlock [sudo] password for noah: [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all [ 0.097941] Kernel command line: BOOT_IMAGE=/vmlinuz-6.8.0-147-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro gpu_unlock.targets=all [ 2.972754] gpu_unlock: loading out-of-tree module taints kernel. [ 2.973261] gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel [ 3.114132] pci 0000:04:00.0: gpu_unlock: stage=claim device=0x1f02 family=TU102/TU104/TU106 cmd=0x3 original=0x3 bar_len=0x1000000 region=1 enabled=0 master=0 [ 3.114890] pci 0000:04:00.0: gpu_unlock: stage=layout fb=0x200000000 vga=0x1fffe0000 frts=0x100000 wpr=0x1f8900000..0x1fffe0000 boot=0x1ffedf000 gsp=0x1fe2e0000 heap=0x1f8a00000 [ 3.148119] pci 0000:04:00.0: gpu_unlock: stage=dma booter=59136 payload=0xfa00 pages=7179 meta=0xfeddf000 sig=0xfede0000 stock=0xfedde000 boot=0xfeddd000 [ 3.149231] pci 0000:04:00.0: gpu_unlock: stage=gfw plm=0xffffff8f ss0=0x100 ss1=0x5 wpr2_hi=0x0 [ 3.522277] pci 0000:04:00.0: gpu_unlock: stage=fwsec version=2 fuse=0x0 ver=0 scratch=0x0 wpr2_raw=0x1ffee00:0x1fffc00 frts=0x1ffee00:0x1fffc00 [ 3.522710] pci 0000:04:00.0: gpu_unlock: stage=publish meta=0xfeddf000 sig=0xfede0000 size=0xfa00 radix=0xfeddc000 [ 3.590893] pci 0000:04:00.0: gpu_unlock: pass=1/2 attempt=1 target=0x409650 value=0xffffffff before=0xffffff8f after=0xffffffff wpr2=0x1f89000:0x0 reset_plm=0xff mbox=0x0:0x0 ret=0 [ 3.591524] pci 0000:04:00.0: gpu_unlock: pass=2/2 attempt=1 target=0x1fa828 value=0x0 before=0xffffff8f after=0x0 wpr2=0x1f89000:0x0 reset_plm=0xff mbox=0x0:0x0 ret=0 [ 3.592187] pci 0000:04:00.0: gpu_unlock: stage=host ss0=0x88888888 ss1=0x8 plm_feat=0xffffffff plm_wpr_cfg=0xbadf5040 [ 3.592632] pci 0000:04:00.0: gpu_unlock: stage=flr_skipped (Turing clean handoff) ss0=0x88888888 ss1=0x8 readout=0x0 [ 3.610033] pci 0000:04:00.0: gpu_unlock: stage=handoff ret=0 state=4 retained=0 pages=0/7179 cleanup=0 [ 3.611181] pci 0000:04:00.0: gpu_unlock: unlocked ```
Sign in to join this conversation.
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
Zagitta/gpu-unlock#261
No description provided.