NVIDIA’s Video Codec SDK 13.1 documents a limit of 12 simultaneous NVENC encode sessions shared across all non-qualified GPUs in a system. Qualified cards such as the Quadro RTX 4000 are limited by resources such as encoder capacity and memory. Check the exact card’s codec support before sizing it, then choose an Ubuntu driver that supports both the card and the encoder software. NVIDIA NVENC policy · NVIDIA GPU support matrix · NVIDIA FFmpeg setup
How NVIDIA counts NVENC sessions
The SDK 13.0 application note lists a shared limit of eight for non-qualified GPUs. In the 13.1 note’s mixed-system example, one qualified Quadro RTX 4000 can encode up to its resource limit. The three non-qualified GeForce cards in that system share the 12-session allowance. SDK 13.0 application note · SDK 13.1 application note
Look up your exact board under NVENC - Encoding in the support matrix. Read the concurrent session limit, encoder count and codec columns together. For example, the matrix lists eight for the Quadro P1000 and lists the P2000 as unrestricted. NVIDIA GPU support matrix
Size a Quadro for your workload
These are desktop models. The codec columns refer to encoding. The HEVC column shows 10-bit support. Use the separate NVDEC - Decoding table to check any input codec you also plan to decode on the GPU. NVIDIA GPU support matrix
| Desktop card | NVENC engines | Published session limit | H.264 4:2:0 | HEVC 10-bit | AV1 4:2:0 | Memory | Published power |
|---|---|---|---|---|---|---|---|
| Quadro P1000 (Pascal) | 1 | 8 | Yes | Yes | No | 4 GB GDDR5 | 50 W |
| Quadro P2000 (Pascal) | 1 | Unrestricted | Yes | Yes | No | 5 GB GDDR5 | 75 W |
| Quadro RTX 4000 (Turing) | 1 | Unrestricted | Yes | Yes | No | 8 GB GDDR6 | 160 W |
| RTX 4000 SFF Ada Generation | 2 | Unrestricted | Yes | Yes | Yes | 20 GB GDDR6 | 70 W |
The encoder columns come from NVIDIA’s matrix. Memory and power for the three Quadro models are as listed for Lenovo’s ThinkStation P330 Tower Gen 2 graphics options. NVIDIA lists the SFF Ada card as dual-slot, so check your chassis clearances alongside its power budget. NVIDIA GPU support matrix · Lenovo graphics specifications · NVIDIA RTX 4000 SFF specifications
Count each video output that will be encoded at peak load and record its codec, resolution, frame rate and preset. For example, seven live inputs with two separately encoded outputs each require 14 simultaneous encodes. That exceeds the 12-session allowance for the non-qualified GPUs in the SDK 13.1 example. NVIDIA FFmpeg multi-output examples · NVIDIA NVENC policy
For a qualified card, size for the throughput your outputs need. Multiple engines increase aggregate capacity across concurrent sessions. A single session is limited to one engine’s performance unless Split Frame Encoding is enabled. NVIDIA’s published throughput depends on the preset, rate control and hardware used, so verify the output mix on your own system. NVIDIA NVENC performance guidance
Install the NVIDIA driver on Ubuntu Server
Match the driver branch to the GPU and application before installing. Pascal cards such as the P1000 and P2000 require proprietary kernel modules. NVIDIA lists both under the legacy 580 branch in its Linux supported-products appendix. Open kernel modules are supported only on Turing and newer GPUs. NVIDIA kernel module guide · NVIDIA Linux supported GPUs
For either Pascal card, choose an encoder build that supports the 580 branch. For example, SDK 13.0 lists Pascal and a Linux driver minimum of 570. The SDK 13.1 Linux requirements list driver 610 or later. Check which SDK version your FFmpeg build uses before choosing the driver. SDK 13.0 requirements · SDK 13.1 requirements · NVIDIA FFmpeg setup
Update the system before choosing a driver. Canonical’s Ubuntu Server driver guide
sudo apt update && sudo apt upgrade
After the update and reboot, list the driver options for your server. Canonical recommends ubuntu-drivers on Secure Boot systems because by default it selects signed, prebuilt drivers known to work with Secure Boot. Canonical’s Ubuntu Server driver guide
sudo ubuntu-drivers list --gpgpu
If automatic selection suits your software, use the command below. For a particular branch, Canonical shows the explicit form as sudo ubuntu-drivers install --gpgpu nvidia:535-server. Substitute the branch and suffix of the compatible server driver from your list. Canonical says ubuntu-drivers removes conflicting NVIDIA drivers before installing the selected one. Canonical’s Ubuntu Server driver guide
sudo ubuntu-drivers install --gpgpu
For Canonical’s 535-server example, the command is sudo apt install nvidia-utils-535-server. Confirm the card is visible and check the version of the running driver. Canonical’s Ubuntu Server driver guide · NVIDIA FFmpeg setup
nvidia-smi
cat /proc/driver/nvidia/version
Verify NVENC and test the planned load
With your compatible FFmpeg build, check whether h264_nvenc is listed. Then run a transcode that exercises both hardware decoding and encoding. Use an input.mp4 with a video format your GPU can decode. The -n flag protects an existing output.mp4. NVIDIA FFmpeg setup and testing guide · NVIDIA FFmpeg guide for SDK 13.0 · FFmpeg command-line options
ffmpeg -hide_banner -encoders | grep nvenc
ffmpeg -n -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 \
-c:a copy -c:v h264_nvenc -b:v 5M output.mp4
While the job is running, list active encoder sessions if your nvidia-smi supports encodersessions. On supported bare-metal Linux systems, use dmon in another terminal to watch encoder and decoder utilization. NVIDIA SMI documentation
nvidia-smi encodersessions
nvidia-smi dmon
For a capacity check, repeat with representative inputs, output settings and the planned number of concurrent encodes. Use distinct output filenames and inputs with a large number of frames. Watch FFmpeg’s progress output for each job. NVIDIA FFmpeg performance guidance · FFmpeg command-line options
Evidence and limits. NVIDIA Video Codec SDK 13.0 and 13.1 documentation, published hardware specifications, and the Ubuntu Server driver guide were checked on 2026-11-26. The commands and workload were not run for this article.