Hardware acceleration for Jellyfin container

  • Hello,

    I am very new to OMV, and am just now setting up a box to serve as an NAS.

    My setup: 7.7.9-1 (Sandworm); Intel(R) N150; Linux 6.12.27+bpo-amd64.


    The problem I ran into has been described in several other old threads:

    Jellyfin (linuxserver.io docker container), while running fine out of the box was refusing to use hardware acceleration.


    What worked for me:

    sudo apt-get install firmware-linux

    and ...

    sudo apt-get install firmware-intel-graphics


    That finally allowed me to reach the hardware and get past the errors thrown by vainfo.


    Prior to that, I did a lot of things, some of which may not have been strictly necessary (listed below in no particular order):

    • since in my setup dockeruser is the designate for the container execution, I added this user to the "render" and "video" groups
    • in my docker-compose file, I added the render group (105 on my setup) using the group_add clause, and passed the devices to the container (as usual)...
    Code
    group_add:
          - "105" # render group
    devices:
          - /dev/dri:/dev/dri
    • Added the DOCKER_MODS to the environment, as required by the linuxserver container...
    Code
        environment:
          - PUID=${PUID}
          - PGID=${PGID}
          - TZ=${TZ}
          - DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel

    Hope this helps somebody.

    Cheers!

  • chente

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!