No EGL Display 报错解决

举报
风吹稻花香 发表于 2022/07/26 22:44:54 2022/07/26
【摘要】 版本情况如下 CUDA版本:10.2 tensorrt版本:8.0.1.6 JetPack版本:32.6.1 deepstream版本:6.0 官网的系统版本适配图如下: 通过对比发现:我的版本是没有问题的。于是开始细细地检查报错。 第一种类别报错 报错如下 nvbuf_utils: Could not get E...

版本情况如下
CUDA版本:10.2

tensorrt版本:8.0.1.6

JetPack版本:32.6.1

deepstream版本:6.0

官网的系统版本适配图如下:

通过对比发现:我的版本是没有问题的。于是开始细细地检查报错。

第一种类别报错
报错如下


  
  1. nvbuf_utils: Could not get EGL display connection
  2. No EGL Display
  3. nvbufsurftransform: Could not get EGL display connection
  4. No EGL Display


解决方法,在命令行执行:
unset DISPLAY
rm ${HOME}/.cache/gstreamer-1.0/registry.*

输入上面的命令的目的是:将DISPLAY的值设为:0。

可以输入以下的命令查看:

echo $DISPLAY
 


# 输出为 :0

如果上述的命令并没有将DISPLAY的值设为0,请使用下面这种方法:

export DISPLAY=:0

然后再次输入命令查看:

echo $DISPLAY
# 输出为 :0

其实第一类报错算是已经解决了。

再次输入:

gst-inspect-1.0

发现报错减少了,但是还有4个:

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.622: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.628: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.634: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so: undefined symbol: NvBufSurfTransformAsync

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.650: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so: undefined symbol: NvBufSurfTransformAsync

说明第一类的报错已经解决了。

第二类报错
(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.622: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.628: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.634: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so: undefined symbol: NvBufSurfTransformAsync

(gst-plugin-scanner:32277): GStreamer-WARNING **: 15:05:17.650: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so: undefined symbol: NvBufSurfTransformAsync

参考
https://blog.csdn.net/zong596568821xp/article/details/121231336

通过这篇文章发现,这些问题是Deepstream6.0所为解决的问题,可以忽略。

重新推理,得到正确的结果了。
————————————————
版权声明:本文为CSDN博主「零碎@流年絮语」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_44824148/article/details/122841870

文章来源: blog.csdn.net,作者:AI视觉网奇,版权归原作者所有,如需转载,请联系作者。

原文链接:blog.csdn.net/jacke121/article/details/125986395

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。