20 | | How you install those drivers is entirely up to you: [http://www.nvidia.com/object/unix.html nvidia installers], [http://negativo17.org/nvidia-driver/ negativo17 repository], [http://rpmfusion.org/ rpmfusion], [http://elrepo.org/tiki/tiki-index.php elrepo], etc.. |
| 20 | How you install those drivers is entirely up to you: |
| 21 | * [http://www.nvidia.com/object/unix.html nvidia installers] |
| 22 | * [http://negativo17.org/nvidia-driver/ negativo17 repository] |
| 23 | * [http://rpmfusion.org/ rpmfusion] |
| 24 | * [http://elrepo.org/tiki/tiki-index.php elrepo] |
| 25 | etc.. |
69 | | * Download the [https://developer.nvidia.com/cuda-downloads CUDA SDK] and install it. If present, you should remove any previously installed nvidia drivers: both "nouveau" and nvidia's proprietary drivers - either install the drivers bundled with CUDA or a sufficiently recent version, preferably directly from nvidia (ie: {{{331.20}}}, {{{331.49}}} and {{{334.21}}} are known to work with the version 3 SDK - {{{337.12}}} probably requires SDK version 4 or different keys, {{{331.79}}} also works but may require newer license keys, more information here: #595) |
70 | | * Download the [/attachment/wiki/Encodings/nvenc/cuda.pc cuda.pc] pkgconfig file (missing from the SDK) and install it (usually in {{{/usr/lib64/pkgconfig}}} for 64-bit systems) |
| 74 | * Download the [https://developer.nvidia.com/cuda-downloads CUDA SDK] and install it. If present, you should remove any previously installed nvidia drivers: both "nouveau" and nvidia's proprietary drivers - either install the drivers bundled with CUDA or a sufficiently recent version, preferably directly from nvidia (ie: {{{331.20}}}, {{{331.49}}} and {{{334.21}}} are known to work with the version 3 SDK - {{{331.79}}} and {{{337.12}}} require a different set of license keys, more information here: #595) |
| 75 | * Download the [/attachment/wiki/Encodings/nvenc/cuda.pc cuda.pc] pkgconfig file (missing from the SDK) and install it (usually {{{/usr/lib/pkgconfig}}} or {{{/usr/lib64/pkgconfig}}} on some 64-bit systems) |
72 | | * Download the latest [https://developer.nvidia.com/nvidia-video-codec-sdk NVENC SDK] (aka "NVIDIA VIDEO CODEC SDK") and install it (just unzip into {{{/usr/local/}}} - then create a symlink named just {{{nvenc}}}) |
73 | | * Download the [/attachment/wiki/Encodings/nvenc/nvenc.pc nvenc.pc] pkgconfig file (also missing from the SDK) and install it |
74 | | * Build xpra version with nvenc support: |
| 77 | * Download the [https://developer.nvidia.com/nvidia-video-codec-sdk NVENC SDK], aka "NVIDIA VIDEO CODEC SDK" and install it (just unzip into {{{/opt/}}}), then create a symlink named just {{{/opt/nvencV}}} (where V is the SDK version, ie: {{{nvenc4}}}). You may want to stick with SDK versions 3 or 4 if you plan on using consumer cards with a license key, as the SDK version 5 removes the ability to use keys (see #825). |
| 78 | * Download the pkgconfig file matching your SDK version (ie: [/attachment/wiki/Encodings/nvenc/nvenc4.pc nvenc4.pc]) and install it (same location as the {{{cuda.pc}}}) |
| 79 | * When building xpra, nvenc support should be auto-detected, but you can try forcing it to verify, ie: for version 4: |