• 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: Trouble passing through A380 to Proxmox LXC Container

     
    • 0 Vote(s) - 0 Average

    SOLVED: Trouble passing through A380 to Proxmox LXC Container

    umaxtu
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Dec
    Reputation: 0
    Country:United States
    #1
    2023-12-16, 03:20 AM
    Solution: So I noticed that the numbers in the 6th column of the ls -l output didn't match the numbers after the colon on the lxc.cgroup2.devices.allow lines in the container config file. I changed the numbers in the config file to match what I was seeing in the container (1 and 129 respectively) and it worked! I have no idea what those numbers represent, but it worked!

    Problem:
    I'm trying to pass through and Intel Arc A380 to a proxmox lxc container (debian bookworm container), but when I try to run /usr/lib/jellyfin-ffmpeg/vainfo --display drm --device /dev/dri/renderD128
    I get:
    Code:
    Trying display: drm

    Failed to open the given device!

    I've also tried the non-jellyfin vainfo and only get:
    Code:
    Failed to open the given device!

    Here is my config file for the container:
    Code:
    arch: amd64
    cores: 2
    hostname: airbus
    memory: 2048
    net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:C2:07:79,ip=dhcp,type=veth
    ostype: debian
    rootfs: pool:subvol-102-disk-0,size=8G
    swap: 512
    lxc.cgroup2.devices.allow: c 226:0 rwm
    lxc.cgroup2.devices.allow: c 226:128 rwm
    lxc.mount.entry: /dev/dri/card1 dev/dri/card0 none bind,optional,create=file
    lxc.mount.entry: /dev/dri/renderD129 dev/dri/renderD128 none bind,optional,create=file

    output of ls -l /dev/dri on proxmox:
    Code:
    ls -l /dev/dri
    total 0
    drwxr-xr-x 2 root root        120 Dec 14 22:57 by-path
    crw-rw---- 1 root video  226,  0 Dec 14 22:57 card0
    crw-rw---- 1 root video  226,  1 Dec 14 22:57 card1
    crw-rw---- 1 root render 226, 128 Dec 14 22:57 renderD128
    crw-rw---- 1 root render 226, 129 Dec 14 22:57 renderD129

    in the container:
    Code:
    ls -l /dev/dri
    total 0
    crw-rw---- 1 root video 226,  1 Dec 15 03:57 card0
    crw-rw---- 1 root input 226, 129 Dec 15 03:57 renderD128


    I'm pretty sure I've got the firmware setup correctly because I installed vainfo on proxmox itself and when I run vainfo --display drm --device /dev/dri/renderD129
    It works, and I know its talking to the A380 vs the iGPU because I see AV1 listed as supported.

    Another interesting tidbit is that I edit the container config to passthrough the iGPU, it works.

    Hopefully I am missing something obvious.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Trouble passing through A380 to Proxmox LXC Container - by umaxtu - 2023-12-16, 03:20 AM
    RE: Trouble passing through A380 to Proxmox LXC Container - by gbschenkel - 2023-12-18, 11:06 PM

    • 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