No CUDA detected with ZED SDK 4.2.2

I have tried numerous times to get ZED SDK 4.2 correctly installed but it is not detecting CUDA. I tried all versions of CUDA from 11.5 to 12.6.3 (every time a clean installation) and nothing. The depth viewer is not working. I have ZED SDK 3.8 previously installed on the same machine and it was working fine. Since I upgraded to 4.2, no SDK is working for me even 4.0 or 4.1. I have NVIDIA GeForce RTX 3070 with Ambere arch., Could it be the reason? Could you please help me on this? I have printed below one of the diagnostic reports.

{
    "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": 2,
        "ZEDCount": 1,
        "camera": {
            "Device ID": 0,
            "Firmware": 1523,
            "Init Output": "OK",
            "Model": "ZED 2i",
            "Serial Number": 31164009,
            "valid": [
                "<b>Camera: </b>ZED 2i",
                "<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)": 27,
                "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)": 28,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@60": {
                "dropCount": 0,
                "fps (input)": 60,
                "fps (output)": 48,
                "height (input)": 720,
                "height (output)": 720,
                "imageCount": 501,
                "initialization": "OK",
                "status": true,
                "tearingCount": 0,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "VGA@100": {
                "fps (input)": 100,
                "fps (output)": 66,
                "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)": 28,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@60": {
                "fps (input)": 60,
                "fps (output)": 44,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            }
        },
        "sensors": {
            "Firmware": 777,
            "Init Output": "OK",
            "Model": "ZED 2i (MCU)",
            "Serial Number": 31164009
        }
    },
    "Devices": {
        "ASMediaFound": false,
        "CorruptedFirmware": false,
        "MCUDetected": true,
        "OC_Cam_Detected": false,
        "OtherUSBDevices": [
        ],
        "USBList": [
            {
                "USB_path": "/10/2",
                "idProduct": "0x2113",
                "idVendor": "0x413c"
            },
            {
                "USBMode": 2,
                "USB_path": "/3/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 0,
                "bLength": 18,
                "bMaxPacketSize0": 64,
                "bNumConfigurations": 1,
                "bcdDevice": "3.9",
                "bcdUSB": "2.0",
                "bcdUSBClass": 0,
                "bcdUSBSubClass": 0,
                "busNumber": 1,
                "device": "ZED2i MCU",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 3,
                "idProduct": "0xf881",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/5",
                "idProduct": "0x0029",
                "idVendor": "0x8087"
            },
            {
                "USB_path": "/9",
                "idProduct": "0x0153",
                "idVendor": "0x0bda"
            },
            {
                "USB_path": "/10/1",
                "idProduct": "0x6040",
                "idVendor": "0x04f9"
            },
            {
                "USB_path": "/10/1",
                "idProduct": "0x6040",
                "idVendor": "0x04f9"
            },
            {
                "USBMode": 3,
                "USB_path": "/20",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USBMode": 3,
                "USB_path": "/20",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/10/4",
                "idProduct": "0x3020",
                "idVendor": "0x3151"
            },
            {
                "USB_path": "/10/3",
                "idProduct": "0x0001",
                "idVendor": "0x0a12"
            },
            {
                "USB_path": "/3",
                "idProduct": "0x2512",
                "idVendor": "0x0424"
            },
            {
                "USB_path": "/10",
                "idProduct": "0x0101",
                "idVendor": "0x1a40"
            }
        ],
        "USBMode": 3,
        "ZED Camera Module Detected": 63616,
        "ZED MCU Module Detected": 63617,
        "ZEDDetected": true,
        "captureDevices": [
        ],
        "controllers": [
            {
                "CompatibleIDs": "",
                "Description": "USB Root Hub (USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0001",
                "Location": "",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-0"
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0027",
                "Location": "Port_#0010.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0014",
                "Location": "Port_#0002.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "PCI\\VEN_8086&DEV_06ED&REV_00",
                "Description": "USB xHCI Compliant Host Controller",
                "DeviceName": "Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft)",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0000",
                "Location": "PCI bus 0, device 20, function 0",
                "Manufacturer": "Generic USB xHCI Host Controller",
                "Name": "PCI",
                "PhysicalName": "\\Device\\NTPNP_PCI0005"
            }
        ],
        "valid": [
            "<b>USB Bandwidth: </b> OK"
        ]
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 12070,
        "devices": [
            {
                "arch": "Ampere",
                "computeCapability": "8.6",
                "cores": 5888,
                "name": "NVIDIA GeForce RTX 3070",
                "totalMemoryBytes": "8589410304",
                "totalMemoryMB": 8191.5
            }
        ],
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> NVIDIA GeForce RTX 3070"
        ]
    },
    "Processor": {
        "OS": "Windows 10 FallCreators",
        "avxSupported": true,
        "coreCount": "8",
        "cpu": "Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz",
        "datetime": "2024-11-27 23:25:06",
        "hyperThreading": "1",
        "motherboard": "ZBOX-ECM73070C/7307LH/53060C, ZOTAC",
        "ramCapacity": "63.8792",
        "ramUsage": "0",
        "ramUsed": "8.81831",
        "threadCount": "16",
        "valid": [
            "<b>Processor: </b> Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz",
            "<b>Motherboard: </b> ZBOX-ECM73070C/7307LH/53060C, ZOTAC"
        ]
    },
    "ZED SDK": {
        "driverVersion": "566.14",
        "drivervDllVersion": "32.0.15.6614",
        "error": [
            "<b>CUDA 11 not detected</b> <br/> Make sure CUDA is installed and restart your computer. <a href='https://download.stereolabs.com/cuda11_web' style='color: #d9ff42;' >Download</a>."
        ],
        "runtimeDllVersion": 11080
    }
}

Hi @mahmoodeid
Welcome to the Stereolabs community.

Please try the following procedure:

  1. uninstall the ZED SDK
  2. uninstall all the versions of CUDA installed on your PC
  3. update the NVIDIA GPU driver
  4. download and install CUDA 12.6 (we do not recommend CUDA 11 for RTX GPU models)
  5. download and install the ZED SDK v4.2.2 for CUDA 12

If the problem continues, check if an antivirus is blocking the ZED SDK’s activities and disable it if necessary.

Thanks for the answer. I tried all the steps that you mentioned and still the same error that CUDA is not detected. The CUDA version is 12.6.3.

{
    "AI Models": {
        "info": [
            "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"
        ],
        "valid": [
            "MULTI CLASS DETECTION is optimized",
            "MULTI CLASS MEDIUM DETECTION is optimized",
            "NEURAL DEPTH is optimized",
            "NEURAL PLUS DEPTH is optimized"
        ]
    },
    "Camera Test": {
        "InternalDevicesCount": 2,
        "ZEDCount": 1,
        "camera": {
            "Device ID": 0,
            "Firmware": 1523,
            "Init Output": "OK",
            "Model": "ZED 2i",
            "Serial Number": 31164009,
            "valid": [
                "<b>Camera: </b>ZED 2i",
                "<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)": 27,
                "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": 0,
                "fps (input)": 60,
                "fps (output)": 46,
                "height (input)": 720,
                "height (output)": 720,
                "imageCount": 501,
                "initialization": "OK",
                "status": true,
                "tearingCount": 0,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "VGA@100": {
                "fps (input)": 100,
                "fps (output)": 65,
                "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)": 29,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@60": {
                "fps (input)": 60,
                "fps (output)": 46,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            }
        },
        "sensors": {
            "Firmware": 777,
            "Init Output": "OK",
            "Model": "ZED 2i (MCU)",
            "Serial Number": 31164009
        }
    },
    "Devices": {
        "ASMediaFound": false,
        "CorruptedFirmware": false,
        "MCUDetected": true,
        "OC_Cam_Detected": false,
        "OtherUSBDevices": [
        ],
        "USBList": [
            {
                "USB_path": "/10/2",
                "idProduct": "0x2113",
                "idVendor": "0x413c"
            },
            {
                "USBMode": 2,
                "USB_path": "/3/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 0,
                "bLength": 18,
                "bMaxPacketSize0": 64,
                "bNumConfigurations": 1,
                "bcdDevice": "3.9",
                "bcdUSB": "2.0",
                "bcdUSBClass": 0,
                "bcdUSBSubClass": 0,
                "busNumber": 1,
                "device": "ZED2i MCU",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 3,
                "idProduct": "0xf881",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/5",
                "idProduct": "0x0029",
                "idVendor": "0x8087"
            },
            {
                "USB_path": "/9",
                "idProduct": "0x0153",
                "idVendor": "0x0bda"
            },
            {
                "USB_path": "/10/1",
                "idProduct": "0x6040",
                "idVendor": "0x04f9"
            },
            {
                "USB_path": "/10/1",
                "idProduct": "0x6040",
                "idVendor": "0x04f9"
            },
            {
                "USBMode": 3,
                "USB_path": "/20",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USBMode": 3,
                "USB_path": "/20",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/10/4",
                "idProduct": "0x3020",
                "idVendor": "0x3151"
            },
            {
                "USB_path": "/10/3",
                "idProduct": "0x0001",
                "idVendor": "0x0a12"
            },
            {
                "USB_path": "/3",
                "idProduct": "0x2512",
                "idVendor": "0x0424"
            },
            {
                "USB_path": "/10",
                "idProduct": "0x0101",
                "idVendor": "0x1a40"
            }
        ],
        "USBMode": 3,
        "ZED Camera Module Detected": 63616,
        "ZED MCU Module Detected": 63617,
        "ZEDDetected": true,
        "captureDevices": [
        ],
        "controllers": [
            {
                "CompatibleIDs": "",
                "Description": "USB Root Hub (USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0001",
                "Location": "",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-0"
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0027",
                "Location": "Port_#0010.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0014",
                "Location": "Port_#0002.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "PCI\\VEN_8086&DEV_06ED&REV_00",
                "Description": "USB xHCI Compliant Host Controller",
                "DeviceName": "Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft)",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0000",
                "Location": "PCI bus 0, device 20, function 0",
                "Manufacturer": "Generic USB xHCI Host Controller",
                "Name": "PCI",
                "PhysicalName": "\\Device\\NTPNP_PCI0005"
            }
        ],
        "valid": [
            "<b>USB Bandwidth: </b> OK"
        ]
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 12070,
        "devices": [
            {
                "arch": "Ampere",
                "computeCapability": "8.6",
                "cores": 5888,
                "name": "NVIDIA GeForce RTX 3070",
                "totalMemoryBytes": "8589410304",
                "totalMemoryMB": 8191.5
            }
        ],
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> NVIDIA GeForce RTX 3070"
        ]
    },
    "Processor": {
        "OS": "Windows 10 FallCreators",
        "avxSupported": true,
        "coreCount": "8",
        "cpu": "Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz",
        "datetime": "2024-11-29 20:53:43",
        "hyperThreading": "1",
        "motherboard": "ZBOX-ECM73070C/7307LH/53060C, ZOTAC",
        "ramCapacity": "63.8792",
        "ramUsage": "0",
        "ramUsed": "8.60217",
        "threadCount": "16",
        "valid": [
            "<b>Processor: </b> Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz",
            "<b>Motherboard: </b> ZBOX-ECM73070C/7307LH/53060C, ZOTAC"
        ]
    },
    "ZED SDK": {
        "driverVersion": "566.14",
        "drivervDllVersion": "32.0.15.6614",
        "error": [
            "<b>CUDA 12 not detected</b> <br/> Make sure CUDA is installed and restart your computer. <a href='https://download.stereolabs.com/cuda12_web' style='color: #d9ff42;' >Download</a>."
        ],
        "runtimeDllVersion": 12060
    }
}

Hi @mahmoodeid
It seems that the camera is not correctly detected and opened.
Do “ZED Explorer” and “ZED Depth Viewer” work?

I have the same problem. Everything was working fine, then I updated to version 4.2.2, and now it doesn’t detect CUDA, even though it’s installed correctly. I tried following all the steps described above, but the issue persists. The only way to fix it was to go back to the previous version.