xpra icon
Bug tracker and wiki

Changes between Version 34 and Version 35 of Encodings/nvenc


Ignore:
Timestamp:
11/07/14 14:47:13 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v34 v35  
    55
    66This encoder offers [http://xpra.org/stats/NVENC/ the best latency], which is most noticeable at higher resolutions (1080p and up).
    7 }}}
    8 
    9 {{{#!div class="box"
    10 == Building ==
    11 * 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)
    12 * 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)
    13 * [http://wiki.tiker.net/PyCuda/Installation/Linux Install PyCuda]
    14 * 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}}})
    15 * Download the [/attachment/wiki/Encodings/nvenc/nvenc.pc nvenc.pc] pkgconfig file (also missing from the SDK) and install it
    16 * Build xpra version with nvenc support:
    17 {{{
    18 ./setup.py install --with-nvenc
    19 }}}
    20 
    21 Notes:
    22 * 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
    23 * If CUDA refuses to build and complains about:
    24 {{{
    25 Installation Failed. Using unsupported Compiler.
    26 }}}
    27  run the CUDA installer with "{{{-override-compiler}}}" or "{{{--override}}}" for newer SDK.
    28 * 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]
    29  If you ignore this warning, you may get undecipherable errors at runtime (incompatible structure version errors, etc)
    307}}}
    318
     
    6744}}}
    6845}}}
     46
     47{{{#!div class="box"
     48== Building ==
     49* 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)
     50* 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)
     51* [http://wiki.tiker.net/PyCuda/Installation/Linux Install PyCuda]
     52* 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}}})
     53* Download the [/attachment/wiki/Encodings/nvenc/nvenc.pc nvenc.pc] pkgconfig file (also missing from the SDK) and install it
     54* Build xpra version with nvenc support:
     55{{{
     56./setup.py install --with-nvenc
     57}}}
     58
     59Notes:
     60* 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
     61* If CUDA refuses to build and complains about:
     62{{{
     63Installation Failed. Using unsupported Compiler.
     64}}}
     65 run the CUDA installer with "{{{-override-compiler}}}" or "{{{--override}}}" for newer SDK.
     66* 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]
     67 If you ignore this warning, you may get undecipherable errors at runtime (incompatible structure version errors, etc)
     68}}}