Version 2 (modified by 7 years ago) (diff) | ,
---|
NVENC Encoder
This encoder requires a supported NVIDIA graphics card (Tesla, Quadro K4000 and up, ..) or a card which has the NVENC chip (GTX 680?, GTX 760 and up) and a license key. (...)
This encoder offers the best latency, which is most noticeable at higher resolutions (1080p and up).
Building
- Download the CUDA SDK and install it
- Download the cuda.pc pkgconfig file (missing from the SDK) and install it (usually in
/usr/lib64/pkgconfig
for 64-bit systems) - Download the nvenc_3.0 sdk and install it (just unzip into
/usr/local/
) - Download the nvenc3.pc pkgconfig file (also missing from the SDK) and install it
- Build xpra version v0.11.x (trunk) r4652 or later with nvenc support:
./setup.py install --with-nvenc
Notes:
- the files given here are for the current versions of the
SDK
s and for 64 bit systems only, adjust the files and locations accordingly - If CUDA refuses to build and complains about:
Installation Failed. Using unsupported Compiler.
run the CUDA installer with "-override-compiler
"
- there are undocumented incompatibilities between kernel versions, nvidia driver versions and nvenc SDK versions. If possible, install the driver version bundled with the nvenc SDK. For more details see ticket:370#comment:14
Using NVENC
TODO!
Attachments (6)
-
nvenc3.pc (325 bytes) - added by 7 years ago.
nvenc pkgconfig file (sdk v3)
-
nvenc-comments.patch (457 bytes) - added by 7 years ago.
apply this patch to NVENC SDK v3 to compile without warnings
-
cuda.pc (216 bytes) - added by 7 years ago.
simpler version of the cuda pkgconfig file, works with recent versions of the driver
-
nvenc.pc (317 bytes) - added by 7 years ago.
pkgconfig file for version 4
-
nvenc4.pc (319 bytes) - added by 6 years ago.
pkgconfig file for nvenc v4
-
nvenc5.pc (305 bytes) - added by 6 years ago.
pkgconfig file for nvenc v5
Download all attachments as: .zip