19 views
Nvidia Drivers and PLEX Hardware Transcoding Install Ubuntu Install Nvidia Drivers Update Ubuntu sudo apt update sudo apt upgrade -y sudo apt autoremove -y Install ffmpeg sudo apt install ffmpeg Reboot (To be safe...) sudo reboot now Install Nvidia Drivers sudo apt update sudo ubuntu-drivers autoinstall Reboot (This is important!) sudo reboot now Verify Driver (You should see your GPU listed with the driver in use.) nvidia-smi Ensure ffmpeg can see the GPU (Look for cuda, nvenc, nvdec in the output.) ffmpeg -hwaccels Ensure ffmpeg has encoders available (You should see h264_nvenc, hevc_nvenc, etc.) ffmpeg -encoders | grep nvenc Install PLEX Media Server Install PLEX GPG Key curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - Add PLEX repository to apt sources echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list Install PLEX... sudo apt update sudo apt install plexmediaserver Verify PLEX Media Server is Running (press q to exit the log viewer and return to the shell) sudo systemctl status plexmediaserver Continue your PLEX server setup in a web browser… which is beyond the scope of this note