This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Photoprism transcoding Intel QuickSync /dev/dri #2550
Unanswered
chicungunya
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I had the passtrough of my /dev/dri
This is my conf file of my LXC :
arch: amd64
cores: 4
features: keyctl=1,nesting=1
hostname: photoprism
memory: 8192
mp0: /lxc/data,mp=/mnt/data
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:13:7D:BB,ip=192.168.1.112/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-112-disk-0,size=8G
swap: 512
tags: proxmox-helper-scripts
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
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
When I do
ls -l /dev/dri
in my PVE I have this :root@pve:~# ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 Feb 21 12:37 by-path
crw-rw---- 1 root video 226, 0 Feb 21 12:37 card0
crw-rw---- 1 root render 226, 128 Feb 21 12:37 renderD128
And in my container :
root@photoprism:~# ls -l /dev/dri
total 0
drwxr-xr-x 2 nobody nogroup 80 Feb 21 12:37 by-path
crw-rw---- 1 nobody nogroup 226, 0 Feb 21 12:37 card0
crw-rw---- 1 nobody nogroup 226, 128 Feb 21 12:37 renderD128
I miss something right?
But how to tell to Photoprism now? I don't know if the HW transcoding is working? In the log of Photoprism I have :
2024-02-23 12:23:24 INFO libx264: created Name.mpg.avc [5m46.261050656s]
I'm pretty sure it is software transcoding right?In my /opt/photoprism/config/.env file I put :
PHOTOPRISM_FFMPEG_ENCODER='intel'
PHOTOPRISM_INIT='intel tensorflow'
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions