GPU in LXC for transcoding

+DS_DV+

Well-Known Member
Feb 9, 2020
36
2
48
Hello,

does anyone know how to get hardware acellerated transcoding to work in a lxc?

proxmox (host) has:
Code:
apt isntall pve-headers
./amdgpu-pro-install --no-32 --opencl=legacy,rocr -y
apt install amf-amdgpu-pro

lxc conf:
Code:
lxc.cgroup2.devices.allow: c 226:* rwm
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

i tired the lxc without drivers and with:

Code:
./amdgpu-install --opencl=legacy --headless --no-dkms --no-32 -y
apt install amf-amdgpu-pro

no matter what combination or settings i cant seem to get transcoding to work.

any help would be greatly apreciated

with kind regards