• 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

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Hardware Acceleration

    Hardware Acceleration not working
    LAB77
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #1
    2024-02-10, 10:34 PM
    Hi all. Need some help please.

    I cannot seem to get HW Acceleration working!

    I'm running Ubuntu and running Jellfin in a docker container. I'm also using docker compose. Here's my compose file:

    Code:
    version: "3"
    services:
      jellyfin:
        image: lscr.io/linuxserver/jellyfin:latest
        container_name: jellyfin
        group_add:
          - "110"
          - "render"
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/London
        network_mode: 'host'
        volumes:
          - jellyfin-config:/config
          - /home/jelly/media:/media
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        ports:
          - 8096:8096


    The render group is "110"

    When I run "docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo" I get:
    Trying display: drm
    error: failed to initialize display

    What am I doing wrong?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-02-10, 10:49 PM
    /dev/dri/renderD128 should be just /dev/dri

    see docs https://docs.linuxserver.io/images/docke...celeration
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-02-10, 11:49 PM
    Remove the "-render" line. That is taken care of with -110. You need to make sure that all the drivers are installed on the host. Also make sure that the codecs you've checked in Dashboard > Playback are codecs your iGPU can decode.

    Can you share your ffmpeg log?
    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]
    LAB77
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #4
    2024-02-11, 09:54 AM
    How do I "Can you share your ffmpeg log?"?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-02-11, 05:49 PM
    In the container path /config/log there will be a bunch of files titled FFMPEG-Transcode<random string>.log. Pick one and attach it to a post or post it to sourcebin.
    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]
    LAB77
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #6
    2024-02-13, 07:56 PM
    (2024-02-10, 11:49 PM)TheDreadPirate Wrote: Remove the "-render" line.  That is taken care of with -110.  You need to make sure that all the drivers are installed on the host.  Also make sure that the codecs you've checked in Dashboard > Playback are codecs your iGPU can decode.

    Can you share your ffmpeg log?

    I had to zip it!


    Attached Files
    .zip   FFmpeg-Transcode-log.zip (Size: 40.83 KB / Downloads: 78)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-02-13, 08:17 PM
    Since you are running the container as 1000/1000, did you add that user to the render group?
    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]
    LAB77
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #8
    2024-02-14, 07:01 PM
    No idea. How can I check and how do i do that?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-02-14, 07:14 PM
    Code:
    id yourUsernameHere

    It will then list the groups your user is a part of. If "render" is not in the group list.

    Code:
    sudo usermod -aG render yourUsernameHere
    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]
    LAB77
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    Country:United Kingdom
    #10
    2024-02-15, 08:31 PM
    Just tried that and after adding the user to render, it still didn't work :-(
    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