Wondering if anybody knows a solution to an issue I'm trying to resolve. I run Plex on my DS916+ NAS and there is now a beta version available which supports hardware transcoding, I don't have a requirement for this locally but it would be nice to make use of when away from the home, as the files have high bitrates streaming over my cable connection isn't going to work too well.
So, I have managed to create a docker image which contains the plex system with the preview build installed and I have that running on my Synology file, hardware transcoding works beautifully when I change the bit rate and the thing doesn't really break a sweat, all good.
Except, that the permissions on /dev/dri/renderD128 mean that I can't access the device from docker without first chmodding the device so that the docker container can make use of it, and obviously if the synology reboots the permissions are lost and I have to go and re-chmod it. I could add a start up script to chmod it, but it all seems a bit hacky. (but it may be the only way to solve the issue)
Here's the /dev.dri folder: (I've already chmodded renderD128 so I can access it from docker)
crw------- 1 root root 226, 0 Feb 14 09:22 card0
crw------- 1 root root 226, 64 Feb 14 09:22 controlD64
crwxrwxrwx 1 root root 226, 128 Feb 14 09:22 renderD128
As you can see, the file in question is part of group 226, this supposedly should be the "video" group and the proper solution from the plex guys is that you simply add your user to the video group and voila!
Except, the group doesn't exist in /etc/group and synology rebuilds that file every boot and they don't appear to have the normal commands to add users to groups, they have their own special user management system.
I know this is a long shot, but does anybody have any idea what I can do here to make this work without having to resort to chmodding the device on boot?
Edited by sn00p (15/02/2017 09:23)