kaj 257 Posted November 28, 2020 Posted November 28, 2020 Does anyone have any idea how to enable hardware acceleration when running Emby in a docker? I have a Synology 918+ and am trying to enable vaapi.
Solution kaj 257 Posted November 29, 2020 Author Solution Posted November 29, 2020 Ok, worked it out. In docker, first stop then export your docker configuration for your Emby container. Then rename the docker container to something like emby-old. Edit the exported .json file. Change the line that reads "devices" : null, to: "devices" : [ { "CgroupPermissions": "rwm", "PathInContainer": "/dev/dri/renderD128", "PathOnHost": "/dev/dri/renderD128" } ], Make sure that the UID, GID and GIDLIST match your system's Emby user or admin. Save the file. Import it into back into docker and you are good to go. You can now enable VAAPI in the docker instance of Emby. 2
Luke 38864 Posted November 29, 2020 Posted November 29, 2020 Well done. Thanks for following up with that information !
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 @kaj I need help hardcoding Emby on a synology DS920 + (amd64) my json docker is like this: "devices" : [ { "CgroupPermissions": "rwm", "PathInContainer": "/dev/dri/renderD128", "PathOnHost": "/dev/dri/renderD128" } but in the parameters of emby, I do not have the hardcoding active. Where is my error please? and how do you find the right value for GIDLIST please? thank you so much
kaj 257 Posted September 26, 2021 Author Posted September 26, 2021 @Cadkey Oohh, I can't remember exactly what I did then. Soon after this post I reverted back to the spk package and have remained there since. I may have used this https://blog.jpleva.cz/2019/09/emby-enable-hardware-acceleration-in.html?m=1 to find the values
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 OK thanks a lot. I will try to find but it is not easy. I have this in the logs: "Message": "Failed to open the drm device / dev / dri / renderD128" "Message": "Failed to open the drm device / dev / dri / renderD128"
kaj 257 Posted September 26, 2021 Author Posted September 26, 2021 @Cadkey Why not just run the native Synology package? It's more efficient, I believe, than running in docker. 1
Carlo 4485 Posted September 26, 2021 Posted September 26, 2021 That's what I've been wondering as well.
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 (edited) @kaji tried, but the images and nfo went to the media folder with my mkv files. and I didn't like it. is it possible to save .nfo and .jpg files in a folder other than the media folders? Edited September 26, 2021 by Cadkey
Luke 38864 Posted September 26, 2021 Posted September 26, 2021 7 hours ago, Cadkey said: @kaji tried, but the images and nfo went to the media folder with my mkv files. and I didn't like it. is it possible to save .nfo and .jpg files in a folder other than the media folders? @Cadkey, simply turn off nfo saving and saving images to media folders if you don't want that. This is already off by default. Why did you turn them on?
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 Ok thanks. I want to use synology package. I want to use the service package spk. I had it already installed. when i want to install it now i got an error message. Port 8096 already in use by a service. how to solve this problem please?
Luke 38864 Posted September 26, 2021 Posted September 26, 2021 20 minutes ago, Cadkey said: Ok thanks. I want to use synology package. I want to use the service package spk. I had it already installed. when i want to install it now i got an error message. Port 8096 already in use by a service. how to solve this problem please? Do you have other software using the same port? Try uninstalling that.
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 no I have no software using 8096. I uninstall Emby package and now I c'ant install it.
Carlo 4485 Posted September 26, 2021 Posted September 26, 2021 If you still have docker running shut it down. If you still get that error that would indicate port 8096 was set in in the Synology app router or proxy and needs to be removed.
Luke 38864 Posted September 26, 2021 Posted September 26, 2021 Also try rebooting the NAS and see if that helps.
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 (edited) I have no proxy with 8096. where can i found synology app router? I don't use it i think reboot do nothing, always same problem Edited September 26, 2021 by Cadkey
Luke 38864 Posted September 26, 2021 Posted September 26, 2021 Quote reboot do nothing, always same problem Can you please try it? Thanks.
Cadkey 52 Posted September 26, 2021 Posted September 26, 2021 Yes I rebooted twice and again. No result. I see this when I install the package. There is still a trace of the emby package that I had previously uninstalled
Cadkey 52 Posted September 27, 2021 Posted September 27, 2021 And now the installation never stops ...
kaj 257 Posted September 27, 2021 Author Posted September 27, 2021 19 minutes ago, Cadkey said: I have no proxy with 8096. where can i found synology app router? I don't use it i think reboot do nothing, always same problem You need to delete the Emby docker container. Just stopping it isn't enough.
Cadkey 52 Posted September 27, 2021 Posted September 27, 2021 (edited) I have already deleted the emby container entirely. my package installation does not complete. ... I reboot to stop the infinite installation ... i installed the emby package 3 days ago, then i uninstalled it. Now I can no longer install the package because port 8096 has remained declared as 'reserved' by emby while emby is no longer installed. Edited September 27, 2021 by Cadkey
Cadkey 52 Posted September 27, 2021 Posted September 27, 2021 I bought emby premiere for hardware transcoding. Cannot activate it in docker and the package version of emby no longer installs on my DS 920+ bad day. it is 2 a.m. in France
kaj 257 Posted September 27, 2021 Author Posted September 27, 2021 1 hour ago, Cadkey said: I bought emby premiere for hardware transcoding. Cannot activate it in docker and the package version of emby no longer installs on my DS 920+ bad day. it is 2 a.m. in France @cayars may be able to help. He helped me by remotely connecting to my 918+. Stick with it, the support here is fantastic. I moved from Plex to Emby about three years ago, as I found transcoding, local and remote users much much better with Emby. 1
Cadkey 52 Posted September 27, 2021 Posted September 27, 2021 Okay I tried the solution of editing the INFO file in the spk package. I replaced adminport = "8096" by adminport = "8097" the spk installs and works. I did an uninstall hoping that it 'free' the ports used normally by Emny ... but still the problem of port 8096 when installing the original spk file. as I had just installed my server, I took the brutal solution of deleting the folder /volume1/@appdata$/EmbyServer
Cadkey 52 Posted September 27, 2021 Posted September 27, 2021 Thanks for your help. I'm waiting for my library to build to test the hardware encoding. I chose emby because the interface is very responsive and the videos start quickly. I like the announcement of the next episode at the end of the current episode. Maybe there will be the option to 'skip intro' in a future release?
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