rocDecode environment variables#
2026-10-23
1 min read time
Applies to Linux and Windows
The following environment variables affect the rocDecode runtime.
Environment variable |
Values |
|---|---|
|
Sets the maximum severity of log messages during decoding. The log level defines the maximum severity of log messages to output.
0: Output critical messages only (default)1: Output critical and error messages2: Output critical, error and warning messages3: Output critical, error, warning and info messages4: Output critical, error, warning, info and debug messages |
|
Takes a comma-separated list of GPU indices.
When set, the decoder parses this list before it falls back to
HIP_VISIBLE_DEVICES. |
|
Comma-separated list of GPU indices. Parsed when
ROCR_VISIBLE_DEVICES isn’t set. |
|
Optional. Path to the directory containing the VA-API driver.
Only required if the driver you want to use is neither the one that ships with ROCm nor the distribution-provided one. ROCm’s libva finds its driver under
ROCM_PATH on its own: %ROCM_PATH%\lib\rocm_sysdeps\bin on Windows, $ROCM_PATH/lib/rocm_sysdeps/lib on Linux.This replaces libva’s default search directory rather than adding to it, so an incorrect value makes VA-API initialization fail.
|