Prepping Docker/OMV for NVIDIA Driver (for transcoding) FAIL

  • Hello!

    So I am following 'https://forum.openmediavault.org/index.php?thread/38013-howto-nvidia-hardware-transcoding-on-omv-5-in-a-plex-docker-container/' and the initial step to install nvidia drivers 'https://phoenixnap.com/kb/nvidia-drivers-debian' was successful. I then go to install the nvidia docker 'https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker' and it fails.


    sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi

    Unable to find image 'nvidia/cuda:11.0-base' locally

    11.0-base: Pulling from nvidia/cuda

    54ee1f796a1e: Pull complete

    f7bfea53ad12: Pull complete

    46d371e02073: Pull complete

    b66c17bbf772: Pull complete

    3642f1a6dfb3: Pull complete

    e5ce55b8b4b9: Pull complete

    155bc0332b0a: Pull complete

    Digest: sha256:774ca3d612de15213102c2dbbba55df44dc5cf9870ca2be6c6e9c627fa63d67a

    Status: Downloaded newer image for nvidia/cuda:11.0-base

    docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.


    I type in command 'nvidia-smi' and it says 'sudo: nvidia-smi: command not found'


    Why dies this happen to me?

    nvidia-driver is already the newest version (418.211.00-1) is the driver that it installed.




    Oh, didnt notice this error


    The following packages have unmet dependencies:

    libegl-mesa0 : Depends: libgbm1 (= 20.3.5-1~bpo10+1) but 20.3.5-1 is to be installed

    E: Unable to correct problems, you have held broken packages.


    Why? Like why?

  • Got it all working. For me quite possibly due to my ignorance, I had to use 3 sources and combine various aspects of the install to make it work.


    And then, I realized I need to pay for Plex Pass to activate hardware accelerated transcoding.


    Regardless, got it to work.

  • macom

    Added the Label resolved
  • That’s why I‘ve put this advise in the first section of my tutorial that you‘ve referenced:


    First of all and very important:

    Hardware transcoding must work on the intel hardware ! There are several tutorials for that. Mainly it is related to access rights like the "noexex" to "exec" option in the fstab.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!