• 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 Container startup issues with NVidia

     
    • 0 Vote(s) - 0 Average

    Container startup issues with NVidia

    Jellyfin and nvidia on startup fails
    Terence-D
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    Country:Canada
    #1
    2024-04-16, 03:58 PM
    Hi there, not sure where to post, so thought I'd start here... 

    I have Jellyfin running great, along with hw transcoding through my GPU, no issues until I reboot. The container will not restart after reboot until I first run this command by hand, then I can restart the container successfully:

    sudo nvidia-container-cli --load-kmods info

    I'll be honest I don't know what magic that does, I assume it loads kernel modules? I did check the following file and load-kmods=true is set:

    cat /etc/nvidia-container-runtime/config.toml | grep mod
    load-kmods = true

    I'm looking for some way to either fix whatever this is, OR just run that command on startup somehow.. this might be a better question to ask for the docker or linux guys, but as its Jellyfin I thought I'd start here. Any help is appreciated, thank you.  I've been running like this for awhile and its finally annoyed me enough to start investigating.  I've tried searching on Google to no avail.

    Relevant system info
    • Host - Ubuntu 22.04
    • Jellyfin Version: 10.8.13
    • GPU - nvidia 1060 6gb

    Dockercompose:
    Code:
    version: "3"
    services:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=${TZ}
        runtime: nvidia
        volumes:
          - [deleted]/docker/jellyfin/config:/config
          - [deleted]/jellyfin/cache:/cache
        ports:
            [deleted]
        restart: unless-stopped
        deploy:
          resources:
            reservations:
              devices:
                - capabilities: [gpu]
        devices:
          - /dev/nvidia-caps:/dev/nvidia-caps
          - /dev/nvidia0:/dev/nvidia0
          - /dev/nvidiactl:/dev/nvidiactl
          - /dev/nvidia-modeset:/dev/nvidia-modeset
          - /dev/nvidia-uvm:/dev/nvidia-uvm
          - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Container startup issues with NVidia - by Terence-D - 2024-04-16, 03:58 PM
    RE: Container startup issues with NVidia - by TheDreadPirate - 2024-04-16, 05:03 PM
    RE: Container startup issues with NVidia - by Terence-D - 2024-04-17, 10:47 PM

    • 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