You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you Thijs for the support. As requested a new issue regarding to the low FPS Problem in the simulation.
When we switch from the NVIDIA Driver 460 to the X.Org driver to show the simulation with the contest environment in docker our fps rate drops significantly from approximately 40 fps (on the machine (without docker) with the NVIDIA Driver) to 0.8 fps (in the docker container with x.org driver). We also tested the simulation with the x.org driver without docker and had about 1 fps.
How can we get a better performance while using in the contest environment with docker?
The text was updated successfully, but these errors were encountered:
If you have a GPU on your computer you can try to disable the software rendering for the a container. Long story short, on systems without a GPU the lidar data was not always rendered correctly (was not appearing). When forcing the system to use software rendering by setting LIBGL_ALWAYS_SOFTWARE=1 the lidar was rendered correctly, but but rendering became very inefficient.
When you have a GPU with the x.org driver you might not need the software rendering(I have not verified this). You can try do remove the line in the docker file https://github.com/FieldRobotEvent/Virtual_Field_Robot_Event/blob/master/competition_environment/a_container/Dockerfile that says ENV LIBGL_ALWAYS_SOFTWARE=1, and then build the a_container(simulation container) manually (docker build -t fieldrobotevent/a_container_2021 a_container. Afterwards you can start the competition environment(start_competition_environment.sh), enter one of the containers (docker exec -it fre_a_container_1), In the container, source ros_entrypoint.sh and then rostopic echo front/scan. If some of the values under the tag ranges are not 0 or inf, the lidar is rendered correctly.
Thank you Thijs for the support. As requested a new issue regarding to the low FPS Problem in the simulation.
When we switch from the NVIDIA Driver 460 to the X.Org driver to show the simulation with the contest environment in docker our fps rate drops significantly from approximately 40 fps (on the machine (without docker) with the NVIDIA Driver) to 0.8 fps (in the docker container with x.org driver). We also tested the simulation with the x.org driver without docker and had about 1 fps.
How can we get a better performance while using in the contest environment with docker?
The text was updated successfully, but these errors were encountered: