# Q\&A

## I don't see any bounding boxes in the Nx Client <a href="#i-dont-see-any-bounding-boxes-in-the-nx-client" id="i-dont-see-any-bounding-boxes-in-the-nx-client"></a>

First make sure that the model actually has something to detect. For example if you're using a model that is expecting vehicles, that will not be detected on a camera that is viewing an empty warehouse. If the camera actually sees something that should be detected you can check if the objects view is active. If the notifications or another tab is active the bounding boxes will not be displayed. When you switch to the objects tab the bounding boxes should show up. If there are still no bounding boxes, please go through the [plugin checks](/nx-ai-manager-v6.1.2/support-and-troubleshooting/troubleshooting/plugin-checks.md), [system checks](/nx-ai-manager-v6.1.2/support-and-troubleshooting/troubleshooting/system-checks.md) and [things to try](/nx-ai-manager-v6.1.2/support-and-troubleshooting/troubleshooting/things-to-try.md) sections to solve the problem.

<figure><img src="/files/JIynCcQscvRefuCig1kY" alt="Nx Client with a non-Objects tab active — no bounding boxes visible despite an AI model running"><figcaption><p>When a tab other than Objects is selected, bounding boxes do not appear on the video stream</p></figcaption></figure>

<figure><img src="/files/bg5b4e05ySKaG62FPJ6n" alt="Nx Client with the Objects tab active, showing bounding boxes on detected objects"><figcaption><p>Switch to the Objects tab to see bounding boxes on the video stream</p></figcaption></figure>

If the Objects tab is not available after freshly enabling the plugin, you might need to restart your client first.

## The Nx AI Runtime is having trouble starting <a href="#the-nx-ai-manager-cannot-be-started" id="the-nx-ai-manager-cannot-be-started"></a>

### No matching architecture found for model

This message might appear if you have a model assigned that is not compatible with your current hardware or runtime. The Nx AI Manager should prevent you from assigning incompatible models, but it might still happen if devices were moved to different servers, or if the runtime on the server was changed.

This problem could be solved by assigning a different compatible model or reselecting the runtime.

### AI Manager failed to create listening socket

The AI Manager tries to create a socket file on the filesystem to communicate with the Network Optix Mediaserver. It will try to create this file at the default location (`/tmp/scailable-ipc.sock`).

If a file exists, or for whatever reason the AI Manager does not have permissions to write to the default location, this will fail.

Making this path available should solve the issue. On devices where this is not an option, the file location can be controlled through .ini settings. See [Enable .ini settings](/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/advanced-configuration/enable-.ini-settings.md)

### If all else fails

If the message still appears, there could be a problem with your installation. Try manually installing the Nx AI Manager [manual Installation](/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/advanced-configuration/manual-plugin-installation.md).

<figure><img src="/files/jBQBiPOUwooQp4ZqIx6A" alt="Nx AI Manager runtime status panel showing a failed-to-start state"><figcaption><p>Runtime status panel showing the AI Manager has failed to start</p></figcaption></figure>

## How can I check if the Metadata is generated <a href="#how-can-i-check-if-the-metadata-is-generated" id="how-can-i-check-if-the-metadata-is-generated"></a>

> I noticed that plugin stops generating metadata for some reason Is there any log or additional information I can collect for you so it would be useful in this case?

For advanced users, it might be advisable to check the output log of the Nx Mediaserver to see if any errors are logged. The log can be gathered by executing:

{% tabs %}
{% tab title="Linux" %}

```sh
sudo journalctl -u networkoptix-metavms-mediaserver.service
```

Please note that depending on your installed version this may be different.
{% endtab %}

{% tab title="Windows" %}
Please contact support for detailed instructions.
{% endtab %}
{% endtabs %}

## Is it possible to send output to a different endpoint? <a href="#is-it-possible-to-send-output-to-a-different-endpoint" id="is-it-possible-to-send-output-to-a-different-endpoint"></a>

No this is not possible. It is possible to access the data and pass it through. See [External Postprocessing](/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/advanced-configuration/external-postprocessing.md)

## The bounding boxes appear to be out of sync with the stream

This issue occurs when the visualized stream differs from the one used for AI inference. It typically happens when using a [test camera](https://support.networkoptix.com/hc/en-us/articles/32766623336087-The-Testcamera-IP-Camera-Emulator). The problem usually arises from a mismatch between the primary and secondary streams, leading to the visualization of a different stream than the one used for AI processing. For instance, if the plugin operates on the secondary stream while you are viewing the primary stream, it can appear as though the bounding boxes are out of sync in the video:

In this case, to fix the issue where the plugin operates on the secondary stream while you are viewing the primary stream, either set the plugin to use the Primary stream or view the ‘Low’ resolution stream in the Client:

<figure><img src="/files/NiFRMqBGAje6GqreR9nR" alt="Nx client stream selector showing Primary and Low resolution options"><figcaption><p>Select the matching stream in the Nx client to fix bounding box sync</p></figcaption></figure>

## How to install the nightly version?

{% hint style="warning" %}
Only if our support team has requested you install the nightly version of the AI manager. The support team will provide the installation instructions.
{% endhint %}

## Is it safe to update?

If you want to update or re-install the Nx AI Plugin you can safely re-run the install command.

The old version of the plugin will be removed by the install script before the new version is installed.

Your settings will be stored as far as possible. You still need to check the settings, because in some cases new options are available that require some changes. An example might be a new runtime that is available for your hardware.

## Why are some models not visible when assigning to a device

**Models** or **Model Catalogues** must be connected to the **Organization** that your site is in.

If you have chosen an **Organization** during upload, and the device you are coming from to select a model is not in any **Organization**, then only the generally available models will be visible.

If you have chosen an **Organization** and the **Site** does not belong to the same **Organization** you have selected for the model, then the model may not be visible either.

In the upload process you can directly select a **Site** for the model instead of an **Organization** - but this is not advised, because the models will then not be available for the other **Sites** in your **Organization**.

The best way to solve this is to add your **Site** to an **Organization** and to add the uploaded models to a **Catalogue** that is connected to that **Organization** too.

## I see the error message: Failed to create SHM: Function not implemented

The Nx AI Manager fails to start with the error `Failed to create SHM: Function not implemented`.

The kernel on this device was compiled without `CONFIG_SYSVIPC=y`. The Nx AI Manager uses shared memory for inter-process communication, which requires this kernel option.

Enable `CONFIG_SYSVIPC=y` in the kernel configuration and recompile the kernel, or use a pre-built OS image that includes it. Ubuntu 20.04+ and Debian have this enabled by default. If you are seeing this error, you are likely on a custom embedded Linux image.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nx.docs.scailable.net/nx-ai-manager-v6.1.2/support-and-troubleshooting/troubleshooting/q-and-a.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
