Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue starting #155

Open
bpvarsity opened this issue Nov 17, 2020 · 5 comments
Open

Issue starting #155

bpvarsity opened this issue Nov 17, 2020 · 5 comments

Comments

@bpvarsity
Copy link

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.

@Rakdar
Copy link

Rakdar commented Nov 22, 2020

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.

@jlesage
Copy link
Owner

jlesage commented Dec 30, 2020

Could you provide the output of the following commands:

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

@brightCod3
Copy link

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.

@git-n00b
Copy link

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?

@rustysponge
Copy link

rustysponge commented Jan 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants