Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| hardware:en-decoder [2020/04/03 10:19] – derpeter | hardware:en-decoder [2021/10/15 10:43] (current) – derpeter | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| = Video Acceleration | = Video Acceleration | ||
| - | |||
|   * https:// |   * https:// | ||
|   * https:// |   * https:// | ||
| Line 13: | Line 12: | ||
|   * https:// |   * https:// | ||
| - | The tool '' | + | The tool '' | 
| + | |||
| + | Vainfo can be forced to use a specific render device | ||
| + | < | ||
| + | vainfo --display drm --device / | ||
| + | </ | ||
| + | |||
| + | Also the driver to use can be choosen | ||
| + | < | ||
| + | LIBVA_DRIVER_NAME=iHD | ||
| + | </ | ||
| + | |||
| + | Output on a kabylake microarchitecture based CPU will e.g. look like this: | ||
| < | < | ||
| Line 75: | Line 86: | ||
|   * https:// |   * https:// | ||
|   * https:// |   * https:// | ||
| + |   * https:// | ||
| + |   * https:// | ||
| + | |||
| + | There are two userspace drivers availiable to enable usage of the igpu with vaapi.  | ||
| + | |||
| + | * intel-media-driver (Gen8+ / Broadwell+) | ||
| + | * i965-va-driver (up to Gen7) | ||
| + | |||
| + | Gen9+ / Skylake to Gen11 need GuC/HuC firmware to be loaded to enable all features (https:// | ||
| + | |||
| The ffmpeg wiki has a clear list of the capabilities each Intel GPU generation offers: | The ffmpeg wiki has a clear list of the capabilities each Intel GPU generation offers: | ||
| Line 182: | Line 203: | ||
| < | < | ||
| gstreamer1.0-vaapi needs to be installed for this to work. Replace vaapi with the API you want to use e.g. omx. | gstreamer1.0-vaapi needs to be installed for this to work. Replace vaapi with the API you want to use e.g. omx. | ||
| + | There are some envirement variables that can be set to change gstreamers behavior / driver usage | ||
| + | |||
| + | < | ||
| + | LIBVA_DRIVER_NAME=iHD DRI_PRIME=/ | ||
| + | </ | ||
| + | where the first one is in most cases enough. | ||
| + | |||
| + | |||
| The output will look like: | The output will look like: | ||
| Line 213: | Line 242: | ||
| </ | </ | ||
| + |   * https:// | ||
|   * https:// |   * https:// | ||
|   * https:// |   * https:// | ||