intel 185H/155H iGPU

Magi

New Member
Aug 3, 2024
4
0
1
Anyone here with intel 185H/155H CPU? Are you able to setup LXC with iGPU working?
Intel has stated that this series of iGPU got no virtualization support. so VM is not possible.
but in theory it should work on LXC. Somehow I'm struggling to make it work for tdarr to encode.

in LXC it shows

Code:
[goofy@donald ~]$ ls -l /dev/dri
total 0
crw-rw---- 1 nobody nobody 226,   0 Sep 21 10:45 card0
crw-rw---- 1 nobody nobody 226, 128 Sep 21 10:45 renderD128
[calibur@donald ~]$ vainfo
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
error: can't connect to X server!
Trying display: drm
error: failed to initialize display
[goofy@donald ~]$
 
Last edited:
NVM... I sorted it all out
I didn't map it correctly
the host has
44 video
104 render
and i need to map LXC
39 video
105 render

but now tdarr docker container has a different set of groups
Code:
root@97b3aacb3297:/# ls -l /dev/dri
total 0
crw-rw---- 1 nobody irc        226,   0 Sep 21 18:45 card0
crw-rw---- 1 nobody messagebus 226, 128 Sep 21 18:45 renderD128
root@97b3aacb3297:/# getent group video
video:x:44:
 
I have an intel 185H, and while I have vainfo showing up correctly, I cannot get the GPU to map to an LXC...

Can you share your config for an LXC you were able to map the GPU to?

Code:
root@pve-01:~# vainfo | head -5
error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileMPEG2Simple            : VAEntrypointVLD

Code:
root@pve-01:~# ls -al /dev/dri
total 0
drwxr-xr-x  3 root root         100 Oct  7 23:50 .
drwxr-xr-x 18 root root        5440 Oct  8 22:50 ..
drwxr-xr-x  2 root root          80 Oct  8 22:47 by-path
crw-rw----  1 root video   226,   0 Oct  8 22:47 card0
crw-rw----  1 root crontab 226, 128 Oct  7 23:50 renderD128

Code:
root@pve-01:~# cat /etc/pve/nodes/pve-01/lxc/104.conf
arch: amd64
cores: 2
features: mount=nfs
hostname: vm-plex-01
memory: 2048
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:35:7D:22,ip=dhcp,ip6=dhcp,tag=1014,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-zfs:subvol-104-disk-0,size=50G
swap: 512
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.hook.pre-start: sh -c "chown 0:108 /dev/dri/renderD128"
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!