xpra icon
Bug tracker and wiki

Changes between Version 35 and Version 36 of Encodings/nvenc


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings/nvenc

    v35 v36  
    22= [[Image(http://xpra.org/icons/nvidia.png)]] NVENC Encoder =
    33
    4 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. (...)
    54
    65This encoder offers [http://xpra.org/stats/NVENC/ the best latency], which is most noticeable at higher resolutions (1080p and up).
     6
     7== Hardware ==
     8This 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. (...)
    79}}}
    810
    911
    1012{{{#!div class="box"
    11 == Using NVENC ==
    12 
    13 You must have recent enough nvidia drivers installed. How to install those drivers is entirely up to you: [http://www.nvidia.com/object/unix.html nvidia installers], [http://negativo17.org/nvidia-driver/ negativo17 repository], [http://rpmfusion.org/ rpmfusion], [http://elrepo.org/tiki/tiki-index.php elrepo], etc..
     13== Software Requirements ==
     14You must have [http://mathema.tician.de/software/pycuda/ PyCUDA] installed, and a recent enough version of the nvidia drivers.
     15How you install those drivers is entirely up to you: [http://www.nvidia.com/object/unix.html nvidia installers], [http://negativo17.org/nvidia-driver/ negativo17 repository], [http://rpmfusion.org/ rpmfusion], [http://elrepo.org/tiki/tiki-index.php elrepo], etc..
    1416
    1517If 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}}}.
     18}}}
     19
     20{{{#!div class="box"
     21== Using NVENC ==
    1622
    1723If 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:
     
    2733}}}
    2834
    29 To debug nvenc, add:
     35To debug the loading of video encoders, you can run the following scripts which are installed with xpra:
     36* {{{xpra/codecs/loader.py}}}
     37* {{{xpra/codecs/video_helper.py}}}
     38* {{{xpra/codecs/nv_util.py}}}
     39
     40Once nvenc is running, you can debug the encoding process step with:
    3041{{{
    3142xpra start -d nvenc ...