Fail to start Dreamview
- OS Platform and Distribution (e.g., Linux Ubuntu 14.04):Linux Ubuntu 18.10
- Apollo installed from (source or binary):
- Apollo version (1.0, 1.5, 2.0, 2.5, 3.0):3.5
Hi,
I successfully built apollo.sh and when I tried to start monitor & dreamview module using bash scripts/bootstrap.sh , it showed
yhm@in_dev_docker:/apollo$ bash 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
After I played a record with cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop, I could access to the page localhost:8888 but see nothing.
Is there anything I can do to solve that problem?
I think you have a similar issue like me
Please follow the steps below Tested In Ubuntu 16.04
https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.2.tar.gz
move tar file to apollo source code directory
in docker tar xvfz pcl-1.7.2.tar.gz cd pcl-blah-blah
cmake . make
sudo cp lib/* /usr/local/lib/
./scripts/bootstrap.sh
if you have any questions, please let me know.
There is a help docs Dreamview_FAQs about Dreamview does not start even though the build is successful
I think you have a similar issue like me
Please follow the steps below Tested In Ubuntu 16.04
https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.2.tar.gz
move tar file to apollo source code directory
in docker tar xvfz pcl-1.7.2.tar.gz cd pcl-blah-blah
cmake . make
sudo cp lib/* /usr/local/lib/
./scripts/bootstrap.sh
if you have any questions, please let me know.
Thank you for your reply! @orollo
After following the steps above, it said
***@in_dev_docker:/apollo$ bash scripts/bootstrap.sh start nohup: appending output to 'nohup.out' Launched module monitor. nohup: appending output to 'nohup.out' Launched module dreamview. Dreamview is running at http://localhost:8888
but the website still shows nothing. The browser I'm using is Firefox and according to https://get.webgl.org/ it supports webGL.
I think you have a similar issue like me Please follow the steps below Tested In Ubuntu 16.04 https://github.com/PointCloudLibrary/pcl/archive/pcl-1.7.2.tar.gz move tar file to apollo source code directory in docker tar xvfz pcl-1.7.2.tar.gz cd pcl-blah-blah cmake . make sudo cp lib/* /usr/local/lib/ ./scripts/bootstrap.sh if you have any questions, please let me know.
Thank you for your reply! @orollo
After following the steps above, it said
***@in_dev_docker:/apollo$ bash scripts/bootstrap.sh start nohup: appending output to 'nohup.out' Launched module monitor. nohup: appending output to 'nohup.out' Launched module dreamview. Dreamview is running at http://localhost:8888
but the website still shows nothing. The browser I'm using is Firefox and according to https://get.webgl.org/ it supports webGL.
show your log file /apollo/data/log/dreamview.xxxx
and also rebuild your apollo source code ./apollo.sh clean ./apollo.sh build_gpu
check your graphics driver status in docker : nvidia_smi
The Nvidia driver is working. And I rebuild apollo.sh with gpu option but it still doesn't work.
I dont know what part of the logfile is related to the problem so I upload the logfile here https://github.com/Younch-15/others/blob/master/dreamview.INFO
Thanks for your patience @orollo
@HongyiSun There are no files under folder /apollo/data/core/. dreamview.INFO has been uploaded to the link above.
The Nvidia driver is working. And I rebuild apollo.sh with gpu option but it still doesn't work.
I dont know what part of the logfile is related to the problem so I upload the logfile here https://github.com/Younch-15/others/blob/master/dreamview.INFO
Thanks for your patience @orollo
@HongyiSun There are no files under folder
/apollo/data/core/.dreamview.INFOhas been uploaded to the link above.
Hmm...
I have a no idea, but you can debug dreamview by yourself
run monitoring tool because below messages are strange "read buffer overflow, drop_message[1]"
cyber_monitor
web deubgging Firefox menu Tools -> Web Developer -> Web Console
I have the same issue and I am running on ubuntu 14.04. Following is my nvidia-smi info: +-----------------------------------------------------------------------------+ | NVIDIA-SMI 410.79 Driver Version: 410.79 CUDA Version: 10.0 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Quadro P5000 Off | 00000000:65:00.0 On | Off | | 26% 41C P0 46W / 180W | 1266MiB / 16244MiB | 0% Default | +-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1219 G /usr/lib/xorg/Xorg 678MiB | | 0 2848 G compiz 371MiB | | 0 3118 G ...uest-channel-token=10857991829351743005 214MiB | +-----------------------------------------------------------------------------+
@Younch-15 Can you elaborate on 'I could access to the page localhost:8888 but see nothing.'? Is it a blank web page or the server returns 404? A screenshot would be helpful, thanks.
Add @GoLancer for the "read buffer overflow, drop_message[1]" error from https://github.com/Younch-15/others/blob/master/dreamview.INFO.
Please check if this the issue of git-lfs: https://github.com/ApolloAuto/apollo/issues/6479
@siyangy It is a blank page with no status code returned. When using chrome, a small apollo logo is shown on the tab title like this

Please check if this the issue of git-lfs: #6479
Thanks! I'll try the git lfs fetch --all command tomorrow. If that works I will let you konw.
The problem has been solved by following steps
~$ git lfs clone https://github.com/ApolloAuto/apollo.git apollo-repo ~$ cd apollo-repo/ ~/apollo-repo$ git lfs fetch --all
followed with dev_start and dev_into, and rebuild.
Thank you all for the help
@in_dev_docker:/apollo$ bash 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 any solution please ..... after this problrm if bootstrap.sh is again running then says Dreamview is already running...skipping.......
@in_dev_docker:/apollo$ bash scripts/bootstrap.sh Module monitor is already running - skipping. Module dreamview is already running - skipping. mi759@in_dev_docker:/apollo$ cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop WARNING: Logging before InitGoogleLogging() is written to STDERR I0212 12:58:01.065069 15469 global_data.cc:153] [cyber_recorder] host ip: 10.9.29.35 E0212 12:58:01.066371 15469 record_file_reader.cc:33] [cyber_recorder] File not exist, file: docs/demo_guide/demo_3.5.record E0212 12:58:01.066395 15469 record_reader.cc:32] [cyber_recorder] Open record file failed, file: docs/demo_guide/demo_3.5.record earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0 E0212 12:58:01.066437 15469 play_task_producer.cc:176] [cyber_recorder] begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0 sugestion please i dont know ....when i solve this problem and able to start Dreamview....
@in_dev_docker:/apollo$ bash 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 any solution please ..... after this problrm if bootstrap.sh is again running then says Dreamview is already running...skipping.......
@Iqbalparvi Hi, I have the same problem, the Dreamview is already running...skipping.......but localhosst:8888 shows ''unable to connect''. Did you find the solution? any help would be appreciated. Thanks!
@EllieGuo ..yes i solve the problem ....I suggest that if your system requirement is Ok for apollo then please check the git installation confirmation as in the terminal "SSh- T [email protected]" also check your github account where the SSH Key must be in used... if its OK then check git lfs clone and checkout latest version ... Hope you solve the problem thanks
@EllieGuo ..yes i solve the problem ....I suggest that if your system requirement is Ok for apollo then please check the git installation confirmation as in the terminal "SSh- T [email protected]" also check your github account where the SSH Key must be in used... if its OK then check git lfs clone and checkout latest version ... Hope you solve the problem thanks
@Iqbalparvi Hi, thanks for your kind suggestion, I tried and this did not work for me. Thanks again, and sorry for such a delay.
@in_dev_docker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollo cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop WARNING: Logging before InitGoogleLogging() is written to STDERR I0212 12:58:01.065069 15469 global_data.cc:153] [cyber_recorder] host ip: 10.9.29.35 E0212 12:58:01.066371 15469 record_file_reader.cc:33] [cyber_recorder] File not exist, file: docs/demo_guide/demo_3.5.record E0212 12:58:01.066395 15469 record_reader.cc:32] [cyber_recorder] Open record file failed, file: docs/demo_guide/demo_3.5.record earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0 E0212 12:58:01.066437 15469 play_task_producer.cc:176] [cyber_recorder] begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0 sugestion please i dont know ....when i solve this problem and able to start Dreamview....
How did you fix this issue? I am stuck in here.
@in_dev_docker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollo cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop WARNING: Logging before InitGoogleLogging() is written to STDERR I0212 12:58:01.065069 15469 global_data.cc:153] [cyber_recorder] host ip: 10.9.29.35 E0212 12:58:01.066371 15469 record_file_reader.cc:33] [cyber_recorder] File not exist, file: docs/demo_guide/demo_3.5.record E0212 12:58:01.066395 15469 record_reader.cc:32] [cyber_recorder] Open record file failed, file: docs/demo_guide/demo_3.5.record earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0 E0212 12:58:01.066437 15469 play_task_producer.cc:176] [cyber_recorder] begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0 sugestion please i dont know ....when i solve this problem and able to start Dreamview....
How did you fix this issue? I am stuck in here.
Hey, did you solve the problem? I am stuck at the exact place...
@in_dev_docker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollobashscripts/bootstrap.shModulemonitorisalreadyrunning−skipping.Moduledreamviewisalreadyrunning−skipping.mi759@indevdocker:/apollo cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop WARNING: Logging before InitGoogleLogging() is written to STDERR I0212 12:58:01.065069 15469 global_data.cc:153] [cyber_recorder] host ip: 10.9.29.35 E0212 12:58:01.066371 15469 record_file_reader.cc:33] [cyber_recorder] File not exist, file: docs/demo_guide/demo_3.5.record E0212 12:58:01.066395 15469 record_reader.cc:32] [cyber_recorder] Open record file failed, file: docs/demo_guide/demo_3.5.record earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0 E0212 12:58:01.066437 15469 play_task_producer.cc:176] [cyber_recorder] begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0 sugestion please i dont know ....when i solve this problem and able to start Dreamview....
How did you fix this issue? I am stuck in here. Have you solved it?