• 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 SOLVED: Hardware Transcoding Issue

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Hardware Transcoding Issue

    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #1
    2024-09-29, 11:46 PM
    Hey folks,

    Hardware transcoding used to work fine, and sometime over the past couple months it just stopped working. The issue appears when I try to play HEVC media in a browser, Jellyfin says "Playback Error Playback failed due to a fatal player error." This has happened before, but the issue was that I had run out of storage, which is not the case this time. Thanks in advance for any help Smiling-face

    My server is running Debian 11 and OpenMediaVault. Jellyfin is running in Docker. and is version 10.9.7. The CPU is a Ryzen 1600 with reasonably up to date firmware, 16GB of RAM, and a GTX1060. I have attached logs from the last time I attempted to play an HEVC file. Please let me know what other information I can provide that would be helpful.

    Thanks again!

    Logs: https://pastebin.com/1eC7sn8p
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-30, 12:02 AM
    We'd need to see the ffmpeg log, located in the same directory as the jellyfin log.

    Since you are on Debian 11, I am betting that your Nvidia driver and/or container toolkit is old.
    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]
    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #3
    2024-09-30, 12:46 AM
    Here are the three ffmpeg logs that appear to have been generated at the same time as the log previously posted.

    https://pastebin.com/0xbq49iQ
    https://pastebin.com/nqzLhxet
    https://pastebin.com/KVkui5Ze
    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #4
    2024-09-30, 01:44 AM
    The relevant lines appear to be
    [AVHWDeviceContext @ 0x5611a6dbaf00] Cannot load libcuda.so.1
    [AVHWDeviceContext @ 0x5611a6dbaf00] Could not dynamically load CUDA
    Device creation failed: -1.
    Failed to set value 'cuda=cu:0' for option 'init_hw_device': Operation not permitted
    Error parsing global options: Operation not permitted

    But after some googling I'm still unsure how to fix this.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-09-30, 01:39 PM
    Are you using docker compose to configure the container or OMV's UI?
    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]
    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #6
    2024-09-30, 04:49 PM
    Docker compose, through Portainer.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-09-30, 04:55 PM
    Can you share your docker compose config?
    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]
    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #8
    2024-09-30, 05:36 PM (This post was last modified: 2024-09-30, 05:38 PM by SNChalmers. Edited 3 times in total.)
    Apologies for not including it initially, somehow my password to Portainer got reset and I was struggling to figure out how to log in lol. Jellyfin specifically is this;

    EDIT: Not sure what happened to the formatting here but in Portainer everything is indented correctly, and obviously using colon+slash instead of Confused-face lol

    version: "3"
    services:
      jellyfin:
      # image: linuxserver/jellyfin:10.8.11-1-ls229
        image: ghcr.io/jellyfin/jellyfin:latest
      #  image: jellyfin/jellyfin
        container_name: jellyfin
        environment:
          - PUID=1000
          - PGID=100
          - TZ=America/Vancouver
        #  - UMASK_SET=022 #optional
        volumes:
          - /var/lib/docker/configs/jellyfinConfused-faceconfig
          - /srv/dev-disk-by-uuid-43c6f622-4118-429f-89b7-f9cd3995ea21/RaidSharedBase/Media/TVConfused-facedata/tvshows
          - /srv/dev-disk-by-uuid-43c6f622-4118-429f-89b7-f9cd3995ea21/RaidSharedBase/Media/MoviesConfused-facedata/movies
          - /srv/dev-disk-by-uuid-43c6f622-4118-429f-89b7-f9cd3995ea21/RaidSharedBase/Media/TranscodesConfused-faceconfig/transcodes
        ports:
          - 192.168.1.101:8096:8096
          - 192.168.1.101:8920:8920 #optional for secure connections
        restart: unless-stopped
        runtime: nvidia
        deploy:
          resources:
            reservations:
              devices:
                - capabilities: [gpu]

    The entire config is located in the pastebin below if you need it. Not all of these services are actually in use, though they're all running. I never got around to setting some of them up.

    https://pastebin.com/u5KBa4pQ
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-09-30, 05:38 PM
    Update your "Deploy" section to this.

    Code:
    deploy:
      resources:
        reservations:
          devices:
              - driver: nvidia
                 count: all
                 capabilities: [gpu]
    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]
    1
    SNChalmers
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2024 Jun
    Reputation: 0
    Country:Canada
    #10
    2024-09-30, 05:42 PM
    It works! Thanks so much man, you're a lifesaver. So was it trying to use a different driver or something? I wonder why that would've changed, this stuff worked fine a few months ago.
    Pages (2): 1 2 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