zeroidea 2 Posted March 9, 2019 Posted March 9, 2019 (edited) Just migrated to a new QNAP (TVS-951X) and there was an issue getting vaapi working in my emby docker container. In QTS 4.3.6.0875 there are no default system groups (like video) and the /dev/dri folder is owned by admin:administrators with restrictive permissions, which are reset upon reboot. It was necessary to create an autorun.sh script to set things up for docker use. #!/bin/bash chown admin:video /dev/dri chmod 775 /dev/dri chown admin:video /dev/dri/* chmod 660 /dev/dri/* The docker needs to run as a user assigned to the video group (or have the video group's GID listed in GIDLIST), run in privileged mode, and have /dev/dri passed through as a device. This enables vaapi for me - qsv's a no-go. Edit: Something like this is (probably only) needed when running the docker as a non-root user. Edited March 18, 2019 by zeroidea
Luke 38874 Posted March 9, 2019 Posted March 9, 2019 Hi @@zeroidea that is great, thanks for the info !
lowfi 1 Posted August 11, 2019 Posted August 11, 2019 up this topic! Did you create the videogroup in the gui? groupadd isnt available on qnap in cli...
zeroidea 2 Posted August 11, 2019 Author Posted August 11, 2019 up this topic! Did you create the videogroup in the gui? groupadd isnt available on qnap in cli... Try 'addgroup'
lowfi 1 Posted August 19, 2019 Posted August 19, 2019 I didnt work for me when using 775. Im on beta FW 4.4.1. Which version are you on?
Luke 38874 Posted August 19, 2019 Posted August 19, 2019 I didnt work for me when using 775. Im on beta FW 4.4.1. Which version are you on? What does "didn't work" mean? What happened?
lowfi 1 Posted August 22, 2019 Posted August 22, 2019 HW accel didnt work for me using 775. Tried it using ipad, to stream 1080p on the lfy transcoding tot 720p 3mbs. When i use 777 it works. Im using a qnap with celeron j1900 cpu.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now