When I run it, it doesn’t show nvidia.
$ glxinfo | grep OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: RENOIR (renoir, LLVM 15.0.7, DRM 3.49, 6.2.0-34-generic)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
But this is nvidia
~$ sudo prime-select query
nvidia
But when I run ZED_Depth_Viewer, it still flashes
/usr/local/zed/tools$ ./ZED_Depth_Viewer
in bool ImageHandler::initialize(sl::Mat&) : Err [304]: OS call failed or operation not supported on this OS.
Stack trace (most recent call last):
#26 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#25 Object "./ZED_Depth_Viewer", at 0x557f12cf43e4, in
#24 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4d30029e3f, in __libc_start_main
#23 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4d30029d8f, in
#22 Object "./ZED_Depth_Viewer", at 0x557f12cf3651, in
#21 Object "./ZED_Depth_Viewer", at 0x557f12d1ed4a, in
#20 Object "./ZED_Depth_Viewer", at 0x557f12d19b4e, in
#19 Object "./ZED_Depth_Viewer", at 0x557f12d2f479, in
#18 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30ab875a, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#17 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30b130b7, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#16 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f4d2f3193e2, in g_main_context_iteration
#15 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f4d2f371257, in
#14 Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7f4d2f31bd3a, in g_main_context_dispatch
#13 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30b12ceb, in
#12 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30b123ea, in QTimerInfoList::activateTimers()
#11 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30ab9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#10 Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7f4d3176c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#9 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30ae733e, in QObject::event(QEvent*)
#8 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30af57fd, in QTimer::timeout(QTimer::QPrivateSignal)
#7 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f4d30af17c7, in
#6 Object "./ZED_Depth_Viewer", at 0x557f12d1f901, in
#5 Object "./ZED_Depth_Viewer", at 0x557f12d1ab94, in
#4 Object "./ZED_Depth_Viewer", at 0x557f12d29103, in
#3 Object "./ZED_Depth_Viewer", at 0x557f12d27c12, in
#2 Object "./ZED_Depth_Viewer", at 0x557f12d8952d, in
#1 Object "./ZED_Depth_Viewer", at 0x557f12d4570d, in
#0 Object "/lib/x86_64-linux-gnu/libcuda.so.1", at 0x7f4d3ab34e80, in
Segmentation fault (Signal sent by the kernel [(nil)])
段错误 (核心已转储)
And here’s the diagnosis
{
"AI Models": {
"valid": [
"MULTI CLASS DETECTION is optimized",
"MULTI CLASS MEDIUM DETECTION is optimized",
"MULTI CLASS ACCURATE DETECTION is optimized",
"HUMAN BODY FAST DETECTION is optimized",
"HUMAN BODY MEDIUM DETECTION is optimized",
"HUMAN BODY ACCURATE DETECTION is optimized",
"HUMAN BODY 38 FAST DETECTION is optimized",
"HUMAN BODY 38 MEDIUM DETECTION is optimized",
"HUMAN BODY 38 ACCURATE DETECTION is optimized",
"PERSON HEAD DETECTION is optimized",
"PERSON HEAD ACCURATE DETECTION is optimized",
"REID ASSOCIATION is optimized",
"NEURAL DEPTH is optimized"
]
},
"Camera Test": {
"InternalDevicesCount": 1,
"ZEDCount": 1,
"camera": {
"Device ID": 0,
"Firmware": 1523,
"Init Output": "OK",
"Model": "ZED",
"Serial Number": 8452341,
"valid": [
"<b>Camera: </b>ZED",
"<b>Firmware: </b>1523"
]
},
"resolutions": {
"HD1080@15": {
"fps (input)": 15,
"fps (output)": 15,
"height (input)": 1080,
"height (output)": 1080,
"initialization": "OK",
"status": true,
"width (input)": 1920,
"width (output)": 1920
},
"HD1080@30": {
"fps (input)": 30,
"fps (output)": 30,
"height (input)": 1080,
"height (output)": 1080,
"initialization": "OK",
"status": true,
"width (input)": 1920,
"width (output)": 1920
},
"HD2K@15": {
"fps (input)": 15,
"fps (output)": 15,
"height (input)": 1242,
"height (output)": 1242,
"initialization": "OK",
"status": true,
"width (input)": 2208,
"width (output)": 2208
},
"HD720@15": {
"fps (input)": 15,
"fps (output)": 15,
"height (input)": 720,
"height (output)": 720,
"initialization": "OK",
"status": true,
"width (input)": 1280,
"width (output)": 1280
},
"HD720@30": {
"fps (input)": 30,
"fps (output)": 30,
"height (input)": 720,
"height (output)": 720,
"initialization": "OK",
"status": true,
"width (input)": 1280,
"width (output)": 1280
},
"HD720@60": {
"dropCount": -1,
"fps (input)": 60,
"fps (output)": 60,
"height (input)": 720,
"height (output)": 720,
"imageCount": 502,
"initialization": "OK",
"status": true,
"tearingCount": 0,
"width (input)": 1280,
"width (output)": 1280
},
"VGA@100": {
"fps (input)": 100,
"fps (output)": 100,
"height (input)": 376,
"height (output)": 376,
"initialization": "OK",
"status": true,
"width (input)": 672,
"width (output)": 672
},
"VGA@15": {
"fps (input)": 15,
"fps (output)": 15,
"height (input)": 376,
"height (output)": 376,
"initialization": "OK",
"status": true,
"width (input)": 672,
"width (output)": 672
},
"VGA@30": {
"fps (input)": 30,
"fps (output)": 30,
"height (input)": 376,
"height (output)": 376,
"initialization": "OK",
"status": true,
"width (input)": 672,
"width (output)": 672
},
"VGA@60": {
"fps (input)": 60,
"fps (output)": 60,
"height (input)": 376,
"height (output)": 376,
"initialization": "OK",
"status": true,
"width (input)": 672,
"width (output)": 672
}
},
"sensors": {
}
},
"Devices": {
"CorruptedFirmware": false,
"USBList": [
{
"USB_path": "/4",
"idProduct": "0xe0cd",
"idVendor": "0x0489"
},
{
"USBMode": 3,
"USB_path": "/2/2",
"bDescriptorType": 1,
"bDeviceProtocol": 1,
"bLength": 18,
"bMaxPacketSize0": 9,
"bNumConfigurations": 1,
"bcdDevice": "1.0",
"bcdUSB": "3.0",
"bcdUSBClass": 239,
"bcdUSBSubClass": 2,
"busNumber": 2,
"device": "ZED",
"iManufacturer": 1,
"iProduct": 2,
"iSerial": 0,
"idProduct": "0xf582",
"idVendor": "0x2b03"
},
{
"USB_path": "/2",
"idProduct": "0x0620",
"idVendor": "0x05e3"
},
{
"USB_path": "/4",
"idProduct": "0xc101",
"idVendor": "0x048d"
},
{
"USB_path": "/2/3",
"idProduct": "0xfa3b",
"idVendor": "0x09da"
},
{
"USB_path": "/2",
"idProduct": "0x0610",
"idVendor": "0x05e3"
}
],
"USBMode": 3,
"ZED Camera Module Detected": 62850,
"ZEDDetected": true,
"valid": [
"<b>USB Bandwidth: </b> OK"
]
},
"Graphics Card": {
"deviceCount": 1,
"deviceDriverVersion": 12030,
"devices": [
{
"arch": "Ampere",
"computeCapability": "8.6",
"cores": 2048,
"name": "NVIDIA GeForce RTX 3050 Laptop GPU",
"totalMemoryBytes": "4091478016",
"totalMemoryMB": 3901.9375
}
],
"glx_info": "OpenGL vendor string: AMD\nOpenGL renderer string: RENOIR (renoir, LLVM 15.0.7, DRM 3.49, 6.2.0-34-generic)\nOpenGL core profile version string: 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1\nOpenGL core profile shading language version string: 4.60\nOpenGL core profile context flags: (none)\nOpenGL core profile profile mask: core profile\nOpenGL core profile extensions:\nOpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1\nOpenGL shading language version string: 4.60\nOpenGL context flags: (none)\nOpenGL profile mask: compatibility profile\nOpenGL extensions:\nOpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~22.04.1\nOpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20\nOpenGL ES profile extensions:\n",
"initResult": 0,
"valid": [
"<b>Graphics card: </b> NVIDIA GeForce RTX 3050 Laptop GPU"
]
},
"Processor": {
"OS": "Ubuntu 22.04.3 LTS ",
"avxSupported": true,
"coreCount": "",
"cpu": " AMD Ryzen 5 5600H with Radeon Graphics",
"datetime": "2023-10-18 20时42分53秒",
"hyperThreading": "0",
"motherboard": "INVALID, LENOVO",
"ramCapacity": "14.489514",
"ramUsage": "",
"ramUsed": "6.061777",
"threadCount": "0",
"valid": [
"<b>Motherboard: </b> INVALID, LENOVO"
],
"warning": [
"Unable to identify your processor, make sure that it fits the requirements."
]
},
"ZED SDK": {
"CUDA Toolkit version": "V12.1.66 -->located in /usr/local/cuda-12.1/bin/nvcc",
"CUDA loading": false,
"GPU Driver Version": "Driver Version : 545.23.06",
"GPU Performance": " Performance State : P8",
"ZED SDK Version (Diag)": "4.0.7",
"ZED SDK Version (RT)": "4.0.7",
"ai": {
"checkAI": true,
"cudaVersion": 12010,
"cudnnCudartVersion": 12020,
"cudnnVersion": 8905,
"cudnnVersionExpected": 8801,
"tensorVersion": 8600
},
"binFiles": [
"libsl_ai.so",
"libsl_zed.so",
"libsl_zed_static.a"
],
"resourcesFiles": [
"neural_depth_2.0.model",
"objects_accurate_3.2.model",
"objects_medium_3.2.model",
"objects_performance_3.2.model",
"person_head_accurate_2.4.model",
"person_head_performance_2.4.model",
"person_reid_1.4.model",
"skeleton_body18_3.2.model",
"skeleton_body38_3.5.model"
],
"resourcesFilesExpected": [
"objects_performance_3.2"
],
"valid": [
"<b>ZED SDK version:</b> 4.0.7",
"<b>CUDA version:</b> V12.1.66"
]
}
}
Should I re-download the sdk or do some other work