-
Notifications
You must be signed in to change notification settings - Fork 217
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 Screen on version 11.2.5 #948
Comments
Hm, I can't reproduce this here; it seems to work fine for me in a container (though on Ubuntu, not WSL). The only change between 11.2.4 and 11.2.5 of consequence was #931 . While I guess that could cause problems, it seems unlikely that this is causing this particular problem. If you downgrade just rviz_rendering by doing:
Does that make it work for you? |
I'm having some trouble downgrading with that command, after running those and opening rviz I'm still on 11.2.5. Here are the results of 'apt list -- installed | grep rviz'
Doesn't seem like this downgraded all of rviz. Which version of Ubuntu are you on? My docker container is 22.0.4. It is working when I install it directly in my WSL distro which is Ubuntu 20.04. |
Yeah, that's correct. The command I gave you only downgraded rviz_rendering, which is the only thing that changed between 11.2.4 and 11.2.5. It should still run.
Ubuntu 22.04, running in an LXC container. |
I am facing a black screen issue aswell, using a docker container on ubuntu. I initially had rviz2 11.2.5 installed:
Then I tried to downgrade everything to 11.2.4
-> Black screen Then to 11.2.3:
-> Black screen Then to 11.2.2:
-> still black screen There is no version earlier than 11.2.2 on Humble. But I have used Rviz in humble containers before, and it was working just fine. So it does not seem to be a Rviz2 version issue (in my case at least). |
Simple test with rocker:
-> the default grid is visible
-> the 3D view is all black The images I pulled:
@neutronztar could you test rviz from |
Can you also try to remove the directory in |
@clalancette removing |
I observed something interesting though:
from the humble one, it is OpenGL 4.5:
What if it is a problem with OpenGL? I have tested
|
When using docker adding |
@JensVanhooydonck
|
There is really a thing between ubuntu 20.04 and 22.04:
But no issue with
|
I've also added this to the environment variables: |
I see, in my case, both the docker image and the host have exactly the same versions:
I have tried to fiddle with mesa version override variable, but it does not do much on my machine. |
I also have this error, but only on 1/2 machines with identical rviz2 versions
|
I am using this docker image: https://hub.docker.com/r/tiryoh/ros2-desktop-vnc/tags?page=1&name=humble. |
I also encountered this problem. everything that render 3D display black screen, include rviz gazebo and moveit_setup assisant. |
I also had this problem with windows 10 enterprise, docker-desktop and Ubuntu 22.04 LTS. I was able to fix this issue by upgrading the mesa package with the binaries provided by the kisak/kisak-mesa ppa:
|
I can verify the issue in docker with an image based on the latest ubuntu22.04 and ros2 humble from the latest apt packages. This is not on WSL. The base system is also ubuntu22.04. |
I confirm the mesa upgrade from
On my machine the
@Stefan-working Thank you for the fix! |
it works!!! thank u very much! |
I also had this problem with Ubuntu 18.04LTS, docker and Ubuntu 22.04 LTS. I was able to fix this issue by add option "--privileged" when run container,like this: |
I've been able to get around this by just installing nvidia-driver-515 in my docker image. Note that other nvidia driver versions may work, but this is the one I tried. I'm not seeing any common packages here and the ones suggested by @VRichardJP. This installed the following packages:
|
There is a lot of information in here, but everything in this issue points to user configuration, not problems in the code. Since that seems to be the case, I'm going to close this issue out; for further issues on getting RViz to run, please use https://answers.ros.org . |
I've been running into this and finally spent some time digging. It appears to be a known issue in ubuntu with the update to mesa, see bug report. I also found this PR helpful for how to downgrade and make sure the libraries aren't upgraded again by accident. For my specific case I also had to downgrade |
The solution found by @Stefan-working worked for me too (Thanks Stefan):
|
Thanks! That fixes it for me |
When I open Rviz2 with the command 'Rviz2' I get a black screen where the grid and models usually are. This was working on 11.2.4.
OS: Windows 10 host, Rviz2 running a WSL Docker container
Note: My friend is running an Ubuntu host with a Docker container and having the same problem with 11.2.5.
Edit: more details on my setup: Windows 10, WSL Ubuntu 20.0.4, Docker container with Ubuntu 22.04.1 LTS
Rviz 11.2.5 is working when I install it directly on my WSL distro.
The text was updated successfully, but these errors were encountered: