• 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: Intel QSV inside Docker via Proxmox LXC?

     
    • 0 Vote(s) - 0 Average

    SOLVED: Intel QSV inside Docker via Proxmox LXC?

    It works for me via different guides, but can it be better?
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #1
    2024-06-24, 05:02 AM
    Hi I was looking for a guide on how to setup Intel Quick Sync Video with Jellyfin via a docker container inside of a proxmox LXC. I couldn't find anything exact to my needs but took pieces from other places and made it work. Yes I did browse the documentation https://jellyfin.org/docs/general/admini...tion/intel

    1. Run command inside LXC: getent group render | cut -d: -f3
    Resulting for me as 104

    2. Edit LXC conf file via proxmox host (mine was nano 200.conf)
    2A. Add the following to the end of your LXC conf file:
    Code:
    dev0: /dev/dri/card1,gid=44
    dev1: /dev/dri/renderD128,gid=104
    2B. Restart LXC

    3. Match my jellyfin docker-compose to be similar to the example listed in the following link. Specifically include the group_add and devices sections. https://jellyfin.org/docs/general/admini...ualization

    4. Update my jellyfin docker container with this new change

    5. Run: docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/vainfo
    Confirm good

    6. Run: docker exec -it jellyfin /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=va -init_hw_device opencl@va
    Confirm good

    6. Enable Intel QSV in transcode settings and test successfully


    Anyways, just wanted to confirm that I'm doing this correctly. The transcode works perfect for H265 files inside a web browser for jellyfin. Just wanted to see if there's anymore more efficient or easier? Thanks
    13100 CPU for server
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-24, 02:34 PM
    LXCs are definitely more difficult than bare metal or even Docker on bare metal.

    But what you did looks right.

    What do you mean "more efficient and easier"?
    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]
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #3
    2024-06-24, 02:56 PM
    (2024-06-24, 02:34 PM)TheDreadPirate Wrote: LXCs are definitely more difficult than bare metal or even Docker on bare metal.

    But what you did looks right.

    What do you mean "more efficient and easier"?
    I guess I want to know if there’s any better way for me to do what I just did? Mostly asking since I couldn’t find a guide on this on Jellyfin site .
    13100 CPU for server
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-06-24, 03:45 PM (This post was last modified: 2024-06-24, 03:46 PM by TheDreadPirate. Edited 1 time in total.)
    There is a section of the Intel doc for Proxmox LXCs.

    https://jellyfin.org/docs/general/admini...on-proxmox

    And another for docker.

    https://jellyfin.org/docs/general/admini...ial-docker

    As for a better way, no.
    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