Changes between Version 4 and Version 5 of Encodings/nvenc
- Timestamp:
- 11/01/13 13:13:09 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encodings/nvenc
v4 v5 23 23 }}} 24 24 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:1426 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) 27 27 28 28 29 29 == Using NVENC == 30 30 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.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/loaded at runtime. 32 32 You can specify the paths each time on the command line: 33 33 {{{ 34 PATH=$PATH:/ opt/cuda-5.5/bin/ \35 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/ opt/cuda-5.5/lib64:/usr/lib64/nvidia \34 PATH=$PATH:/usr/local/cuda-5.5/bin/ \ 35 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda-5.5/lib64:/usr/lib64/nvidia \ 36 36 xpra ... 37 37 }}} … … 39 39 40 40 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)41 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) 42 42 43 43 44 To force xpra to use nvenc as video encoder, you can also specify: 44 If the nvenc codec loads, it should get used ahead of x264, you can verify the encoder in use with: 45 {{{ 46 xpra info | grep "encoder=" 47 }}} 48 49 To force xpra to use nvenc as video encoder and no other, you can also specify: 45 50 {{{ 46 51 XPRA_ENCODER_TYPE=nvenc xpra ...