fpt-corp / dira Goto Github PK
View Code? Open in Web Editor NEWDiRa - Digital Race Platform : Open Source platform for driverless car
License: MIT License
DiRa - Digital Race Platform : Open Source platform for driverless car
License: MIT License
Hi. I'm trying to run the simulator provided in here
The problem is sometimes the simulator run very well on my computer with 60-70+ FPS, but almost other time it only staying bellow 30 FPS, which is very annoying and hard to work with.
Here is my computer spec:
Other small thing to note:
Seem more than enough to run the simulator + some mild computation. But the simulator alone already seems bad ;(
Before asking for help, I had make sure the following things:
=> 70.5 FPS
=> 67.8 FPS
=> 66.9 FPS
Please notice on the right side of the screen, I have 2 monitor program opened up: htop
for CPU + RAM monitoring, nvtop
for GPU monitoring. So, when the simulator are RUNNING well:
=> 28.5 FPS, even when I just stand still
=> 19.7 FPS, too slow
=> 20.4 FPS
Let's take a look at the hardware monitor this time:
By looking at the hardware monitor in 2 cases, I don't see any hardware throttling at all, everything stay pretty much the same except when the simulator perform slowly, the GPU utilization is a bit smaller. Which indicating that's something is wrong with the software so that it can not utilize all the hardware available ???
I have spent quite a lot of time digging into this and have try the following thing:
NVIDIA X Server Setting
, try to increase the performance setting of OpenGL and turn off VSync (cause sometime I felt like the simulator is being cap at 30fps). Here are some setting that I have tried, mainly to increase the GPU performanceAll the things above haven't resolve the issue. At this points, I haven't been able to run the simulator smoothly for the past 2 days.
Soo then, what can I do to potentially fix this problem ? Not buying a new machine or reinstall the whole OS from scratch of course ;(. I guess that there are some saved configuration file that I can delete to make unity reset its setting about my laptop .... but I don't know how to do that ....
Maybe you guys can add Vulkan support for this to make it run faster and more reliable I guess ....
I'm not sure. But I hope that you guys can help me, especially the one who wrote these simulator since this is happening with all of them.
Again, I would do anything to help you guys resolve this problem. Thanks you and looking for yours help soon ;(
Hi, I'm trying to run this example code with 3 new simulator in here on:
I can comfirm that I've connected to the simulator from this log:
linus@linus-G7-7588:~/catkin_ws$ roslaunch video_stream video_stream.launch
....
- rosbridge_library.capabilities.unadvertise_service.UnadvertiseService
[INFO] [1571632234.778425]: Rosbridge WebSocket server started on port 9090
[INFO] [1571632255.004101]: Client connected. 1 clients total.
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
[INFO] [1571632255.346756]: [Client 0] Subscribed to team1/set_speed
[INFO] [1571632255.350429]: [Client 0] Subscribed to team1/set_angle
[INFO] [1571632255.353589]: [Client 0] Subscribed to team1/set_camera_angle
Here is the log when I try to run video_stream
package:
linus@linus-G7-7588:~/catkin_ws$ rosrun video_stream video_stream _image_transport:=compressed
[ERROR] [1571632345.491481355]: Tried to advertise a service that is already advertised in this node [/video_stream/compressed/set_parameters]
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.507: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.522: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.551: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.551: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.607: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(RGB:21999): GLib-GObject-CRITICAL **: 11:32:25.628: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
Aborted (core dumped)
And lane_detect
:
linus@linus-G7-7588:~/catkin_ws$ rosrun lane_detect lane_detect _image_transport:=compressed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.029: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.060: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.085: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.086: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.133: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.164: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.165: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(View:22023): GLib-GObject-CRITICAL **: 11:32:28.166: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Attempt to unlock mutex that was not locked
Aborted (core dumped)
I've noticed some screen poped up after I ran the above code but then it quick disappear with exception.
Since I don't see any proper traceback ;( I really need you guys help here. Thanks a lot <3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.