HI,
I am another one who has installed an LXC virtual machine in proxmox but has problems with hardware acceleration: https://github.com/tteck/Proxmox
I use an I5-10500T with UHD Graphics 630.
I have searched a lot of information for both proxmox and emby, but I can't solve it.
I am also investigating for emby to see where the problem is.
This is my LXC configuration:
HOST MACHINE
LXC MACHINE
My error on emby is: Failed to open the drm device /dev/dri/renderD128
But on the LXC machine i think all it's ok:
I see two things there that I don't know if they are important, they are things that I have seen differently compared to other users:
1) Is correct this line?
lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
2) Somewhere I saw that they used:
lxc.cgroup2.devices.allow: c 226:* rwm
lxc.cgroup2.devices.allow: c 29:* rwm
I have also seen a thread that commented that it was a group thing, but the truth is that I do not master it and I do not know what to put in subuid and subgid
https://forum.proxmox.com/threads/using-intel-quick-sync-inside-container.114502/
At this point I don't know where the problem is coming from, if it's a thing of the machine, of emby, of the LXC, of proxmox, of me,.....
Greetings and thanks
I am another one who has installed an LXC virtual machine in proxmox but has problems with hardware acceleration: https://github.com/tteck/Proxmox
I use an I5-10500T with UHD Graphics 630.
I have searched a lot of information for both proxmox and emby, but I can't solve it.
I am also investigating for emby to see where the problem is.
This is my LXC configuration:
Code:
# Emby LXC
#### https://tteck.github.io/Proxmox/
#<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/%E2%98%95-Buy me a coffee-red' /></a>
arch: amd64
cores: 2
features: nesting=1
hostname: emby-original
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=192.168.3.1,hwaddr=6E:88:37:D7:17:69,ip=192.168.3.98/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-198-disk-0,size=8G
swap: 512
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
HOST MACHINE
Code:
root@host:~# ls -l /dev/dri
total 0
drw-rw---- 2 root root 80 Oct 20 16:41 by-path
crw-rw---- 1 root video 226, 0 Oct 20 16:41 card0
crw-rw---- 1 root render 226, 128 Oct 20 16:41 renderD128
LXC MACHINE
Code:
root@emby:~# ls -l /dev/dri
total 0
drw-rw---- 2 root root 80 Oct 20 14:41 by-path
crw-rw---- 1 root video 226, 0 Oct 20 14:41 card0
crw-rw---- 1 root syslog 226, 128 Oct 20 14:41 renderD128
My error on emby is: Failed to open the drm device /dev/dri/renderD128
But on the LXC machine i think all it's ok:
Code:
root@emby:~# lspci -nn | grep -e VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-S GT2 [UHD Graphics 630] [8086:9bc8] (rev 03)
root@emby:~# lshw -c video
*-display
description: VGA compatible controller
product: CometLake-S GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1680,1050
resources: irq:154 memory:9e000000-9effffff memory:a0000000-afffffff ioport:3000(size=64) memory:c0000-dffff
root@emby:~#
I see two things there that I don't know if they are important, they are things that I have seen differently compared to other users:
1) Is correct this line?
lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
2) Somewhere I saw that they used:
lxc.cgroup2.devices.allow: c 226:* rwm
lxc.cgroup2.devices.allow: c 29:* rwm
I have also seen a thread that commented that it was a group thing, but the truth is that I do not master it and I do not know what to put in subuid and subgid
https://forum.proxmox.com/threads/using-intel-quick-sync-inside-container.114502/
At this point I don't know where the problem is coming from, if it's a thing of the machine, of emby, of the LXC, of proxmox, of me,.....
Greetings and thanks
Last edited: