• 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

     
    • 0 Vote(s) - 0 Average

    Hardware Acceleration

    Intel i7-9700 Hardware Encoding not being detected
    talkativetrex
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #1
    2024-03-07, 05:23 PM (This post was last modified: 2024-03-07, 05:27 PM by talkativetrex. Edited 1 time in total.)
    Hi There,

    I'm running Jellyfin on linux docker with linuxerver jellyfin version. 10.8.13-1-ls2. 

    My docker run command is attached. I've also attached the lspci response on the host (green) and the docker container (black & white).

    I keep facing an issue with the following error: 
    No VA display found for any default device.
    Device creation failed: -22.
    Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iID' for option 'init_hw_device': Invalid argument
    I have an image with the full output below.

    Whenever I enable hardware encoding I get these errors the video fails to play.

    Has anyone faced this issue before? Maybe I am enabling the wrong kinds of media to transcode. I've checked and I think this configuration should work.

    Thank you


    Attached Files Thumbnail(s)
                   
    kandykarter
    Offline

    Member

    Posts: 156
    Threads: 21
    Joined: 2023 Jun
    Reputation: 3
    #2
    2024-03-07, 05:33 PM
    I had this issue recently. I discovered that for some reason my /dev/dri directory was empty. I'd have to do some digging to figure out what exactly I did to solve it, but it might be worth running ls /dev/dri on the host machine to make sure renderD128 and card0 are in that directory.
    talkativetrex
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #3
    2024-03-07, 05:34 PM
    (2024-03-07, 05:33 PM)kandykarter Wrote: I had this issue recently. I discovered that for some reason my /dev/dri directory was empty. I'd have to do some digging to figure out what exactly I did to solve it, but it might be worth running ls /dev/dri on the host machine to make sure renderD128 and card0 are in that directory.

    I have them in the container with full permissions. Odd


    Attached Files Thumbnail(s)
       
    kandykarter
    Offline

    Member

    Posts: 156
    Threads: 21
    Joined: 2023 Jun
    Reputation: 3
    #4
    2024-03-07, 05:38 PM
    Well, I think it's a GOOD thing that they exist. I don't have much experience with docker run, but in my docker compose I needed to mount /dev/dri as a device. I notice your 'docker run' uses the -v switch, which I'm guessing is setting it as a volume, so maybe that's your issue?

    This all said I'm a bit of a docker beginner, so this is just a guess.
    1
    talkativetrex
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #5
    2024-03-07, 06:29 PM
    (2024-03-07, 05:38 PM)kandykarter Wrote: Well, I think it's a GOOD thing that they exist. I don't have much experience with docker run, but in my docker compose I needed to mount /dev/dri as a device. I notice your 'docker run' uses the -v switch, which I'm guessing is setting it as a volume, so maybe that's your issue?

    This all said I'm a bit of a docker beginner, so this is just a guess.

    wow yes, that was a volume, checking now. I'm really going to face palm if thats the case
    kandykarter
    Offline

    Member

    Posts: 156
    Threads: 21
    Joined: 2023 Jun
    Reputation: 3
    #6
    2024-03-07, 06:32 PM
    Worth a shot anyway, I also suspect that PUID & GUID shouldn't be 0, but I'm not sure about that.
    talkativetrex
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Mar
    Reputation: 0
    Country:United States
    #7
    2024-03-07, 06:45 PM
    (2024-03-07, 05:38 PM)kandykarter Wrote: Well, I think it's a GOOD thing that they exist. I don't have much experience with docker run, but in my docker compose I needed to mount /dev/dri as a device. I notice your 'docker run' uses the -v switch, which I'm guessing is setting it as a volume, so maybe that's your issue?

    This all said I'm a bit of a docker beginner, so this is just a guess.

    that was it! thank you for helping me think through this, 

    SOLUTION: 
    in my docker run i have -v for /dev/driConfused-facedev/dri instead of --device /dev/driConfused-facedev/dri.
    kandykarter
    Offline

    Member

    Posts: 156
    Threads: 21
    Joined: 2023 Jun
    Reputation: 3
    #8
    2024-03-07, 06:49 PM
    Oh awesome, I'm so glad! Cheers!
    Paladrink
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Jul
    Reputation: 0
    #9
    2024-07-01, 09:44 PM
    (2024-03-07, 05:38 PM)kandykarter Wrote: Well, I think it's a GOOD thing that they exist. I don't have much experience with docker run, but in my docker compose I needed to mount /dev/dri as a device. I notice your 'docker run' uses the -v switch, which I'm guessing is setting it as a volume, so maybe that's your issue?

    This all said I'm a bit of a docker beginner, so this is just a guess.

    Dude... i joined this forum just to tell you how awesome you are!! thanks a lot, i had also deployed it as a container and i been bashing my head for weeks why the acceleration does not work, was almost giving up on jellyfin container, i built it as server and was ok no problem, went back to container and all the problem arose.

    I am wondering if there is a list of the dev pointers that need to be passed to the container?

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-07-01, 10:42 PM
    We have guides for each GPU vendor, including instructions when using virtualization. Whether that is docker or LXCs.

    https://jellyfin.org/docs/general/admini...eleration/
    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: 2 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