• 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 ffmpeg path broken when I add `NVIDIA_VISIBLE_DEVICES=all`

     
    • 0 Vote(s) - 0 Average

    ffmpeg path broken when I add `NVIDIA_VISIBLE_DEVICES=all`

    ffmpeg path broken when I add `NVIDIA_VISIBLE_DEVICES=all`
    Brad T
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-12, 03:14 AM (This post was last modified: 2024-01-12, 03:23 AM by Brad T. Edited 1 time in total.)
    In my docker-compose, when I add NVIDIA_VISIBLE_DEVICES=all, ffmpeg stops working. 
    I get errors like "FFmpeg: Failed version check: /usr/lib/jellyfin-ffmpeg/ffmpeg"
    When I remove the variable, everything works again but my GPU isn't utilized.

    Here is my docker-compose service.

    Note, that I observe the same issue when using the official jellyfin/jellyfin image.

    Code:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin
        environment:
          - TZ=Etc/UTC
          - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
          - NVIDIA_VISIBLE_DEVICES=all
        volumes:
          - ${ROOT_PATH}/jellyfin/config:/config
          - ${ROOT_PATH}/tv:/data/tvshows
          - ${ROOT_PATH}/movies:/data/movies
        ports:
          - 8096:8096
          - 8920:8920 #optional
          - 7359:7359/udp #optional
          - 1900:1900/udp #optional
        runtime: nvidia
        deploy:
          resources:
            reservations:
              devices:
                - capabilities: [gpu]
        restart: unless-stopped
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-12, 03:41 AM
    Have you tried re-pulling the image?
    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]
    « 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