docker-handbrake icon indicating copy to clipboard operation
docker-handbrake copied to clipboard

Issue starting

Open bpvarsity opened this issue 4 years ago • 5 comments

Running QNAP 653D and downloaded and started jlesage/handbrake container. It starts and stops pretty quickly.

I get this error s6-applyuidgid: fatal: unable to exec s6-fdholderd: Permission denied

If I try privileged mode I get

[cont-init.d] 95-check-qsv.sh: executing...
[cont-init.d] 95-check-qsv.sh: Processor: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
[cont-init.d] 95-check-qsv.sh: Intel Quick Sync Video not supported: device /dev/dri/renderD128 owned
/var/run/s6/etc/cont-init.d/95-check-qsv.sh: line 51: by group 'root' and configured user doesn't have permissions. : not found
[cont-init.d] 95-check-qsv.sh: exited 127.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

bpvarsity avatar Nov 17 '20 17:11 bpvarsity

I have the very same problem.

Even running it in privileged mode didn't change anything.

My System is a QNAP TS-453Be and i'm configuring the container using Portainer.

Rakdar avatar Nov 22 '20 20:11 Rakdar

Could you provide the output of the following commands:

docker inspect <container name>
ls -l /dev/dri
find /dev/dri -type c

jlesage avatar Dec 30 '20 22:12 jlesage

ls-l.txt dev.txt handbrake.inspect.txt

I had the exact same problem. This appears to be a QNAP issue, but I haven't see now to overcome it yet. I'd like to utilize the hardware acceleration if possible.

brightCod3 avatar May 30 '21 10:05 brightCod3

I have a QNAP 453B nas and also get the same error (see log and config attached) Archive.zip

s6-applyuidgid: fatal: unable to exec s6-fdholderd: Permission denied

I am able to run Nginx Proxy manager fine, but am unsure why this error is occurring and what impact it may have, can anyone help?

git-n00b avatar Jun 17 '21 20:06 git-n00b

I have the very same problem when I try to activate hardware acceleration for handbrake in Docker on my Synology DS218+ (INTEL Celeron J3355, DSM 7.1.1-42962 Update 3), doesn't matter if in privileged mode or not. So this doesn't seem to be a QNAP-exclusive "feature"... ;)

docker-inspect.txt ls.txt find.txt

For what it's worth: The hardware acceleration for jellyfin in Docker (with devices like /dev/dri and privileged mode) on the very same machine works just fine.

edit: I just tried the sudo chmod a+wr /dev/dri/* solution from https://github.com/jlesage/docker-handbrake and the container actually does start, but when I try to encode something with a QSV preset, the encoding fails with a Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK) in the handbrake logs.

rustysponge avatar Jan 24 '23 12:01 rustysponge