xpra icon
Bug tracker and wiki

Changes between Version 39 and Version 40 of Encodings/nvenc


Ignore:
Timestamp:
07/31/15 07:01:43 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v39 v40  
    7373{{{#!div class="box"
    7474== Building ==
    75 * 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)
    76 * 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)
    77 * [http://wiki.tiker.net/PyCuda/Installation/Linux Install PyCuda]
     75* Download the [https://developer.nvidia.com/cuda-downloads CUDA SDK] and install it (tested with versions 5 through to 7). 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 (more details below)
     76* [http://wiki.tiker.net/PyCuda/Installation/Linux Install PyCuda] version 2015.1 or later (using your distribution's package manager if possible)
    7877* 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).
    7978* 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}}})
     
    8382}}}
    8483
     84[[BR]]
     85
    8586Notes:
    8687* you may need to adjust some paths
     
    8990Installation Failed. Using unsupported Compiler.
    9091}}}
    91  run the CUDA installer with "{{{-override-compiler}}}" or "{{{--override}}}" for newer SDK.
     92run the CUDA installer with "{{{-override-compiler}}}" or "{{{--override}}}" for newer SDK.
    9293* 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 here]
    9394 If you ignore this warning, you may get undecipherable errors at runtime (incompatible structure version errors, etc)
     95ie: {{{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
    9496}}}