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

map shows incorrectly with WSL2 on RX6600 #1757

Closed
One2INF opened this issue Jul 24, 2022 · 2 comments
Closed

map shows incorrectly with WSL2 on RX6600 #1757

One2INF opened this issue Jul 24, 2022 · 2 comments

Comments

@One2INF
Copy link

One2INF commented Jul 24, 2022

I follow this article to setup my wsl2+ros environment.
But the map shows incorrectly. It seems only half of map shows.
map_rviz

  • The same package works well in vmware+ubuntu.
  • I test it with another computer(AMD Ryzen 7 5700G with Core Graphics card). The problem happen again.

Your environment

  • OS Version: Windows 11 Pro 21H2 (22000.832) running WSL2 with Ubuntu 20.04
  • ROS Distro: Noetic
  • RViz, Qt, OGRE, OpenGl version as printed by rviz.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-shizj'
[ INFO] [1658671854.148744415]: rviz version 1.14.14
[ INFO] [1658671854.148790281]: compiled against Qt version 5.12.8
[ INFO] [1658671854.148808815]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1658671854.156160122]: Forcing OpenGl version 0.
[ INFO] [1658671855.144689454, 876.805000000]: Stereo is NOT SUPPORTED
[ INFO] [1658671855.144768672, 876.805000000]: OpenGL device: D3D12 (AMD Radeon RX 6600)
[ INFO] [1658671855.144823705, 876.805000000]: OpenGl version: 4.2 (GLSL 4.2) limited to GLSL 1.4 on Mesa system.
  • System locale
    echo "$LANG, $LC_NUMERIC" prints C.UTF-8
  • Graphics card:
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX version: 1.4
GLX extensions:
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (AMD Radeon RX 6600) (0xffffffff)
    Version: 22.2.0
    Accelerated: yes
    Video memory: 16291MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 4.2
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
@One2INF One2INF changed the title map shows incorrectly with wsl2 with rt6600 map shows incorrectly with wsl2 on RX6600 Jul 24, 2022
@One2INF One2INF changed the title map shows incorrectly with wsl2 on RX6600 map shows incorrectly with WSL2 on RX6600 Jul 24, 2022
@One2INF
Copy link
Author

One2INF commented Jul 25, 2022

I solved it by export LIBGL_ALWAYS_SOFTWARE=true as mentioned in ##1748.
I will verify it in another computer.

@One2INF One2INF closed this as completed Jul 25, 2022
@rhaschke
Copy link
Contributor

Good that the work-around using software rendering helped you. However, please also upvote (:+1:) the upstream issue microsoft/wslg#744. Thanks.

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

2 participants