-
Notifications
You must be signed in to change notification settings - Fork 25
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
Unraid + Transcoding/Hardware acceleration #28
Comments
i'm uncertain of how much i will be able to help as we never tested the case of nvenc in a docker container the server itself does profiling to attempt to figure out what hwaccel methods are supported on the system as far as i understand the issue with using hwaccel in docker is that the docker container does not normally have access to the GPU, so i expect the issue to be the fact that our Dockerfile does not give the required access to the GPU there is a community PR with this minor change: https://github.com/Stremio/server-docker/pull/24/files that i believe might be specific to giving the required access to use the |
@jaruba Thanks for the input I tried taking a look at the community PR you mentioned, as well as the NVIDIA documentation for dockerized containers and other containers I have successfully managed to have hardware transcoding. So, the change in the PR habilitates GPU capabilities for When I tried to play some content (used Sintel magnet URL + Torrentio), the movie played without issues, but without using hardware acceleration, relying still in CPU. Made a different test, accessed the container via bash and runned this When using this command inside the docker container, I was successfuly able to use hardware transcoding with my NVIDIA GPU. Therefore, providing the dockerized container with GPU capabilities is possible, and Hope this helps, if more information needed, please let me know. |
Stremio server needs to be open source, I'm working on fixing this but it would be so much easier if it was open source. |
After some debugging I was able to track down whats causing the issue in my setup
(This is using the same ffmpeg commands the test for verifying it's working is using) |
I got it working by using the newer Nvidia container toolkit and this for my compose:
|
First of all, thanks for the dockerized version of the Stremio Service.
Was able to follow documentation and run it in Unraid (if you're not familiar, it is a Linux-based OS for self-hosting servers and NAS). Managed to install some addons and currently able to proxy stream using Stremio Web. So, the main functionality is working.
I saw that
ffmpeg-jellyfin
is being used, and in Unraid I also have a Jellyfin server docker running, with GPU transcoding capabilities (in my specific case using NVIDIA GPU and nvenc). Tried the same docker configuration as described here forstremio-server
, but to no avail. I guess some additional configuration would be necessary, even if similarffmpeg
version is available.Since I'm not that knowledgeable regarding
ffmpeg
and video decoding/transcoding aspects or how the Stremio Service works, I am reaching for extra help... When testing, only CPU is being used, at least I see persistent spiking in CPU usage when watching content, so is there a way to had GPU hardware acceleration/transcoding functionality? Or is this already available and I missed it?Even if not specifically for Unraid, was someone able to get this working for Linux platform? Any help or feedback welcome.
Thanks.
The text was updated successfully, but these errors were encountered: