X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=parts%2FTips.tex;h=7857b15f3679e697844bf832800736a5345b1726;hb=fb7369e6b5f670d1b1ebaffa08f3c2e4bb053a61;hp=3939c0d46d9046a4eddc06d73bb84af2ec4bb89e;hpb=3e113a3f26cc9777f188a54dbf877f13f9dcc2b5;p=goodguy%2Fcin-manual-latex.git diff --git a/parts/Tips.tex b/parts/Tips.tex index 3939c0d..7857b15 100644 --- a/parts/Tips.tex +++ b/parts/Tips.tex @@ -34,7 +34,9 @@ VA-API, Video Acceleration API, is an open source library which provides both ha AppImage will probably not allow for either VDPAU or VA-API hardware acceleration because the computer where AppImage is created will not have the same graphics card and/or vaapi/vdpau -libraries as yours. In other words: +libraries as yours. +It is recommended for best results that you build \CGG{} on your specific computer as described in \ref{sec:single-user-build}. +So in summary: \begin{itemize} \item Hardware acceleration, vaapi or vdpau, works the same running either the created binary or the created AppImage from that binary on that same computer. \item Hardware acceleration using an AppImage created on another computer running a different Operating System or even just a different level of Operating System, most likely will not work unless the user's computer just happens to have the same characteristics with respect to vaapi/vdpau as the computer where the AppImage was created. @@ -68,6 +70,13 @@ or export CIN_HW_DEV=vaapi \end{lstlisting} +In addition for a computer with dual graphics cards, you can select your specific device with an environment variable +to decode and encode. For example: +\begin{lstlisting}[numbers=none] +CIN_DRM_DEC=/dev/dri/renderD129 CIN_DRM_ENC=/dev/dri/renderD128 ./cin +\end{lstlisting} +and substituting your specific location instead of /dev/dri/renderD129 or D128. + It might be more difficult to analyze problems as a result of using the GPU because of the wide variation in hardware. When you do not set the \texttt{CIN\_HW\_DEV} environment variable, the code will work exactly as before since this feature is self-contained. There is also a \texttt{Settings $\rightarrow$ Preferences, Performance} tab, \textit{Use HW device} flag