V4l2allocator error when running deepstream on orin

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson, orin
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1.2
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

It occures a error when I running deepstream by kubernetes(kubernetes 1.20.9).
It can not pull rtsp stream at first, and then v4l2allocator errors published. Finaly, the deepstream run successfully.
log.txt (71.0 KB)

How to solved this issue?

Thanky you very much.

Could you explain the steps in detail?

Certainly.
We deploy deepstream-6.2 through kubernetes 1.20.9.

When deepstream-6.2 started, it can not pull rtsp stream at first, and then v4l2allocator errors printed. Finaly, the deepstream run successfully.
The log is as following.
log.txt (71.0 KB)

I mean you can attach the detaileds for each step you take.

  1. How do you deploy the DeepStream by kubernetes?
  2. What’s your command to run deepstream?
  3. What’s the config file in your command?

Are there any other questions after this?

I used python3 to start deepstream-app, but the process only use one core when it boot.

        self.sub = subprocess.Popen(
            'deepstream-app -c %s -t 1' %cfg,
            shell = True, stdin = subprocess.PIPE, 
            #stdout = subprocess.PIPE, stderr = subprocess.PIPE,
            stdout = subprocess.PIPE, stderr = subprocess.STDOUT,
            #env={'LD_PRELOAD': '/opt/nvidia/deepstream/deepstream-6.0/models/preprocessvehicel/build/libmyplugins.so', 
            env = popen_env_str,
            cwd = '/opt/nvidia/deepstream/ds-app/ds-cfg')

So, the deepstream could not start successfully.

But these code can run success on gax xavier, the jpack is also 5.1.2.
Why did these happend?
Could you give me a hint?

It seems like a rtsp source issue from your log.

Can you confirm the following points?

  1. the same DeepStream version
  2. the same Jetpack version
  3. the same rtsp source
  4. the same DeepStream command and config file

I test rtsp source and verify it is ok.
I found when deepstream start, it only take up one cpu core, I think this occure deepstream did not have enough cpu resource and then it pull rtsp error.

You can try to run the DeepStream command after the machine is fully booted.
If it can work normally, it means that some of your boot configuration has a problem, please check that yourself.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.