LIBGL_ALWAYS_SOFTWARE #6368
Closed
ShuffleWire
started this conversation in
General
Replies: 1 comment 1 reply
-
Do you observe big differences in the lidar data? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Using Webots headless, I'm using xfvs-run. It run fine, but don't use the GPU, and use software library instead. That not a big deal, but it turn out that Lidar data produced by the Software library are different from those generated using a GPU.
Thus, simulation are not behaving the same way using both methods.
One way to improve thing is to start webots using
LIBGL_ALWAYS_SOFTWARE=1 webots <additionnal parameters>
It will of course reduce performance, but you end up with simulation behaving much closer that the one executed under xvfs-run
I think it might be useful to add that to the documentation.
Beta Was this translation helpful? Give feedback.
All reactions