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

Windows 11 WSLg Gazebo Black Screen #2670

Open
Ryanf55 opened this issue Nov 7, 2024 · 3 comments
Open

Windows 11 WSLg Gazebo Black Screen #2670

Ryanf55 opened this issue Nov 7, 2024 · 3 comments

Comments

@Ryanf55
Copy link
Contributor

Ryanf55 commented Nov 7, 2024

Environment

  • Host OS: Windows 11
  • WSL2 running Ubuntu 22.04 guest
  • Lenovo Thinkpad X1 GEN12
  • Gazebo Version: Harmonic
  • Using the WSLg workflow
  • LIBGL_ALWAYS_SOFTWARE is NOT set ( I want GPU rendering)

Expected behavior

gz sim shapes.sdf`

On another (beefier) Windows 10 computer ( Dell precision 7770, NVIDIA RTX A3000 GPU) , this works in WSL2

Actual Behavior

The Lenovo Thinkpad starts gazebo, but the renderer is black.

Logs

Coming soon

@Ryanf55
Copy link
Contributor Author

Ryanf55 commented Nov 7, 2024

Working Logs from my Dell

dell_gz_harmonic_shapes_v4.txt

@Ryanf55
Copy link
Contributor Author

Ryanf55 commented Nov 7, 2024

Edit: Today, it works. Uploading logs, closing the issue unless it pops back up.

Here's the thinkpad X1 carbon logs

gz_harmonic_thinkpad_logs.txt

@Ryanf55 Ryanf55 closed this as completed Nov 7, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Nov 7, 2024
@Ryanf55
Copy link
Contributor Author

Ryanf55 commented Nov 28, 2024

It's back today, here's logs!

image
$ gz sim shapes.sdf
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
libEGL warning: failed to open /dev/dri/renderD128: Permission denied

libEGL warning: NEEDS EXTENSION: falling back to kms_swrast

gz_harmonic_thinkpad_logs.txt
ogre2.log.txt

$ LANG=C lspci -nn | grep VGA
 >>> No output
 $  echo "$DISPLAY"
>>:0
$ LANG=C glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (Intel(R) Graphics) (0xffffffff)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 18528MB
    Unified memory: yes
    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
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (Intel(R) Graphics)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.2 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL shading language version string: 4.20
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
$ ps aux | grep Xorg
>>> ryan       52313  0.0  0.0   4028  2152 pts/5    S+   15:33   0:00 grep --color=auto Xorg
ryan@ryan-thinkpad:~$ sudo env LANG=C X -version
env: ‘X’: No such file or directory

Gazebo version (binary)

gz-harmonic/unknown,now 1.0.0-1~jammy amd64 [installed]
ryan@ryan-thinkpad:~$ uname -a
Linux ryan-thinkpad 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
ryan@ryan-thinkpad:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

@Ryanf55 Ryanf55 reopened this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant