• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Intel QuickSync on Docker?

     
    • 0 Vote(s) - 0 Average

    SOLVED: Intel QuickSync on Docker?

    Intel QuickSync on Docker?
    Ángel Hurtado
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #1
    2024-03-27, 07:35 PM
    So I have followed some guides that said to add to my docker compose file this

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

    And VAAPI seems to work, but not QuickSync, at least VAAPI lets me select the renderD128 in the dashboard > playback while QuickSync doesn't.

    Yes, I have a modern Intel CPU, a N100, driver in Docker is 23.xx (can't recall right now) and also have it on my OS.

    Using Ubuntu 24.04 Server (dev builds). Doesn't seem like a problem from Ubuntu.
    I am also using the official Docker image, from Jellyfin
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-27, 07:43 PM (This post was last modified: 2024-03-27, 07:43 PM by TheDreadPirate.)
    Did you pass in the render group into the container? If this container is running at root, than this doesn't matter.

    Code:
    group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    Only VAAPI allows you to specify a render device to use. The other vendor specific options rely on the driver to properly detect and use the appropriate device.

    What happens when you select Quick Sync? Can you share the ffmpeg log when HWA is set to Quick Sync? Also, did you check both Low Power Encoding options? If so, I believe you still need to install the HuC and GuC firmware.

    https://jellyfin.org/docs/general/admini...e-on-linux

    Alternatively, you could UNcheck them since they aren't necessary for the N100.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    homelabResearcher
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #3
    2024-03-27, 11:20 PM
    (2024-03-27, 07:35 PM)Ángel Hurtado Wrote: So I have followed some guides that said to add to my docker compose file this

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

    And VAAPI seems to work, but not QuickSync, at least VAAPI lets me select the renderD128 in the dashboard > playback while QuickSync doesn't.

    Yes, I have a modern Intel CPU, a N100, driver in Docker is 23.xx (can't recall right now) and also have it on my OS.

    Using Ubuntu 24.04 Server (dev builds). Doesn't seem like a problem from Ubuntu.
    I am also using the official Docker image, from Jellyfin

    Same build here. You may check whether your user is able to write to these devices in docker console. Don't just chmod them since permissions of these devices will be reset after reboot.
    Jellyfin 10.9.7
    Ubuntu23.10 Linux 6.6
    Intel N100 
    16GB DDR4
    All media files attached via NFS
    Test servers on 10.9.2 and 10.9.6, backup servers on 10.8.13
    Ángel Hurtado
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #4
    2024-03-28, 02:53 PM
    (2024-03-27, 07:43 PM)TheDreadPirate Wrote: Did you pass in the render group into the container?  If this container is running at root, than this doesn't matter.

    Code:
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    Only VAAPI allows you to specify a render device to use.  The other vendor specific options rely on the driver to properly detect and use the appropriate device.

    What happens when you select Quick Sync?  Can you share the ffmpeg log when HWA is set to Quick Sync?  Also, did you check both Low Power Encoding options?  If so, I believe you still need to install the HuC and GuC firmware.

    https://jellyfin.org/docs/general/admini...e-on-linux

    Alternatively, you could UNcheck them since they aren't necessary for the N100.

    Going to try the group_add to Docker compose. I thought that I only needed to add my user to render. Right now I'm not using the Low Power modes, if this doesn't work I will report back with the ffmpeg log.
    Ángel Hurtado
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    #5
    2024-03-28, 03:09 PM (This post was last modified: 2024-03-28, 03:11 PM by Ángel Hurtado.)
    (2024-03-27, 11:20 PM)homelabResearcher Wrote:
    (2024-03-27, 07:35 PM)Ángel Hurtado Wrote: So I have followed some guides that said to add to my docker compose file this

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

    And VAAPI seems to work, but not QuickSync, at least VAAPI lets me select the renderD128 in the dashboard > playback while QuickSync doesn't.

    Yes, I have a modern Intel CPU, a N100, driver in Docker is 23.xx (can't recall right now) and also have it on my OS.

    Using Ubuntu 24.04 Server (dev builds). Doesn't seem like a problem from Ubuntu.
    I am also using the official Docker image, from Jellyfin

    Same build here. You may check whether your user is able to write to these devices in docker console. Don't just chmod them since permissions of these devices will be reset after reboot.

    Hehe, you read my mind, I tried that but saw that in reboot they in fact revert back to the previous permissions. Sometimes I think that I should run everything as root, even knowing the inevitable security risks it has (though, I don't typically use port forwarding on my setup)

    (2024-03-27, 07:43 PM)TheDreadPirate Wrote: Did you pass in the render group into the container?  If this container is running at root, than this doesn't matter.

    Code:
        group_add:
          - "122" # Change this to match your "render" host group id and remove this comment

    Only VAAPI allows you to specify a render device to use.  The other vendor specific options rely on the driver to properly detect and use the appropriate device.

    What happens when you select Quick Sync?  Can you share the ffmpeg log when HWA is set to Quick Sync?  Also, did you check both Low Power Encoding options?  If so, I believe you still need to install the HuC and GuC firmware.

    https://jellyfin.org/docs/general/admini...e-on-linux

    Alternatively, you could UNcheck them since they aren't necessary for the N100.

    This was it!. In my case the render group id was 993. If anyone wants to know its render group id easily:

    Code:
        cat /etc/group | grep render
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode