Coder Social home page Coder Social logo

Comments (13)

bwsw avatar bwsw commented on September 22, 2024 1

Yes, you must disable gpu resources for this particular container.

from savant.

bwsw avatar bwsw commented on September 22, 2024 1

Or you can build your own AO-RTSP based on our container code.

from savant.

bwsw avatar bwsw commented on September 22, 2024 1

@patrickhulce hello WSL is not fully supported by DeepStream and, thus, Savant.

from savant.

bwsw avatar bwsw commented on September 22, 2024

Hello, read this, not a bug:

https://docs.savant-ai.io/develop/savant_101/10_adapters.html#always-on-rtsp-sink-adapter

from savant.

cookiego avatar cookiego commented on September 22, 2024

I suppose it seems not able to detect that A100 in place does not support hardware encoding.
I pull ghcr.io/insight-platform/savant-adapters-deepstream:latest images and i read in docs there was like a failback to software encoding, but in logs I see that it successfully detected hardware

from savant.

bwsw avatar bwsw commented on September 22, 2024

Here is the error. A100 does not have NVENC on board:

ERROR insight::savant::deepstream::encoding > You have configured NVENC-accelerated encoding, but your device doesn't support NVENC.

from savant.

bwsw avatar bwsw commented on September 22, 2024

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

from savant.

cookiego avatar cookiego commented on September 22, 2024

Hmmm, as far as I can see you are saying to me that I should disable Nvidia Runtime for that container. Ok I'll try that way, but I have a docker swarm configuration, so the runtime now is activated as a whole for the swarm, not sure about concrete containers.
I'll check and return.
Thank you!

from savant.

cookiego avatar cookiego commented on September 22, 2024

Here is the error. A100 does not have NVENC on board:

ERROR insight::savant::deepstream::encoding > You have configured NVENC-accelerated encoding, but your device doesn't support NVENC.

Sure i understand this. It is written in Savant's docs that A100 does not support NVENC. My question is that when i run docker container on A100 if fails to start (even it is supposed to switch to software encoding). But, yes, maybe my docker swarm config forces to use nvidia runtime\hardware encoding even if real harware does not support it

from savant.

cookiego avatar cookiego commented on September 22, 2024

Or you can build your own AO-RTSP based on our container code.

Yes, indeed, I'll try that.
Just for somebody with the same prob at this time. What i've found is that currently when you are in swarm mode of docker, there's not support for setting 'runtime' on per-container basis in your .yaml. So the only way to use NVIDIA\CUDA hardware support inside container is to set the 'default-runtime' in docker daemon.json, which in my case (starting AO-RTSP fails saying it has hardware support but it is busy, when there's no hardware support at all...)
So, I'll try to build custom thing.

Thank you!

from savant.

bwsw avatar bwsw commented on September 22, 2024

Hm, the problem is not about the runtime, but only resource deployment. Does not swarm allows that?

from savant.

patrickhulce avatar patrickhulce commented on September 22, 2024

I'm getting this same error on a Windows device in WSL even though my graphics card (GTX 4070) definitely supports NVENC (it does within WSL, but apparently these docker images can't detect / use it). Any guidance / troubleshooting advice here to debug further?

from savant.

patrickhulce avatar patrickhulce commented on September 22, 2024

Thanks @bwsw !

from savant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.