Repository navigation
Releases
v0.3.0 - P2UNLOCK TUI and Dual-Method Gen2
P2UNLOCK v0.3.0 — TUI and Dual-Method Gen2
P2UNLOCK v0.3.0 adds an interactive terminal UI and a second Gen2 handling path. Gen2 can now be used with compatible NVIDIA driver configurations beyond the Qi-patched setup documented for v0.2.0. The two methods are selected automatically from the observed PCIe link state; users do not need to choose a method.
For general hardware requirements, PCIe width information, commands, and build instructions, see the main README.
What's new
Interactive terminal UI
Run P2UNLOCK.exe without arguments to open the interactive terminal UI in a Windows console. Use Up/Down to select an action, Enter to run it, and Q to quit.
The TUI exposes the main operations: Status, Enable Gen2, Set width x8, Set width x16, Bandwidth test, Install, and Uninstall. It is a text interface, not a separate graphical application. The existing CLI remains available.
Dual-method Gen2 handling
P2UNLOCK always attempts Method 1 first, then starts the Method 2 worker. The worker's starting behavior depends on whether Method 1 actually established a stable Gen2 link.
Method 1 — One-time Gen2 apply
Method 1 applies the Gen2 configuration once. P2UNLOCK then checks the real link for a six-second stability window. The GPU and upstream bridge must both report Gen2, matching non-zero negotiated widths, and no active link training.
This is the preferred path when the active NVIDIA driver leaves the applied Gen2 configuration intact. There is no need to keep rewriting the PCIe settings when the link is already stable.
Method 2 — Monitor first, recover only when needed
Method 2 runs as a background worker and watches the actual GPU and upstream PCIe link state.
- When Method 1 succeeds: Method 2 starts in read-only monitoring mode. It does not repeatedly write the Gen2 registers while the link remains stable at Gen2.
- If a later downshift is detected: Method 2 waits for a confirmed Gen1 state on both sides of the link. The confirmation requires at least three samples spanning 250 ms, with matching non-zero negotiated widths and no active link training. Only then does it run the live recovery sequence: reapply the Gen2 settings, request Gen2 speed on the GPU and upstream bridge, and retrain the link.
- When Method 1 does not establish stable Gen2: Method 2 enters its recovery path instead of staying in monitor-only mode. It prepares the requested width when necessary and attempts the live Gen2 recovery sequence.
After recovery, the link must remain stable at Gen2 for six seconds before Method 2 returns to read-only monitoring. If the link remains stably at Gen1 after a recovery attempt, the worker can try the live recovery sequence again. A write or recovery error can still stop the worker.
Method 2 is therefore not a constant-write loop while Gen2 is healthy. It monitors first when Method 1 has succeeded, and writes again only when recovery is required.
Why the Qi driver is still recommended
The recommended setup remains NVIDIA 582.99 DCH + Qi Fix 0.2.
The reason is how the driver behaves after Method 1:
- With the Qi driver in the maintainer's testing, the driver does not overwrite the applied Gen2 configuration. Method 1 can establish a stable Gen2 link, so Method 2 normally stays in read-only monitoring mode.
- With some other compatible NVIDIA driver builds or patches, the driver may overwrite the Gen2 setting and cause the link to return to Gen1. Method 2 is designed to handle this behavior: it confirms the downshift, reapplies Gen2 live, and retrains the link.
This is why the Qi driver is recommended for users who want the steadier result: the link can remain on the one-time Method 1 path without depending on repeated recovery. Other compatible driver configurations can still use Gen2 without Qi Fix, but they may require repeated Method 2 recovery.
Recovery is reactive, not a permanent lock. The link can briefly fall back to Gen1 before the downshift is confirmed and recovered. If a driver keeps overwriting the setting—particularly under a heavy rendering workload—recovery may happen repeatedly, may interrupt link performance, or may fail. Results vary by driver, system, and workload. P2UNLOCK does not guarantee that every NVIDIA driver build will work.
Method selection is based on the observed link result, not on a hard-coded Qi/non-Qi driver list. Qi is recommended because of its observed behavior with Method 1, not because P2UNLOCK requires Qi to attempt Gen2 in v0.3.0.
Recommended Qi driver installer
The v0.3.0 release provides a ready-to-run installer for NVIDIA 582.99 DCH + Qi Fix 0.2. You do not need to separately download the original NVIDIA package, extract it, and manually replace the patched driver files as described in the v0.2.0 setup.
The installer is a separate release asset; it is not bundled inside P2UNLOCK-windows-x64.zip. The application ZIP contains the P2UNLOCK program and its bundled Seavo driver. Keep the application's drivers directory next to P2UNLOCK.exe when extracting it.
- File:
NVIDIADriver_582.99_Qi_Fix_0.2.exe - Size: 885 MB
- GitHub: Download it from the Assets section of this release.
- Google Drive mirror: Download Qi Fix 0.2 installer
- SHA-256:
04b69d4aaf849f4058b3674afb6c045249167ad78d57e925eb12d96e46614110
Verify the installer in PowerShell before running it:
Get-FileHash .\NVIDIADriver_582.99_Qi_Fix_0.2.exe -Algorithm SHA256The result must match the SHA-256 value above. Do not run the installer if the hash does not match. After installing the driver, restart Windows.
Quick Gen2 setup
-
Download the recommended Qi installer from the GitHub release or the Google Drive mirror above.
-
Verify its SHA-256 hash.
-
Run the installer and complete the NVIDIA driver installation. Restart Windows.
-
Download and extract
P2UNLOCK-windows-x64.zip. Keep thedriversdirectory next toP2UNLOCK.exe. -
Run
P2UNLOCK.exeas Administrator and select Enable Gen2, or run:.\P2UNLOCK.exe gen 2 .\P2UNLOCK.exe status
-
To have the saved profile applied automatically after Windows starts, select Install in the TUI or run
.\P2UNLOCK.exe installfrom an Administrator terminal.
The Qi driver is recommended, not mandatory for every compatible driver setup in v0.3.0. Without Qi, Method 2 may need to perform live recovery if the active driver overwrites the Gen2 configuration.
Release assets
| Asset | Size | SHA-256 |
|---|---|---|
P2UNLOCK-windows-x64.zip |
247 KB | 595897192e40dff6664d89d23918eb528574f8b6892897c6da2d61d2456065f0 |
NVIDIADriver_582.99_Qi_Fix_0.2.exe |
885 MB | 04b69d4aaf849f4058b3674afb6c045249167ad78d57e925eb12d96e46614110 |
Verify the downloaded application package with PowerShell:
Get-FileHash .\P2UNLOCK-windows-x64.zip -Algorithm SHA256Known limitations
- Method 2 is a monitoring and recovery mechanism, not a permanent hardware lock. A driver or system can still force a downshift to Gen1.
- Recovery is reactive. The link may remain at Gen1 while the worker confirms the downshift and performs the live recovery sequence.
- Repeated driver-side overwrites can cause repeated recovery attempts. This can lead to inconsistent link behavior or performance, especially during long or heavy rendering workloads.
- Recovery is not guaranteed to succeed. A write/recovery error can stop the worker.
- The Method 2 worker must remain running while its monitoring and recovery behavior is needed. Use the installed P2UNLOCK service for automatic startup after a reboot.
- A successful command alone does not prove that the link is currently stable. Use
statusand confirm that the GPU and upstream bridge both report Gen2, matching negotiated widths, and no active link training. - PCIe width is still limited by the card's PCB/components and the electrically connected lanes in the motherboard/CPU/upstream path. See the main README for hardware requirements and caveats.
Updating from v0.2.0
Do not install v0.3.0 over an active v0.2.0 service. Remove the old service first.
-
Open the existing v0.2.0 application folder in an Administrator terminal.
-
Run:
.\P2UNLOCK.exe uninstall -
Restart Windows so the old service is fully stopped.
-
Extract the v0.3.0 Windows x64 package, keeping the
driversdirectory next toP2UNLOCK.exe. -
Run the new
P2UNLOCK.exeas Administrator. Reinstall the auto-start service through the TUI or with.\P2UNLOCK.exe installif you want the saved profile applied at startup.
Credits
Thanks to Qi, Hinata, GreenDamTan, and Rain Candy for creating and contributing to the Qi driver patch. These credits apply to the Qi driver modification, not to the P2UNLOCK application source code.
v0.2.0 - P2UNLOCK Gen2 Link Unlock Fix
P2UNLOCK v0.2.0 - P2UNLOCK Gen2 Link Unlock Fix
Windows CLI and auto-start service for NVIDIA P104-100 / P104-101.
Features
- PCIe width control: x8 / x16
- Link speed control: Gen1 / Gen2
- GPU scan, status, and CUDA bandwidth measurement
- Automatic Windows service
Usage
P2UNLOCK.exe scan
P2UNLOCK.exe install
P2UNLOCK.exe width 16
P2UNLOCK.exe gen 2
P2UNLOCK.exe status
P2UNLOCK.exe bw
Note: Width and link generation are independent. Gen2 requires NVIDIA 582.99 DCH with Qi Fix 0.2 installed. Width control can be used at Gen1 without the Qi patch.
Downloads
P2UNLOCK-windows-x64-v0.2.0.zip— Application package with the bundled Seavo driver.582.99-qi-p104-gen2-minimal(Fixed).zip— Corrected Qi Fix 0.2 driver patch.- [NVIDIA 582.99 DCH — Official Driver Download](https://us.download.nvidia.com/Windows/Quadro_Certified/582.99/582.99-quadro-rtx-desktop-notebook-win10-win11-64bit-international-dch-whql.exe)
Package correction: We sincerely apologize for the previous incomplete Qi driver upload, which could cause NVIDIA Setup to report "Required files are missing". The corrected package includes the missing installer files. Please use the Fixed package above instead of the previous archive.
Gen2 setup: Install the official NVIDIA 582.99 DCH driver, apply Qi Fix 0.2 from the release assets by replacing the extracted driver files, then install the modified driver. See the README for detailed instructions.
SHA-256
- Tool:
900c5f620c6403b8d59ecfa571595f38100908e7f55758d4341d6e43cb8c9cd4 - Qi Fix (Fixed):
96ab84939c5b990f1794796c4c4aed8a2442b979fb0e6db92a82968a47d9717e
MIT License.