Skip to content

webots: blinking vgl, some times #172

@juju2013

Description

@juju2013

Application: webots R2021a (https://www.cyberbotics.com/)
VirtualGL: 2.6.90
TurboVNC: 2.2.6
Container OS: Ubuntu 18.04.5 LTS
Host OS: Centos 7
GPU: Tesla M2090, driver version: 390.116

When webots runs simulations, some run all good, but some have the main display (vgl window) blinking. Screen recorded example: https://video.fbxl.net/videos/watch/3389fa83-c31e-4cc4-a861-805e94b16a59

By trial and error, it looks like that wired behavior is linked to some "robots" (PROTO Nodes/robots), but not all of them; in the same simulation, adding some robots will cause blinking, remove them and add other robots and the simulation will run OK.

Here's a trace output of a (almost) empty simulation: http://dl.free.fr/lH4IZIt0F

The same plus a Boston Dynamics dog (screen recorded one): http://dl.free.fr/wl8bbqSMD

Command to lauch webots: vglrun +v -d /dev/dri/card1 webots

Docker compose file:

webots:
container_name: webots
shm_size: 2G
image: webots
runtime: nvidia
privileged: true
environment:
- NVIDIA_VISIBLE_DEVICES=all
networks:
dockernet:
ipv4_address: 10.99.0.33
volumes:
- /home/xxx/webots/:/data/
- ./init.sh:/init.sh
- ./xorg.conf:/etc/X11/xorg.conf
devices:
- "/dev/dri"
- "/dev/vga_arbiter"
- "/dev/nvidia0"
- "/dev/nvidia1"
- "/dev/nvidiactl"
- "/dev/nvidia-modeset"
- "/dev/nvidia-uvm"
- "/dev/nvidia-uvm-tools"
- "/dev/fb0"
command:
/init.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions