xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 31 and Version 32 of Encodings/nvenc


Ignore:
Timestamp:
11/07/14 14:39:19 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v31 v32  
    3434== Using NVENC ==
    3535
    36 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/loaded at runtime.
    37 You can specify the paths each time on the command line:
    38 {{{
    39 PATH=$PATH:/usr/local/cuda-5.5/bin/ \
    40 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda-5.5/lib64:/usr/lib64/nvidia \
    41  xpra ...
    42 }}}
    43 Or make those settings more permanent in your user or system profile.
    44 
    45 
    46 Beware 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)
    47 
     36If your CUDA or NVENC libraries are installed in an unusual location, it is your responsibility to ensure they can be loaded at runtime (usually adding the directory to the {{{LD_LIBRARY_PATH}}}).
    4837
    4938If the nvenc codec loads, it should get used ahead of x264 when you specify the `h264` encoding, you can verify the encoder in use with:
     
    5241}}}
    5342
    54 Note: your client must be either 0.10.9 / 0.11.0-r4661 or newer.
    55 With older clients (0.10.x), you must specify "{{{--encoding=x264}}}" to get `h264`...
     43Note: your client must be either 0.15 or newer. (older versions require the full CUDA SDK)
    5644
    57 To force xpra to use nvenc as video encoder and no other, you can also specify:
    58 * with version 0.12 onwards (r5376) using the {{{--video-encoders=}}} command line option:
     45To force xpra to use nvenc as video encoder and no other, you can also use the {{{--video-encoders=}}} command line option:
    5946{{{
    6047xpra start :10 --video-encoders=nvenc
     
    6350To debug nvenc, add:
    6451{{{
    65 xpra -d nvenc start ...
     52xpra start -d nvenc ...
    6653}}}
    67 
    6854
    6955Scaling: nvenc supports scaling natively, see [/wiki/CSC#Scaling CSC/Scaling] for details on how to configure scaling.
     
    7258{{{#!div class="box"
    7359== License Key ==
    74 If you have access to a license key, you can specify it like so:
     60As of version 0.15, you can store the license keys in {{{nvenc.keys}}} (either in {{{/etc/xpra/}}} or in {{{~/.xpra}}}.
     61
     62Or you can also use the environment variable:
    7563{{{
    7664XPRA_NVENC_CLIENT_KEY="0A1B2C3D-4E5F-6071-8293-A4B5C6D7E8F9" xpra ...
    7765}}}
    78 As of version 0.15, you can also store the license keys in {{{nvenc.keys}}} (either in {{{/etc/xpra/}}} or in {{{~/.xpra}}}.
    7966}}}