Intel Quick Sync is a hardware video accelerator built into some Intel CPUs. It allows converting the video format in real time without overloading the CPU. It is useful for media players or video converters.
Prerequisite:
Make sure the CPU has Intel Quick Sync technology. Check the following information:
https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
https://ark.intel.com/content/…873&0_QuickSyncVideo=True
Install the drivers:
Choose the right driver for our CPU. See here which one you need: https://github.com/intel/intel-vaapi-driver
My CPU works with the VA-API driver. Access a terminal by SSH with putty (https://www.putty.org/) and execute the following:
apt install intel-media-va-driver
Optionally we can install vainfo to check the result:
apt install vainfo
and then run
vainfo
The graphic configuration will appear on the screen.
Include parameters in docker stacks:
The user set in the docker stacks must have permissions to use the graphical system. We must add it to the "render" group.
In the OMV GUI we go to << Access permissions >> then <<User>>, select the user and press the "Privileges" button, look for the "render" group, select it and click on save.
In the docker stacks each application will have a method, query the stack editor settings. As an example below two stacks of Jellyfin and Handbrake. In both cases it works by adding the following section:
Handbrake stack:
---
version: "2"
services:
handbrake:
image: jlesage/handbrake
container_name: handbrake
ports:
- 5800:5800
volumes:
- /srv/dev-disk-by-uuid-c31ebfea-c15a-4f78-823c-9410fae65531/archivos_de_sistema/config/handbrake:/config:rw
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/descargas:/storage:ro
- /srv/dev-disk-by-uuid-c31ebfea-c15a-4f78-823c-9410fae65531/archivos_comprimidos:/output:rw
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
restart: unless-stopped
Alles anzeigen
Jellyfin stack:
---
version: "2.1"
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=1002
- PGID=100
- TZ=Europe/Madrid
volumes:
- /srv/dev-disk-by-uuid-c31ebfea-c15a-4f78-823c-9410fae65531/archivos_de_sistema/config/jellyfin:/config
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/fotos:/datos/fotos
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/musica:/datos/musica
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/descargas:/datos/descargas
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/peliculas:/datos/peliculas
- /srv/8c3a6c3a-7f82-4821-98ae-dcc3b6238171/series:/datos/series
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
ports:
- 8096:8096
restart: unless-stopped
Alles anzeigen