• 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 Hardware Acceleration and Docker

    Pages (3): « Previous 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Hardware Acceleration and Docker

    Jellyfin on Docker Engine hardware acceleration with a P400
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #11
    2024-06-12, 11:53 PM
    (2024-06-12, 10:41 PM)TheDreadPirate Wrote: I'm wondering if there are mismatched drivers or something.  Since you're using Ubuntu you can check out their documentation or Nvidia drivers.  Ubuntu includes some tools to make things easier.

    https://ubuntu.com/server/docs/nvidia-dr...stallation

    Is there a way to just clean uninstall any drivers on the system and start over?
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #12
    2024-06-12, 11:59 PM (This post was last modified: 2024-06-12, 11:59 PM by missmintygreen. Edited 1 time in total.)
    (2024-06-12, 11:53 PM)missmintygreen Wrote:
    (2024-06-12, 10:41 PM)TheDreadPirate Wrote: I'm wondering if there are mismatched drivers or something.  Since you're using Ubuntu you can check out their documentation or Nvidia drivers.  Ubuntu includes some tools to make things easier.

    https://ubuntu.com/server/docs/nvidia-dr...stallation

    Is there a way to just clean uninstall any drivers on the system and start over?

    Also, I ran this to see what packages I have installed from nvidia: "dpkg -l | grep -i nvidia"

    Code:
    me@me-OptiPlex-7010:/$ dpkg -l | grep -i nvidia
    ii  libnvidia-cfg1-535:amd64                  535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA binary OpenGL/GLX configuration library
    ii  libnvidia-common-535                      535.171.04-0ubuntu0.22.04.1            all          Shared files used by the NVIDIA libraries
    ii  libnvidia-compute-535:amd64                535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA libcompute package
    ii  libnvidia-compute-535:i386                535.171.04-0ubuntu0.22.04.1            i386        NVIDIA libcompute package
    rc  libnvidia-compute-545:amd64                545.29.06-0ubuntu0.22.04.2              amd64        NVIDIA libcompute package
    rc  libnvidia-compute-550:amd64                550.67-0ubuntu1.22.04.2                amd64        NVIDIA libcompute package
    ii  libnvidia-container-tools                  1.15.0-1                                amd64        NVIDIA container runtime library (command-line tools)
    ii  libnvidia-container1:amd64                1.15.0-1                                amd64        NVIDIA container runtime library
    ii  libnvidia-decode-535:amd64                535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA Video Decoding runtime libraries
    ii  libnvidia-decode-535:i386                  535.171.04-0ubuntu0.22.04.1            i386        NVIDIA Video Decoding runtime libraries
    ii  libnvidia-encode-535:amd64                535.171.04-0ubuntu0.22.04.1            amd64        NVENC Video Encoding runtime library
    ii  libnvidia-encode-535:i386                  535.171.04-0ubuntu0.22.04.1            i386        NVENC Video Encoding runtime library
    ii  libnvidia-extra-535:amd64                  535.171.04-0ubuntu0.22.04.1            amd64        Extra libraries for the NVIDIA driver
    ii  libnvidia-fbc1-535:amd64                  535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-fbc1-535:i386                    535.171.04-0ubuntu0.22.04.1            i386        NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-gl-535:amd64                    535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  libnvidia-gl-535:i386                      535.171.04-0ubuntu0.22.04.1            i386        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  linux-modules-nvidia-535-6.5.0-35-generic  6.5.0-35.35~22.04.1                    amd64        Linux kernel nvidia modules for version 6.5.0-35
    ii  linux-modules-nvidia-535-generic-hwe-22.04 6.5.0-35.35~22.04.1                    amd64        Extra drivers for nvidia-535 for the generic-hwe-22.04 flavour
    ii  linux-objects-nvidia-535-6.5.0-35-generic  6.5.0-35.35~22.04.1                    amd64        Linux kernel nvidia modules for version 6.5.0-35 (objects)
    ii  linux-signatures-nvidia-6.5.0-35-generic  6.5.0-35.35~22.04.1                    amd64        Linux kernel signatures for nvidia modules for version 6.5.0-35-generic
    ii  nvidia-compute-utils-535                  535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA compute utilities
    rc  nvidia-compute-utils-545                  545.29.06-0ubuntu0.22.04.2              amd64        NVIDIA compute utilities
    ii  nvidia-container-toolkit                  1.15.0-1                                amd64        NVIDIA Container toolkit
    ii  nvidia-container-toolkit-base              1.15.0-1                                amd64        NVIDIA Container Toolkit Base
    rc  nvidia-dkms-545                            545.29.06-0ubuntu0.22.04.2              amd64        NVIDIA DKMS package
    ii  nvidia-driver-535                          535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA driver metapackage
    ii  nvidia-firmware-535-535.171.04            535.171.04-0ubuntu0.22.04.1            amd64        Firmware files used by the kernel module
    ii  nvidia-firmware-545-545.29.06              545.29.06-0ubuntu0.22.04.2              amd64        Firmware files used by the kernel module
    ii  nvidia-kernel-common-535                  535.171.04-0ubuntu0.22.04.1            amd64        Shared files used with the kernel module
    rc  nvidia-kernel-common-545                  545.29.06-0ubuntu0.22.04.2              amd64        Shared files used with the kernel module
    ii  nvidia-kernel-source-535                  535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA kernel source package
    ii  nvidia-prime                              0.8.17.1                                all          Tools to enable NVIDIA's Prime
    ii  nvidia-settings                            510.47.03-0ubuntu1                      amd64        Tool for configuring the NVIDIA graphics driver
    ii  nvidia-utils-535                          535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA driver support binaries
    ii  screen-resolution-extra                    0.18.2                                  all          Extension for the nvidia-settings control panel
    ii  xserver-xorg-video-nvidia-535              535.171.04-0ubuntu0.22.04.1            amd64        NVIDIA binary Xorg driver

    I wonder if that  libnvidia-compute-550:amd64 is the issue.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-06-13, 12:08 AM
    What happens when you run

    sudo ubuntu-drivers install nvidia:550
    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]
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #14
    2024-06-13, 12:11 AM
    (2024-06-13, 12:08 AM)TheDreadPirate Wrote: What happens when you run

    sudo ubuntu-drivers install nvidia:550

    Code:
    me@me-OptiPlex-7010:/$ sudo ubuntu-drivers install nvidia:550
    All the available drivers are already installed.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-06-13, 11:51 AM
    If you don't have a GUI, rip out all the Nvidia drivers you don't need and only keep what you do.
    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]
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #16
    2024-06-13, 10:23 PM (This post was last modified: 2024-06-13, 11:12 PM by missmintygreen. Edited 2 times in total.)
    (2024-06-13, 11:51 AM)TheDreadPirate Wrote: If you don't have a GUI, rip out all the Nvidia drivers you don't need and only keep what you do.

    Any advice on the best way to remove a specific driver or wipe all of them?

    Tried uninstalling everything to do with nvidia using "sudo apt-get remove --purge nvidia*" and "sudo apt-get autoremove" and followed it up with restarting the whole process of installing nvidia, according to the guide, but I'm still getting hit with an error on playback when the hardware acceleration is turned on.
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #17
    2024-06-29, 07:50 PM
    Still looking for more help on this, if anyone has any further advice or guidance!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2024-06-30, 02:15 AM
    One thing that just came to mind is that newer Nvidia drivers may require a newer version of the Nvidia Container Toolkit than what is available in 22.04's repo. You can try manually downloading and installing a new version of the container toolkit.

    https://github.com/NVIDIA/nvidia-container-toolkit
    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]
    missmintygreen
    Offline

    Junior Member

    Posts: 20
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:United States
    #19
    2024-06-30, 02:27 AM
    (2024-06-30, 02:15 AM)TheDreadPirate Wrote: One thing that just came to mind is that newer Nvidia drivers may require a newer version of the Nvidia Container Toolkit than what is available in 22.04's repo.  You can try manually downloading and installing a new version of the container toolkit.

    https://github.com/NVIDIA/nvidia-container-toolkit

    I'll definitely give this a shot!
    rambro1stbud
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #20
    2024-09-15, 05:59 PM
    (2024-06-12, 01:08 AM)missmintygreen Wrote: Jellyfin version: 10.9.6
    Install method: Docker Engine container
    CPU: Intel i5 3470
    GPU: Nvidia Quadro P400

    New to Linux and I've managed to get a Docker install with Home Assistant and Jellyfin up and running. While video playback works just fine in Chrome, in the Jellyfin app, and on Swiftfin on my AppleTV, I picked up a GPU because I'd like to take some of the load off the CPU so that I can share access to my media library with some friends in the future. The majority of my movies and shows are just MKV files, and when I switch on hardware acceleration on the Dashboard, I'm not able to play back any of my media until it's switched off again.
    I've tried to install the proper GPU driver for my P400, but I'm not sure that Jellyfin has proper access to it. I've been a bit confused by the directions on the Jellyfin website, considering my installation method. I'm relatively certain jellyfin-ffmpeg was installed when I created the container, so I think it's just a matter of configuring my GPU to work with Docker and Jellyfin.

    I have a Quadro P400 as well. Like you, I struggled to get Jellyfin to recognize my GPU. I'm on the latest TrueNAS, running Jellyfin through Dockge. The official documentation wasn't really helpful at all. I looked at a bunch of Reddit and TrueNAS forum posts. This the docker compose that worked for me. Relevant parts highlighted:

    Code:
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin
        environment:
          - PUID=568
          - PGID=568
          - TZ=$TZ
    [b]      - NVIDIA_VISIBLE_DEVICES=all[/b]
          - JELLYFIN_PublishedServerUrl=$URL
        volumes:
          - /path/to/jellyfin:/config
          - /path/to:/tv
          - /path/to:/movies
        ports:
          - 8096:8096
          - 8920:8920 #optional
          - 7359:7359/udp #optional
          - 1900:1900/udp #optional
        restart: unless-stopped
        [b]deploy:[/b]
    [b]      resources:[/b]
    [b]        reservations:[/b]
    [b]          devices:[/b]
    [b]            - driver: nvidia[/b]
    [b]              count: 1[/b]
    [b]              capabilities:[/b]
    [b]                - gpu[/b]
    networks: {}
    Pages (3): « Previous 1 2 3 Next »

    « 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