xpra icon
Bug tracker and wiki

Changes between Version 4 and Version 5 of Encodings/nvenc


Ignore:
Timestamp:
11/01/13 13:13:09 (6 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v4 v5  
    2323}}}
    2424 run the CUDA installer with "{{{-override-compiler}}}"
    25 * 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
    26 If you ignore this warning, you may get undecipherable errors at runtime (incompatible structure version errors, etc).
     25* 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]
     26 If you ignore this warning, you may get undecipherable errors at runtime (incompatible structure version errors, etc)
    2727
    2828
    2929== Using NVENC ==
    3030
    31 Because of the unusual location of the CUDA and NVENC libraries and support tools, it is your responsibility to ensure that the required shared objects and the CUDA compiler can be located at runtime.
     31Because of the unusual location of the CUDA and NVENC libraries and support tools, it is your responsibility to ensure that the required shared objects and the CUDA compiler can be located/loaded at runtime.
    3232You can specify the paths each time on the command line:
    3333{{{
    34 PATH=$PATH:/opt/cuda-5.5/bin/ \
    35 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/cuda-5.5/lib64:/usr/lib64/nvidia \
     34PATH=$PATH:/usr/local/cuda-5.5/bin/ \
     35LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda-5.5/lib64:/usr/lib64/nvidia \
    3636 xpra ...
    3737}}}
     
    3939
    4040
    41 Beware that the new paths added to {{{PATH}}} and {{{LD_LIBRARY_PATH}}} should be added '''at the end''' of the current values (as per the example above) to prevent a conflict with system critical libraries. (ie: {{{libOpenCL}}} is known to cause crashes)
     41Beware that the new paths added to {{{PATH}}} and {{{LD_LIBRARY_PATH}}} should be '''appended''' to the current values (as per the example above) and not inserted before them, this is to prevent a conflict with other system libraries. (ie: {{{libOpenCL.so}}} is known to cause crashes)
    4242
    4343
    44 To force xpra to use nvenc as video encoder, you can also specify:
     44If the nvenc codec loads, it should get used ahead of x264, you can verify the encoder in use with:
     45{{{
     46xpra info | grep "encoder="
     47}}}
     48
     49To force xpra to use nvenc as video encoder and no other, you can also specify:
    4550{{{
    4651XPRA_ENCODER_TYPE=nvenc xpra ...