Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black viewport in RViz on noVNC #7

Open
aatb-ch opened this issue Sep 14, 2022 · 1 comment
Open

black viewport in RViz on noVNC #7

aatb-ch opened this issue Sep 14, 2022 · 1 comment

Comments

@aatb-ch
Copy link

aatb-ch commented Sep 14, 2022

When running with the GUI option to have RViz in the browser, I have a black window in the 3d Viewport, can see and interact with the rest of the GUI, just nothing 3D-related. Had this problem on VMs in Parallels and using the LIBGL_ALWAYS_SOFTWARE=1 env variable always solved it. Not this time, cant seem to find a workaround. Wondering if you usually use that GUI mode and if so, if it's a common occurence?

I have tested a different image that also has ROS + RViz and noVNC and it works fine but is based on Ubuntu 20.04 and LXDE (https://hub.docker.com/r/tiryoh/ros-desktop-vnc), will do further testing to compare what seems to let it work, have seen that problem already?

I'm on a Macbook Pro with Intel Graphics, MacOS 12.5.

@aatb-ch
Copy link
Author

aatb-ch commented Sep 17, 2022

Just to provide a bit more details, as I've spent quite a lot of time testing what I had available around me:

Macbook Pro and Mac Mini on Intel CPU + integrated graphics, macOS 12.6:

  • I can get RViz GUI displaying but nothing in the 3d viewport, it's a black square

Macbook Air M1, macOS 11.4:

  • I cannot get anything displayed at all, not even the GUI. I've noticed that Docker Desktop warns me that the gramaziokohler/novnc image is only compiled against amd64 and will be running slow and possibly crash under emulation mode. I've recompiled the image to target linux/arm64, the warning is gone but I still cannot see anything and get this error from the moveit-demo instance:
qt.qpa.xcb: could not connect to display ros-gui:0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

I'm not sure what to do next, I was hoping trying a different platfrom from Intel might solve it but also M1 seems broken. Do you have a known working configuration? Are you mostly working on Windows machines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant