Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on Waiting for Camera on Ubuntu 20.04 and SDK 4.2 #664

Open
2 tasks done
ZiadMontaser opened this issue Dec 7, 2024 · 0 comments
Open
2 tasks done

Stuck on Waiting for Camera on Ubuntu 20.04 and SDK 4.2 #664

ZiadMontaser opened this issue Dec 7, 2024 · 0 comments

Comments

@ZiadMontaser
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

ZED Explorer cannot open the ZED camera stuck on "WAITING FOR CAMERA".
I am using Ubuntu 20.04 with the kernel version 5.15.0-126-generic with SDK version 4.2.2
and ZED camera

Tried:

  • Tested On windows 11 and it works perfectly but not on linux
  • Reinstall SDK 4.2 with CUDA 12
  • Downgrading to SDK 3.8 with CUDA 11
  • Replugging the ZED camera in different USB ports

Here is the output of lsusb
image

And here is the output of ls -l /dev/video*
image

And here is the output of Diagnosis Tool

{
    "AI Models": {
        "info": [
            "MULTI CLASS DETECTION is not optimized",
            "MULTI CLASS MEDIUM DETECTION is not optimized",
            "MULTI CLASS ACCURATE DETECTION is not optimized",
            "HUMAN BODY FAST DETECTION is not optimized",
            "HUMAN BODY MEDIUM DETECTION is not optimized",
            "HUMAN BODY ACCURATE DETECTION is not optimized",
            "HUMAN BODY 38 FAST DETECTION is not optimized",
            "HUMAN BODY 38 MEDIUM DETECTION is not optimized",
            "HUMAN BODY 38 ACCURATE DETECTION is not optimized",
            "PERSON HEAD DETECTION is not optimized",
            "PERSON HEAD ACCURATE DETECTION is not optimized",
            "REID ASSOCIATION is not optimized",
            "NEURAL DEPTH is not optimized",
            "NEURAL PLUS DEPTH is not optimized"
        ]
    },
    "Camera Test": {
        "InternalDevicesCount": 1,
        "ZEDCount": 0,
        "error": [
            "<b>Camera not detected</b> <br/> Make sure the camera is plugged in or try another USB 3.0 port."
        ]
    },
    "Devices": {
        "CorruptedFirmware": false,
        "USBList": [
            {
                "USB_path": "/8",
                "idProduct": "0x1866",
                "idVendor": "0x0b05"
            },
            {
                "USB_path": "/3",
                "idProduct": "0x0064",
                "idVendor": "0x1ea7"
            },
            {
                "USB_path": "/14",
                "idProduct": "0x0026",
                "idVendor": "0x8087"
            },
            {
                "USBMode": 2,
                "USB_path": "/1",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 64,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "2.16",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 0,
                "idProduct": "0xf582",
                "idVendor": "0x2b03"
            }
        ],
        "USBMode": 2,
        "ZED Camera Module Detected": 62850,
        "ZEDDetected": true,
        "notTested": [
            "Please connect a camera to test the USB connection."
        ]
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 12070,
        "devices": [
            {
                "arch": "Turing",
                "computeCapability": "7.5",
                "cores": 2048,
                "name": "NVIDIA GeForce GTX 1650 Ti",
                "totalMemoryBytes": "3899326464",
                "totalMemoryMB": 3718.6875
            }
        ],
        "glx_info": "OpenGL vendor string: Intel\nOpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)\nOpenGL core profile version string: 4.6 (Core Profile) Mesa 21.2.6\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 21.2.6\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 21.2.6\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 GTX 1650 Ti"
        ]
    },
    "Processor": {
        "OS": "Ubuntu 20.04.6 LTS ",
        "avxSupported": true,
        "coreCount": "12",
        "cpu": " Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz",
        "datetime": "2024-12-07 03:40:11 PM",
        "hyperThreading": "1",
        "motherboard": "G512LI, ASUSTeK COMPUTER INC.",
        "ramCapacity": "16.540840",
        "ramUsage": "",
        "ramUsed": "5.814768",
        "threadCount": "24",
        "valid": [
            "<b>Processor: </b>  Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz",
            "<b>Motherboard: </b> G512LI, ASUSTeK COMPUTER INC."
        ]
    },
    "ZED SDK": {
        "CUDA Toolkit version": "V12.6.85 -->located in /usr/local/cuda-12.6/bin/nvcc",
        "CUDA loading": false,
        "GPU Driver Version": "Driver Version                            : 565.57.01",
        "GPU Performance": "    Performance State                     : P8",
        "ZED SDK Version (Diag)": "4.2.2",
        "ZED SDK Version (RT)": "4.2.2",
        "[Warning] Other cuda version N°0": "V11.7.99-->located in  in /usr/local/cuda-11.7/bin/nvcc",
        "ai": {
            "checkAI": true,
            "cudaVersion": 12060,
            "cudnnCudartVersion": 12020,
            "cudnnVersion": 8907,
            "cudnnVersionExpected": 8907,
            "tensorVersion": 8601
        },
        "binFiles": [
            "libsl_ai.so",
            "libsl_zed.so",
            "libsl_zed_static.a"
        ],
        "resourcesFiles": [
            "objects_performance_3.2.model"
        ],
        "resourcesFilesExpected": [
            "objects_performance_3.2"
        ],
        "valid": [
            "<b>ZED SDK version:</b> 4.2.2",
            "<b>CUDA version:</b> V12.6.85"
        ],
        "warning": [
            "Multiple version of CUDA has been detected. It is recommended to uninstall other versions than 12."
        ]
    }
}

Steps to Reproduce

  1. Install SDK 4.2 on ubuntu 20.04
  2. Run ZED_Explorer

Expected Result

Expected outputs to showup

Actual Result

Got the message "WAITING FOR CAMERA"

ZED Camera model

ZED

Environment

Ubuntu 20.04
kernel version 5.15.0-126-generic
SDK version 4.2.2
ZED camera

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant