• 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 Guides, Walkthroughs & Tutorials GPU Transcoding on Unraid

     
    • 3 Vote(s) - 5 Average

    GPU Transcoding on Unraid

    How I solved GPU Transcoding on my server.
    PapaTrotsky
    Offline

    Junior Member

    Posts: 17
    Threads: 3
    Joined: 2023 Nov
    Reputation: 0
    Country:Canada
    #1
    2023-11-15, 09:11 PM
    Some context for this: I couldn't get GPU hardware transcoding working on my jellyfin container installed on Unraid. I really struggled with the clarity of the official guides so I decided to just post the solution to my problem exactly in the way I understand it and hope others will too.

    Essentially what I had to do was modify my jellyfin container by: adding this line to my extra parameters under Advanced View
    Extra Parameters: -e NVIDIA_DRIVER_CAPABILITIES=all  -e NVIDIA_VISIBLE_DEVICES=all  --gpus all
    That's the exact line I used, I copy and pasted exactly that, obviously without the Extra Parameters part.
    Than I created 2 variables in the container editor.

    Variable 1:
    Name: NVIDIA_VISIBLE_DEVICES
    Key: NVIDIA_VISIBLE_DEVICES
    value: all

    Variable 2:
    Name: NVIDIA_DRIVER_CAPABILITIES
    Key: NVIDIA_DRIVER_CAPABILITIES
    Value: all

    Aside from this you need to make sure NVIDIA drivers and NVIDIA container toolkit is installed. On Unraid, you can install the "Nvidia Driver" app/plugin from the built-in apps installer, the author at time of writing is 'ich777'.
    The container toolkit just works, I assume it comes with the drivers.
    I also installed "GPU Statistics" I don't think it's necessary but it's nice to see how the GPU is performing.
    After that I just setup the hardware transcoding on jellyfin and was good to go.
    There's 2 ways to verify the functionality. First, you can turn NVENC encoding on in Jellyfin and try to stream a show. The second way is run this command in the Unraid terminal: docker exec -it jellyfin nvidia-smi
    If the command outputs a table with GPU statistics you know it worked.
    1
    1
    1
    Potato Undercover
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2023 Nov
    Reputation: 0
    #2
    2023-11-22, 04:16 PM
    Also, if you are ARC struggler, I just followed https://www.reddit.com/r/unRAID/comments...ding_with/ guide today, and it is working with the latest kernel fix from thor2002. It was extremely easy to set up, as opposed to what I tried earlier with having to tinker with kernel files(it failed). Only issue is that VPP tone mapping works, the other one makes HDR content fail to play. Both QSV and VAAPI work, not sure which is better. on unraid version 6.12.14
    Rafael Silva
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Apr
    Reputation: 0
    #3
    2024-04-28, 11:52 AM
    I subscribed just to thank you for this, you're awesome!
    1
    Djondan
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Dec
    Reputation: 0
    Country:Finland
    #4
    2024-12-03, 04:32 PM
    Also subscribed to thank you and add for other idiots such us myself, rebooting unraid might be necessery after installing nvidia drivers. Spent a frigging hour on that
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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