zocker-160
zocker-160
For Handbrake there is no need for the CUDA / Nvidia drivers inside the container. Passing `--gpus all` and setting `ENV NVIDIA_DRIVER_CAPABILITIES all` is enough. See my Dockerfile here: https://github.com/zocker-160/handbrake-nvenc-docker
@jlesage I'm using Handbrake 1.2.1 on my linux machine and there is the option for me to use the NVEnc in the drop down menu. And it works as expected....
@jworcester92 @Aterfax I've put some time into this and thanks to @djaydev 's template I've managed to get a Docker container working with NVENC  you can check it out...
@djaydev your image didn't work for me at all :-( it always used the CPU EDIT: and for me there was no option to select NVENC in the drop down
@djaydev yes I am aware of that, that's why I put ``` ENV NVIDIA_VISIBLE_DEVICES all ENV NVIDIA_DRIVER_CAPABILITIES all ``` right into the image but I wonder how your image can...
ah ok understood I will have a look into that, removing the CUDA drivers would make my image way smaller. will do some more testing, maybe I missed something EDIT:...
ok so after some testing I figured out how it works with the Nvidia GPU since Docker version >=19.03 you don't need the nvidia-docker2 package nor do you have to...
@joelang1699 this is not really an software issue, that is just how GPU video encoding works, you simply cannot reach the same file size and quality of CPU encoding
since @harryt04 found the issue I will not address that, but I want to comment on this > Can I not use the GPU for two docker containers simultaneously? Is...
> For NVENC and NVDEC to work, I am pretty sure that the image has to have the Nvidia drivers installed integrated. The Plex container, for instance, gains this by...