xpra icon
Bug tracker and wiki

Changes between Version 36 and Version 37 of Encodings/nvenc


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v36 v37  
    44
    55This encoder offers [http://xpra.org/stats/NVENC/ the best latency], which is most noticeable at higher resolutions (1080p and up).
     6}}}
    67
     8
     9{{{#!div class="box"
    710== Hardware ==
    8 This encoder requires a [https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist supported NVIDIA graphics card] (Tesla, Quadro K4000 and up, ..) or a card which has the NVENC chip (GTX 680?, GTX 750 and up for sure) and a license key. (...)
     11This encoder requires a [https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist supported NVIDIA graphics card]:
     12* Tesla onwards cards: Quadro K4000 and up, .. (no license key required)
     13* Some consumer cards (ie: GTX 680, GTX 750 and up for sure) and a license key
    914}}}
    1015
     
    1621
    1722If your CUDA ({{{libcuda.so}}}) or NVENC ({{{libnvidia-encode.so}}}) libraries are installed in an unusual location, it is your responsibility to ensure they can be loaded at runtime, usually by adding the directory to the {{{LD_LIBRARY_PATH}}}.
     23
     24Note: xpra version 0.15 or newer is required. (older versions require the full CUDA SDK at runtime)
    1825}}}
    1926
    2027{{{#!div class="box"
    2128== Using NVENC ==
     29If the nvenc codec loads properly, it will be used ahead of the x264 software encoder automatically (that's assuming that the encoding used is `h264` - which is the default).
    2230
    23 If the nvenc codec loads, it will be used ahead of x264 when you specify the `h264` encoding, you can verify the encoder in use with:
     31You can verify the video encoder in use with:
    2432{{{
    2533xpra info | grep "encoder="
    2634}}}
    2735
    28 Note: your xpra version must be either 0.15 or newer. (older versions require the full CUDA SDK and a more complicated setup)
     36Scaling: nvenc supports scaling natively, see [/wiki/CSC#Scaling CSC/Scaling] for details on how to configure scaling.
     37}}}
    2938
    30 To force xpra to use nvenc as video encoder and no other, you can also use the {{{--video-encoders=}}} command line option:
     39{{{#!div class="box"
     40== Debugging ==
     41To force xpra to use nvenc exclusively as video encoder, you can use the {{{--video-encoders=}}} command line option:
    3142{{{
    3243xpra start :10 --video-encoders=nvenc
     
    4253xpra start -d nvenc ...
    4354}}}
    44 
    45 Scaling: nvenc supports scaling natively, see [/wiki/CSC#Scaling CSC/Scaling] for details on how to configure scaling.
    4655}}}
    4756