How to activate Intel Quick Sync in docker (Jellyfin, Handbrake,...)

    • Offizieller Beitrag

    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:


    Code
    devices:
    - /dev/dri/renderD128:/dev/dri/renderD128
    - /dev/dri/card0:/dev/dri/card0

    Handbrake stack:


    Jellyfin stack:


  • crashtest

    Hat das Thema freigeschaltet.
  • chente

    Hat das Label von OMV 5.x auf OMV 6.x geändert.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!