Hi,
I successfully compiled apollo git master gpu version on Ubuntu 20.04 with the following settings:
$ nvidia-smi -L
GPU 0: GeForce RTX 2070 SUPER (UUID: GPU-a7a58db5-95af-8e07-9d00-d7a3912a8a45)
$ nvidia-smi
Thu Aug 27 22:19:36 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.66 Driver Version: 450.66 CUDA Version: 11.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 207... Off | 00000000:02:00.0 On | N/A |
| 30% 41C P8 16W / 215W | 304MiB / 7977MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1849 G /usr/lib/xorg/Xorg 35MiB |
| 0 N/A N/A 2540 G /usr/lib/xorg/Xorg 145MiB |
| 0 N/A N/A 3485 G /usr/bin/gnome-shell 110MiB |
+-----------------------------------------------------------------------------+
$ ./apollo.sh config
[INFO] Apollo Environment Settings:
[INFO] APOLLO_ROOT_DIR: /apollo
[INFO] APOLLO_CACHE_DIR: /apollo/.cache
[INFO] APOLLO_IN_DOCKER: true
[INFO] APOLLO_VERSION: master-2020-08-27-b7fc6b3227
[INFO] DOCKER_IMG: dev-x86_64-18.04-20200823_0534
[INFO] APOLLO_ENV: STAGE=dev USE_ESD_CAN=false USE_GPU=1
$ ./apollo.sh build_gpu
[...]
(14:15:47) INFO: Elapsed time: 337.119s, Critical Path: 211.53s
(14:15:47) INFO: 7148 processes: 7148 local.
(14:15:47) INFO: Build completed successfully, 21274 total actions
==============================================
[ OK ] Done building apollo. Enjoy!
==============================================
But when I try to start it, I meet the following error:
$ ./scripts/bootstrap.sh
nohup: appending output to 'nohup.out'
Launched module monitor.
nohup: appending output to 'nohup.out'
Launched module dreamview.
Failed to start Dreamview. Please check /apollo/data/log or /apollo/data/core for more information
Then I try to check the following directories based on the suggested information. The directory /apollo/data/core is empty:
$ ls /apollo/data/core -la
total 8
drwxr-xr-x 2 werner werner 4096 Aug 24 13:04 .
drwxr-xr-x 5 werner werner 4096 Aug 27 22:16 ..
And there are some log files under the directory /apollo/data/log:
$ ls -la /apollo/data/log
total 180
drwxr-xr-x 2 werner werner 4096 Aug 27 22:16 .
drwxr-xr-x 5 werner werner 4096 Aug 27 22:16 ..
lrwxrwxrwx 1 werner werner 41 Aug 27 22:16 dreamview.INFO -> dreamview.log.INFO.20200827-221638.114316
-rw-r--r-- 1 werner werner 13429 Aug 27 22:16 dreamview.log.INFO.20200827-221637.114250
-rw-r--r-- 1 werner werner 93874 Aug 27 22:30 dreamview.log.INFO.20200827-221638.114316
lrwxrwxrwx 1 werner werner 41 Aug 27 22:16 mainboard.INFO -> mainboard.log.INFO.20200827-221637.114250
-rw-r--r-- 1 werner werner 9274 Aug 27 22:30 mainboard.log.INFO.20200827-221637.114250
lrwxrwxrwx 1 werner werner 35 Aug 27 22:16 map.INFO -> map.log.INFO.20200827-221638.114316
-rw-r--r-- 1 werner werner 42231 Aug 27 22:16 map.log.INFO.20200827-221638.114316
lrwxrwxrwx 1 werner werner 39 Aug 27 22:16 monitor.INFO -> monitor.log.INFO.20200827-221637.114250
-rw-r--r-- 1 werner werner 298 Aug 27 22:16 monitor.log.INFO.20200827-221637.114250
So I tried with the following command on these log files:
$ grep -A5 -B5 -i error /apollo/data/log/*
/apollo/data/log/dreamview.INFO- }
/apollo/data/log/dreamview.INFO- resource {
/apollo/data/log/dreamview.INFO- disk_spaces {
/apollo/data/log/dreamview.INFO- path: "/apollo/data"
/apollo/data/log/dreamview.INFO- insufficient_space_warning: 8
/apollo/data/log/dreamview.INFO: insufficient_space_error: 2
/apollo/data/log/dreamview.INFO- }
/apollo/data/log/dreamview.INFO- disk_spaces {
/apollo/data/log/dreamview.INFO- path: "/media/apollo/internal_nvme"
/apollo/data/log/dreamview.INFO- insufficient_space_warning: 128
/apollo/data/log/dreamview.INFO: insufficient_space_error: 32
/apollo/data/log/dreamview.INFO- }
/apollo/data/log/dreamview.INFO- }
/apollo/data/log/dreamview.INFO- }
/apollo/data/log/dreamview.INFO-}
/apollo/data/log/dreamview.INFO-I0827 22:16:38.730525 114316 kv_db.cc:64] Executing SQL: CREATE TABLE IF NOT EXISTS key_value (key VARCHAR(128) PRIMARY KEY NOT NULL, value TEXT);
--
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- }
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- resource {
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- disk_spaces {
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- path: "/apollo/data"
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- insufficient_space_warning: 8
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250: insufficient_space_error: 2
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- }
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- disk_spaces {
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- path: "/media/apollo/internal_nvme"
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- insufficient_space_warning: 128
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250: insufficient_space_error: 32
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- }
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- }
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250- }
/apollo/data/log/dreamview.log.INFO.20200827-221637.114250-}
--
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- }
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- resource {
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- disk_spaces {
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- path: "/apollo/data"
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- insufficient_space_warning: 8
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316: insufficient_space_error: 2
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- }
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- disk_spaces {
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- path: "/media/apollo/internal_nvme"
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- insufficient_space_warning: 128
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316: insufficient_space_error: 32
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- }
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- }
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316- }
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316-}
/apollo/data/log/dreamview.log.INFO.20200827-221638.114316-I0827 22:16:38.730525 114316 kv_db.cc:64] Executing SQL: CREATE TABLE IF NOT EXISTS key_value (key VARCHAR(128) PRIMARY KEY NOT NULL, value TEXT);
Any hints for solving the problem?
Best regards,
HY
Hi,
I successfully compiled apollo git master gpu version on Ubuntu 20.04 with the following settings:
But when I try to start it, I meet the following error:
Then I try to check the following directories based on the suggested information. The directory
/apollo/data/coreis empty:And there are some log files under the directory
/apollo/data/log:So I tried with the following command on these log files:
Any hints for solving the problem?
Best regards,
HY