rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.15k stars 263 forks source link

Hardware NVIDIA Jetson Orin Nano (8GB ram) Missing #400

Closed KyL0N closed 1 year ago

KyL0N commented 1 year ago

Board

jetson-stats

RAW Data

File from `jtop --error-log`

```shell --------------------- PLATFORM ------------------------- Machine: aarch64 System: Linux Distribution: Ubuntu 20.04 focal Release: 5.10.104-tegra Python: 3.8.10 -------------------- RAW OUTPUT ------------------------ ------------------ /etc/nv_tegra_release: # R35 (release), REVISION: 3.1, GCID: 32827747, BOARD: t186ref, EABI: aarch64, DATE: Sun Mar 19 15:19:21 UTC 2023 ------------------ /sys/firmware/devicetree/base/model: NVIDIA Orin Nano Developer Kit ------------------ /proc/device-tree/nvidia,boardids: No such file or directory ------------------ /proc/device-tree/compatible: nvidia,p3768-0000+p3767-0003nvidia,p3768-0000+p3767-0005nvidia,p3767-0003nvidia,p3767-0005nvidia,tegra234nvidia,tegra23x ------------------ /proc/device-tree/nvidia,dtsfilename: /dvs/git/dirty/git-master_linux/kernel/kernel-5.10/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0003-p3768-0000-a0.dts ------------------ I2C-0-0x50: 02 00 FE 00 00 00 00 00 00 00 00 FF 00 00 00 00 ..þ........ÿ.... 00 01 00 01 36 39 39 2D 31 33 37 36 37 2D 30 30 ....699-13767-00 30 33 2D 33 30 30 20 4C 2E 33 00 00 00 00 00 00 03-300 L.3...... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ B0 48 00 00 FA D0 D8 2D B0 48 31 34 32 30 38 32 °H..úÐØ-°H142082 33 30 32 35 38 38 33 00 00 00 00 00 00 00 00 00 3025883......... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 4E 56 43 42 00 FF 4D 31 00 00 ......NVCB.ÿM1.. 00 00 00 00 00 00 00 00 00 00 00 00 FA D0 D8 2D ............úÐØ- B0 48 01 00 00 00 00 00 00 00 00 00 00 00 00 00 °H.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BA ...............º ------------------ I2C-0: FAIL ------------------ I2C-1: FAIL ------------------ I2C-2: FAIL ------------------ I2C-7: FAIL Log from jtop 4.2.1 ```

KyL0N commented 1 year ago

when I quit jtop, terminal shows:

[WARN] Module "NVIDIA Jetson Orin Nano (8GB ram)" missing in jtop GUI
  Please, try: sudo pip3 install -U jetson-stats or
  attach a engine page screenshot (press CTRL + Click)

it seems like jtop dosen't recognize the jetson orin nano model

rbonghi commented 1 year ago

Hi @KyL0N

Weird error. I try to figure out what is showing this error. Looks detected, but the I don't know why you have this warning

KyL0N commented 1 year ago

Hi @KyL0N

Weird error. I try to figure out what is showing this error. Looks detected, but the I don't know why you have this warning

I came across this issue while reviewing the WARN output, and upon investigating further, I believe I have identified the location of the bug in this

MAP_JETSON_MODELS = {
    'orin nx': pass_orin,
    'agx orin': pass_orin,
    'xavier': map_xavier,
    'jetson nano': map_jetson_nano,
    'nintendo': map_jetson_nano,
    'jetson tx': map_jetson_nano,
}

def engine_model(model):
    for name, func in MAP_JETSON_MODELS.items():
        if name.lower() in model.lower():
            return func
    return None

Definitly there's no "Orin Nano" in MAP_JETSON_MODELS