gridd-unlock-patcher
- C++ 72.3%
- CMake 18%
- PowerShell 8.5%
- Shell 1.2%
|
All checks were successful
Cross-Compile Linux & Windows / build (push) Successful in 12m49s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| CODEOWNERS | ||
| LICENSE | ||
| README.md | ||
| windows-replace-nvxdapix.ps1 | ||
gridd-unlock-patcher
[!note] Credits This code is built by
electricsheep49. The Windows replacement script is written bylcs.
The patcher supports both, Windows and Linux guests:
- For Windows guests, the GRID daemon is Display.Driver/nvxdapix.dll
- For Linux guests, execute
which nvidia-griddto find your GRID daemon. It's probably in/bin/.
How to patch
Prepare
- Download latest release
- Make executable
chmod +x gridd-unlock-patcher - Download your FastAPI-DLS Root-CA from
https://<your-dls-url>/-/config/root-certificate
Linux
This overwrites the given binary, make sure you have a backup!
- Run patch
gridd-unlock-patcher -g $(which nvidia-gridd) -c /path/to/my_root_certificate.pem - Restart
nvidia-griddservice
Windows
This overwrites the given dll, make sure you have a backup!
- Download
windows-replace-nvxdapix.ps1(written bylcs) to the Desktop of your Windows machine - Run
Get-ChildItem -Path "C:\Windows\System32\DriverStore\FileRepository" -Recurse -Filter "nvxdapix.dll" -ErrorAction SilentlyContinue | Select-Object -First 1 - Copy the
nvxdapix.dllfrom the resulting path to a different path in your windows host - Download gridd-unlock-patcher.exe from latest release
- Run patch
gridd-unlock-patcher -g /path/to/nvxdapix.dll -c /path/to/my_root_certificate.pem - Copy the patched
nvxdapix.dllback to the Desktop of your Windows machine - Run
powershell.exe -executionpolicy bypass -file "$HOME\Desktop\gridd-apply-patch.ps1"as Administrator
Maybe one patched DLL per Driver-Release can be copied across all Windows machines matching the same Driver-Release!
Output should look like
PS C:\WINDOWS\system32> powershell.exe -executionpolicy bypass -file "$HOME\Desktop\gridd-apply-patch.ps1"
Searching for nvxdapix.dll in C:\Windows\System32\DriverStore\FileRepository...
Found DLL: C:\Windows\System32\DriverStore\FileRepository\nvgridsw.inf_amd64_847af0d59d1a7293\nvxdapix.dll
Replaced nvxdapix.dll successfully.
PS C:\WINDOWS\system32>