Nvenc ffmpeg5/25/2023 ![]() ![]() Now, set up the environment variables for CUDA:Įdit the /etc/environment file and append the following: CUDA_HOME=/usr/local/cuda You could also use the official CUDA repository provided by NVIDIA for Ubuntu, but I cannot recommend it as it pulls in a lot of unnecessary packages.Ĭonfirm that the library configuration file for CUDA libraries also exists with the correct settings: This is most useful for these who're on headless systems (without X) as it will install CUDA without pulling in unnecessary dependencies. You'll observe that we're using the binary installer. Do so by checking the repository here: įetch the SDK binary installer first: cd ~/ffmpeg_sourcesĬhmod x. It's wise to confirm the latest driver version first. We keep the device driver up to the latest version so as to pass ffnvcodec driver version check. On Ubuntu 18.04LTS server systems, this will do: sudo apt install nvidia-headless-430 nvidia-utils-430 libnvidia-common-430 libnvidia-encode-430 libnvidia-decode-430 libnvidia-fbc1-430 ![]() On Ubuntu 18.04LTS desktop, this should be enough for the current device driver: sudo apt-get install nvidia-kernel-source-430 nvidia-driver-430 Sudo apt-get update
0 Comments
Leave a Reply. |