-
Notifications
You must be signed in to change notification settings - Fork 466
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
[melodic|Fedora 31] Rviz segfault under wayland but work under X #1442
Comments
This seems to be a Wayland issue, not providing full X compatibility. Did you file an issue there? |
Ok I've found a temporary solution by forcing the use of X11 on Wayland using I'm not sure whether Wayland is supposed to provide full X compatibility (some program notoriously won't work on Wayland but work on X) or if Rviz needs to be updated for wayland. If the consesnsus is that it's a Wayland problem, I'll go report the error there. |
As indicated by the error, the culprit is OGRE, which doesn't support Wayland yet: |
As far as I know, wayland allows to run an X11 server and thus provide the platform to run any X11 client program - exactly what you did with However, to natively support wayland, besides relying on corresponding OGRE support, rviz will also require to replace some native X11 calls. See here for some hints: |
Hello, This is happened when compiling with colcon using rolling branch. RViz version 13.3.1 (ROS2 rolling) |
Hi!
It's impossible to start rviz under Wayland but it starts fine under X. Under Wayland, rviz segfaults after complaining that Ogre as the wrong screen/server:
I have tried
export LIBGL_ALWAYS_SOFTWARE=1
but the result is the same.Your environment
I have used the source install method of the wiki. So I'm at whichever commit this links to.
The text was updated successfully, but these errors were encountered: