Questions tagged [nvidia-jetson]

Nvidia Jetson is Nvidia's family of embedded devices, targeted for computing on the edge by users desiring to run machine learning and artificial intelligence tasks.

Use this tag for questions about programming specifically for the Jetson devices, namely: the Nano, TX1, TX2(i), or AGX. Please also tag the language you are coding in and the frameworks you are using for context.

Visit Nvidia's official site for more information on the Jetson devices.

405 questions
2
votes
1 answer

How to reuse vertices across primitives in OpenGL

I am using OpenGL in C++ (technically EGL, on a Jetson Nano.) Let's say I want to draw N Quads. Imagine just a list of colored rectangles. There may be a few thousand such rectangles in the frame. I want to use two vertex buffers: One that…
Wyck
  • 10,311
  • 6
  • 39
  • 60
2
votes
1 answer

Rauc and Yocto on Jetson Nano - Unable to find primary boot slot

This is a continuation of my other post. I've managed to create an image with u-boot and rauce. I've made a simple rauc system.conf: [system] compatible=Jetson Nano bootloader=uboot…
Varyag
  • 676
  • 12
  • 29
2
votes
1 answer

u-boot script to allow choosing between which rootfs part to boot (RAUC)

I've managed to create an image with two rootfs partitions to run on my jetson nano with yocto/poky. I've followed the meta-rauc layer README and rauc user manual, to create the system.conf file and rauc_%.bbappend file and I am able to create…
Varyag
  • 676
  • 12
  • 29
2
votes
1 answer

Flashing custom Yocto image to Jetson Nano production module eMMC?

I'm building a yocto image to run on the Jetson Nano. Right now I'm working on a Jetson Nano devkit which boots from the SD-card, and the flashing is described on the meta-tegra GitHub repo wiki. It doesn't say how to flash onto the eMMC on the…
Varyag
  • 676
  • 12
  • 29
2
votes
0 answers

How to reduce the Jetson Nano .sdcard flash file size?

I've created images for the Jetson nano using the meta-tegra layer and flashed it so my jetson nano with a 32gb sd-card. When building an image, the default size of the .sdcard file that is needed to be flashed to the SD-card, is about 16GB . It…
Varyag
  • 676
  • 12
  • 29
2
votes
2 answers

How to use OpenCV with camera on Jetson Nano with Yocto/poky

I've created a minimal xfce image with Yocto/poky on a Jetson Nano using warrior branches (poky warrior, meta-tegra warrior-l4t-r32.2, openembedded warrior) and CUDA 10. Image boots and runs perfectly, and the camera test: $ gst-launch-1.0…
Varyag
  • 676
  • 12
  • 29
2
votes
1 answer

OSError: cannot identify image file <_io.BufferedReader

I am porting code to train a neural network. I wrote the code as part of an Udacity project and it worked fine in the Udacity environment. Now I am porting the code to an Nvidia Jetson Nano running Ubuntu 18.04 and Python 3.6.8. When iterating…
mme
  • 21
  • 1
  • 3
2
votes
1 answer

TX2 GPU not allocating memory properly

I am trying to run a code on TX2 but the tensorflow code that allocates GPU memory usage seems to be working in a weird manner. Here's the code I have to allocate memory: config = tf.ConfigProto() config.gpu_options.per_process_gpu_memory_fraction =…
Sarvagya Gupta
  • 861
  • 3
  • 13
  • 28
2
votes
2 answers

Looking for any Jetson Nano DockerHub example that uses the GPU

I'm getting started with my Jetson Nano and I'm looking for an example that I can launch by running docker run xxx where xxx is some image at DockerHub that uses the GPU. I assume I'll have to pass in some --device flags, but is there even any kind…
Wyck
  • 10,311
  • 6
  • 39
  • 60
2
votes
3 answers

OpenCV gving error "ASSERT: "false" in file qasciikey.cpp, line 495" on multiple windows

I am trying to use multiple OpenCV windows in python on my Jetson TX2. However, I get the error: "ASSERT: "false" in file qasciikey.cpp, line 495" Below is the minimum reproducible code: import cv2 import numpy as…
DankMasterDan
  • 1,900
  • 4
  • 23
  • 35
2
votes
1 answer

Caps negotiation problems running GStreamer on a NVIDIA Jetson TX2

I have a simple program where I am trying to get video out of the camera and run it through a omxh264enc. The element linking is shown below: gst_element_link (source, cFilter0); gst_element_link (cFilter0, encoder); gst_element_link…
SDG
  • 2,260
  • 8
  • 35
  • 77
2
votes
1 answer

Segmentation fault (core dumped) when training more than one Keras NN models

I am optimizing the hyper-parameters of my neural-network, for which I am recursively training the network using different hyper-parameters. It works as expected until after some iterations, when creating a new network for training, it dies with the…
1
vote
0 answers

Linux sudo echo b > /proc/sysrq-trigger reboot is safe?

I'm developing a Jetson-based HUD that reboots very quickly. During the reboot process, I noticed that it takes about 10 seconds (relatively long) just to shut down the OS when using the "reboot" command. Since I need an OS that can reboot within…
1
vote
0 answers

Failed building pytorch from source: "CMake Error at cmake/MiscCheck.cmake" "Could not run a simple program built with your compiler"

I am trying to build Pytorch from source following tutorial on Jetson: Jetson 5.0.2 GA os: Ubuntu 20.04.4 LTS focal cmake version: 3.16.3, installed along with ROS noetic. gcc: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 The error occurred at the…
MsLate
  • 149
  • 2
  • 10
1
vote
1 answer

Jetson nano poor performance with yolov5n and cuda activated

I'm testing Yolov5n with a Jetson nano B01 device (4GB). For this purpose I'm using a docker version from this repo: repo FROM nvcr.io/nvidia/l4t-base:r32.7.1 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ git…
Martín Alcubierre
  • 4,341
  • 1
  • 27
  • 27