• 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 Jellyfin stops seeing the GPU and won't play certain files until restarted

     
    • 0 Vote(s) - 0 Average

    Jellyfin stops seeing the GPU and won't play certain files until restarted

    ohshitgorillas
    Offline

    Junior Member

    Posts: 28
    Threads: 8
    Joined: 2023 Sep
    Reputation: 0
    Country:United States
    #1
    2023-12-11, 05:49 PM
    Every so often, I find that Jellyfin won't serve up certain media files and needs rebooted before it will play. I have to log onto the server and run "docker restart jellyfin" after which the content plays fine.

    ffmpeg logs suggest that the server can't find the graphics driver:
    Code:
    [AVHWDeviceContext @ 0x55ab136a6e40] cu->cuInit(0) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
    Device creation failed: -542398533.
    Failed to set value 'cuda=cu:0' for option 'init_hw_device': Generic error in an external library
    Error parsing global options: Generic error in an external library

    Jellyfin logs are here, and ffmpeg logs are here.

    docker-compose.yml:
    Code:
    version: "2.1"
    services:
      jellyfin_ddns4:
        image: sjmayotte/route53-dynamic-dns:latest
        container_name: jellyfin_ddns4
        env_file:
          - ./4.env
        restart: unless-stopped
        logging:
          driver: gelf
          options:
            gelf-address: "udp://10.0.0.1:12201"
            tag: "jellyfin_ddns4"

      jellyfin_ddns6:
        image: sjmayotte/route53-dynamic-dns:latest
        container_name: jellyfin_ddns6
        env_file:
          - ./6.env
        network_mode: host
        restart: unless-stopped
        logging:
          driver: gelf
          options:
            gelf-address: "udp://10.0.0.1:12201"
            tag: "jellyfin_ddns6"

      jellyfin:
        image: linuxserver/jellyfin:latest
        container_name: jellyfin
        runtime: nvidia
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=America/Los_Angeles
          - NVIDIA_VISIBLE_DEVICES=all
          - NVIDIA_DRIVER_CAPABILITIES=all
        volumes:
          - ./config:/config
          - /srv/media/music:/music
          - /srv/media/tv:/tv
          - /srv/media/movies:/movies
        network_mode: host
        depends_on:
          - jellyfin_ddns4
          - jellyfin_ddns6
        restart: unless-stopped
         
      nginx:
        container_name: nginx_jellyfin
        image: nginx:latest
        volumes:
          - ./nginx/log:/var/log/nginx
          - ./nginx/keys:/config/keys
          - ./nginx/nginx.conf:/etc/nginx/nginx.conf
        ports:
          - 8920:80
        depends_on:
          - jellyfin
        restart: unless-stopped
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-12-11, 06:52 PM
    You would need to check the host's system logs. All the ffmpeg and jellyfin logs are going to tell you is that the device isn't available anymore. Not why it isn't available.
    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