Nvv4l2decoder Device '/dev/nvidia0' failed during initialization in rtx2060

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
RTX 2060
• DeepStream Version
Deepstream 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
TensorRT 8.0
• NVIDIA GPU Driver Version (valid for GPU only)
470

• 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)

I try to use this command:
gst-launch-1.0 rtspsrc location=rtsp://localhost:8554/001 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! video/x-raw,format=RGBA ! videoconvert ! video/x-raw,format=BGR

! fakesink

and got this error:



gst-launch-1.0 rtspsrc location=rtsp://localhost:8554/001 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! video/x-raw,format=RGBA ! videoconvert ! video/x-raw,format=BGR ! fakesink
设置暂停管道 ...
管道正在使用且不需要 PREROLL ...
进度:(open)Opening Stream
进度:(connect)Connecting to rtsp://localhost:8554/001
进度:(open)Retrieving server options
进度:(open)Retrieving media info
进度:(request)SETUP stream 0
进度:(request)SETUP stream 0
进度:(request)SETUP stream 0
进度:(request)SETUP stream 1
进度:(open)Opened Stream
设置播放管道 ...
New clock: GstSystemClock
进度:(request)Sending PLAY request
进度:(request)Sending PLAY request
进度:(request)Sent PLAY request
错误:来自组件 /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0:Device '/dev/nvidia0' failed during initialization
额外的调试信息:
gstv4l2object.c(4116): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0:
Call to S_FMT failed for H264 @ 0x0: 未知的错误 -1
Execution ended after 0:00:02.107735593
设置暂停管道 ...
设置备用管道 ...
设置 NULL 管道 ...
释放管道资源 ...

use gst_debug ,got detail info:

0:00:04.094753434 3744 0x7f92f40288c0 WARN default v4l2-utils.c:189:gst_v4l2_error:<nvv4l2decoder0> error: Device '/dev/nvidia0' failed during initialization
0:00:04.094806245 3744 0x7f92f40288c0 WARN default v4l2-utils.c:192:gst_v4l2_error:<nvv4l2decoder0> error: Call to S_FMT failed for H264 @ 0x0: 未知的错误 -1
0:00:04.094877495 3744 0x7f92f40288c0 WARN videodecoder gstvideodecoder.c:743:gst_video_decoder_setcaps:<nvv4l2decoder0> Subclass refused caps
错误:来自组件 /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0:Device '/dev/nvidia0' failed during initialization
额外的调试信息:
gstv4l2object.c(4116): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0:
Call to S_FMT failed for H264 @ 0x0: 未知的错误 -1
Execution ended after 0:00:02.016260980
设置暂停管道 ...
0:00:04.095405014 3744 0x7f92f40288c0 WARN default v4l2-utils.c:189:gst_v4l2_error:<nvv4l2decoder0> error: Device '/dev/nvidia0' failed during initialization
0:00:04.095435331 3744 0x7f92f40288c0 WARN default v4l2-utils.c:192:gst_v4l2_error:<nvv4l2decoder0> error: Call to S_FMT failed for H264 @ 0x0: 未知的错误 -1
设置备用管道 ...
0:00:04.095474295 3744 0x7f92f40288c0 WARN videodecoder gstvideodecoder.c:743:gst_video_decoder_setcaps:<nvv4l2decoder0> Subclass refused caps
0:00:04.095493847 3744 0x7f92f40288c0 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:h264parse0:src could not send sticky events
0:00:04.096030127 3744 0x56401169a0c0 WARN rtspsrc gstrtspsrc.c:6322:gst_rtsp_src_receive_response:<rtspsrc0> receive interrupted
0:00:04.096067375 3744 0x56401169a0c0 WARN rtspsrc gstrtspsrc.c:8650:gst_rtspsrc_pause:<rtspsrc0> PAUSE interrupted
设置 NULL 管道 ...
释放管道资源 ...

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Call to S_FMT failed for H264 @ 0x0 unknown error! Device ‘/dev/nvidia0’ failed during initialization error, why?

I reinstall system ,and it’s ok! so ,the post can be closed!

Thanks for the update.

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