• 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 Help with Hardware Acceleration

     
    • 0 Vote(s) - 0 Average

    Help with Hardware Acceleration

    foxhoundxgenome
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-06-21, 03:14 AM
    I have finally got everything to work both locally and remotely, so now I would like to enable hardware acceleration, but am having some trouble.

    From the official Jellyfin documentation here (https://jellyfin.org/docs/general/admini...ualization), I have tried:
    Code:
    docker run -d \
    --name=jellyfin \
    --volume /path/to/config:/config \
    --volume /path/to/cache:/cache \
    --volume /path/to/media:/media \
    --user 1000:1000 \
    --group-add="122" \ # Change this to match your "render" host group id and remove this comment
    --net=host \
    --restart=unless-stopped \
    --device /dev/dri/renderD128:/dev/dri/renderD128 \
    jellyfin/jellyfin

    *I replaced the volumes and the render group ID accordingly, and removed the comment for the group-add line
    However, after entering the above in a Stack within Portainer, I receive this error message:

    Quote:Deployment error

    failed to deploy a stack: Top-level object must be a mapping



    These are my specs:
    Running Jellyfin in a Docker container via Portainer
    OS: Ubuntu Server
    GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]

    Does anyone know what I'm doing wrong?
    I have also tried the following solutions with no success:
    https://www.youtube.com/watch?v=_RfH65swYNo
    https://www.youtube.com/watch?v=VHXefJ7Ne6I
    zackoid
    Offline

    Community Moderator

    Posts: 10
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    #2
    2023-06-22, 12:10 AM
    I don't know what you're doing wrong because I don't use portainer, and I believe your issue is not specifying the container in the format they expect.

    However you don't need to do it in portainer, you can run that on the command line.  The only thing that is obviously wrong is you have placeholders instead of paths for your config, cache and media volumes.  1000:1000 and 122 are also not necessarily correct (or incorrect), those depend on the IDs of the user you want the container to run as, and of the group that owns the /dev/dri/rednderD128 device.
    « 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