isl-org / isl-org/Open3D

Occur Illegal instruction(core dumped) on jetson nano with enable suspend mode.

Open
#3,304 1 comment 0 reactions 1 assignee Claimed by @yxlao View on GitHub
arm build/install
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

**Describe the bug**
Illegal instruction (core dumped) Occur on Jetson Nano with activated suspend mode.

**To Reproduce**
Steps to reproduce the behavior:

1.Follow the instructions on this sites to enable suspend on the Jetson Nano.
[Official Site](https://forums.developer.nvidia.com/t/how-to-suspend-on-jetson-nano/79048/5) in English.
[Volunteer Blog](https://mattari-diy.com/2021/02/13/jetsonnanoでsuspend有効化/) in Japanese.

2.Follow the instructions on this site to build open3d supported for ARM processor.
[Official Site](http://www.open3d.org/docs/release/arm.html) in English.
However, in my environment, I configured cmake as follows.
_-DBUILD_GUI=OFF_
_DPYTHON_EXECUTABLE=$(which python3)_

3.cmake configure
```
sudo cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_CUDA_MODULE=ON \
-DBUILD_GUI=OFF \
-DBUILD_TENSORFLOW_OPS=OFF \
-DBUILD_PYTORCH_OPS=OFF \
-DBUILD_UNIT_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=~/open3d_install \
-DPYTHON_EXECUTABLE=$(which python3) \
..
```

4.Then, build the program and install the package.
```
sudo make -j$(nproc)
sudo make install
sudo make install-pip-package -j$(nproc)
```
3. I get an error when importing a python package.
```terminal.rb
python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import open3d;
Illegal instruction (core dumped)
```

**Expected behavior**
I thought the console would return.

**Screenshots**
It works fine on jetson nano, which is set up with jetpack installed. (Figure 1)
Figure 1:
![Screenshots 2021-04-18 16 48 05](https://user-images.githubusercontent.com/58416528/115138269-01120a80-a066-11eb-876b-815438998b94.png "Figure1")

However, core dumped will occur on jetson nano set up with suspend mode enabled. (Figure 2):
![Screenshots 2021-04-18 16 48 26](https://user-images.githubusercontent.com/58416528/115138419-fdcb4e80-a066-11eb-9f8a-df33fbbf56cf.png "Figure 2")

**Environment (please complete the following information):**

| | Jetson Nano (Suspend Enabled) | Jetson Nano (Suspend Disable) |
| --------------------------- | ----------------------------- | ----------------------------- |
| Operating system | Ubuntu 18.04.5 LTS | Ubuntu 18.04.5 LTS |
| Python version | Python 3.6.9 | Python 3.6.9 |
| Open3D version | 0.12.0+36e679c09 | 0.12.0+a7cfdb24 |
| How did you install Open3D? | build from source | build from source |
| Compiler version | 7.5.0 | 7.5.0 |
| Cmake version | 3.18.4 | 3.18.4 |
| CUDA version | 10.2 | 10.2 |
| Kernel version | Linux 4.9.201-tegra | Linux 4.9.140-tegra |

**Additional context**
Did enabling suspend have an effect on it?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.