Nvlax
Future-proof NvENC & NvFBC patcher (Linux/Windows)
Install / Use
/learn @illnyang/NvlaxREADME
Requirements
- Working internet connection during configuration (i.e cloning does NOT include dependencies)
- CMake
- C++ compiler
Building
git clone 'https://github.com/illnyang/nvlax.git'
cd nvlax
mkdir build && cd build
cmake ..
make
Protip: use WSL if you're using Windows.
Example of usage
Patch NvENC in-place:
Linux:
# nvlax_encode -i /usr/lib/libnvidia-encode.so.495.44 -o /usr/lib/libnvidia-encode.so.495.44
Windows:
# nvlax_encode -i nvEncodeAPI64.dll -o nvEncodeAPI64.dll
# nvlax_encode -i nvEncodeAPI.dll -o nvEncodeAPI.dll
Patch NvFBC in-place:
Linux:
# nvlax_fbc -i /usr/lib/libnvidia-fbc.so.495.44 -o /usr/lib/libnvidia-fbc.so.495.44
FAQ
How is this more future-proof?
This patcher performs assembly-level heuristics instead of naive pattern-matching. The patching itself works more/less the same way as in keylase/nvidia-patch.
Which driver versions are supported?
I have tested this patcher against the following versions (on Linux):
- 470.74
- 495.29.05
- 495.44
It should work on previous versions as well. Please don't open-up new issues if you're using ancient drivers, thanks.
Windows support?
nvlax_encode accepts NVIDIA DLLs as input files. NvFBC patching is not supported yet, though.
Credits
keylase/nvidia-patch - this project wouldn't exist if it wasn't for their outstanding reverse-engineering efforts. thanks!
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
