I have install ZED SDK 3.7.4 for ZED 2i.
However, when I installed nvidia driver, cuda and zed, I found that I can not boot zed_depth_reviewer.
The error is below:
$ZED_Depth_Viewer
QGLShader::link: "error: vertex shader lacks `main'\n"
[ZED Depth Viewer] Failed to link shaders to program
QGLShader::link: "error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader"
[ZED Depth Viewer] Failed to bind shaders to program
QGLShaderProgram::uniformLocation( texture ): shader program is not linked
QGLShaderProgram::uniformLocation( matrix ): shader program is not linked
QGLShader::link: "error: vertex shader lacks `main'\n"
[ZED Depth Viewer] Failed to link shaders to program
QGLShader::link: "error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader"
[ZED Depth Viewer] Failed to bind shaders to program
QGLShaderProgram::uniformLocation( texture ): shader program is not linked
QGLShaderProgram::uniformLocation( matrix ): shader program is not linked
[ZED Depth Viewer] CUDA - OpenGL Interop Failed with Err Code 304
QGLShader::link: "error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader"
QGLShader::link: "error: linking with uncompiled/unspecialized shadererror: linking with uncompiled/unspecialized shader"
Stack trace (most recent call last):
#21 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#20 Object "ZED_Depth_Viewer", at 0x424b4d, in
#19 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f91eb07b082, in __libc_start_main
#18 Object "ZED_Depth_Viewer", at 0x423f64, in
#17 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb822115, in QCoreApplication::exec()
#16 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb81a3aa, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#15 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb873434, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#14 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f91e9d0f4a2, in g_main_context_iteration
#13 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f91e9d0f3ff, in
#12 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f91e9d0f17c, in g_main_context_dispatch
#11 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb873e36, in
#10 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb81e487, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#9 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb81b809, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#8 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f91ec23f0ef, in QApplication::notify(QObject*, QEvent*)
#7 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f91ec235a65, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#6 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f91ec27825c, in QWidget::event(QEvent*)
#5 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f91eb847c29, in QObject::event(QEvent*)
#4 Object "ZED_Depth_Viewer", at 0x44d155, in
#3 Object "ZED_Depth_Viewer", at 0x4aed25, in
#2 Object "ZED_Depth_Viewer", at 0x46d28d, in
#1 Object "/lib/x86_64-linux-gnu/libcuda.so.1", at 0x7f91f684c448, in
#0 Object "/lib/x86_64-linux-gnu/libcuda.so.1", at 0x7f91f67b3ff5, in
Segmentation fault (Address not mapped to object [0x400000001])
Segmentation fault (core dumped)
Before this error happened, the same error that isQGLShader::compile(Vertex): 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES
has also happend. So, I have used MESA_GL_VERSION_OVERRIDE=3.3
and sudo prime-select nvidia
to solve it.
It seems that they failed.
By the way, my OS info is below:
ubuntu20.04
cuda 11.5
Nvidia driver 495.29
GPU:P5000
So, has anyone can help me to solve this problem?
Thank you very much.