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

Add note about libEGL warnings #470

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions harmonic/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,18 @@ XWayland by unsetting the `WAYLAND_DISPLAY` environment variable, e.g.
env -u WAYLAND_DISPLAY gz sim -v 4 shapes.sdf
```

### EGL warnings

On startup, Gazebo prints out EGL warning messages like the one below:

```
libEGL warning: DRI2: failed to create dri screen
```

This message is printed out by Ogre 2 on initialization when it enumerates
through devices to query for EGL support. The warning is fine to ignore. Gazebo
should continue to operate without any issues.


## Windows

Expand Down
28 changes: 23 additions & 5 deletions ionic/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,39 @@ If that loads, you can continue to use Gazebo with Ogre 1, just use the

### Wayland issues

For users on Wayland, you will need to make sure Gazebo is launched with
XWayland.

If you see an error message like the one below:
There's an issue with the interaction of Ogre and Qt in Gazebo that prevents wayland from
working properly. You might see an error message like the one below:

```
Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): currentGLContext was specified with no current GL context in GLXWindow::create at ./RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXWindow.cpp (line 165)
```

try unsetting the `WAYLAND_DISPLAY` environment variable, e.g.
A workaround is to set `QT_QPA_PLATFORM=xcb`. e.g.:

```
QT_QPA_PLATFORM=xcb gz sim -v 4 shapes.sdf
```

Another workaround to try is to make sure Gazebo is launched with
XWayland by unsetting the `WAYLAND_DISPLAY` environment variable, e.g.

```sh
env -u WAYLAND_DISPLAY gz sim -v 4 shapes.sdf
```

### EGL warnings

On startup, Gazebo prints out EGL warning messages like the one below:

```
libEGL warning: DRI2: failed to create dri screen
```

This message is printed out by Ogre 2 on initialization when it enumerates
through devices to query for EGL support. The warning is fine to ignore. Gazebo
should continue to operate without any issues.


## Windows

### VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
Expand Down
Loading