-
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
Meshes do not display with WSLg on NVIDIA graphics #1748
Comments
I can confirm this issue on another WSLg installation, also employing an NVIDIA card. |
A laptop with an Intel GPU only, doesn't exhibit this issue. It seems to be related to Microsoft's D3D12 renderer. |
As a workaround, you can set the environment variable |
The
RobotModel
is invisible even though there are no visible errors:Adding a
TF
display shows the frames of the robot correctly:I tried both the panda and the fanuc robot and neither displayed the robot mesh
Your environment
OS Version: Windows 11 Pro 21H2 (22000.675) running WSL2 with Ubuntu 20.04
ROS Distro: Noetic
RViz, Qt, OGRE, OpenGl version as printed by rviz:
echo "$LANG, $LC_NUMERIC"
printsC.UTF-8
Using
LANG=C rviz
does not helpRunning
glxinfo
prints this:Click to expand
How to reproduce
Setup Ubuntu VM:
Inside Powershell or Cmd run
and follow the instructions.
After installation run
sudo apt update
andsudo apt upgrade
.Then follow this tutorial until step 1.4 where
ros-noetic-desktop-full
should be installed.Finally install
ros-noetic-moveit
andros-noetic-moveit-resources
and run:It used to work a few weeks ago, I'm not exactly sure what broke it. (Maybe
apt upgrade
?)It could be something related to the shader considering that it's a rendering only bug?
I'm also not sure if this is a local problem since I only have a single Windows 11 machine to test this on. (which supports WSLg)
If there's anything I have missed or I should try let me know.
The text was updated successfully, but these errors were encountered: