Skip to content

Commit

Permalink
Add wayland troubleshooting section (#356)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Aug 15, 2023
1 parent 07172d7 commit 5558ac5
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
17 changes: 17 additions & 0 deletions fortress/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,23 @@ that's working by running a world which uses Ogre 1 instead of Ogre 2, such as:
If that loads, you can continue to use Ignition with Ogre 1, just use the
`--render-engine ogre` option.
### 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:
```
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.
```sh
env -u WAYLAND_DISPLAY ign gazebo -v 4 shapes.sdf
```
## Windows
### VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
Expand Down
17 changes: 17 additions & 0 deletions garden/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,23 @@ that's working by running a world which uses Ogre 1 instead of Ogre 2, such as:
If that loads, you can continue to use Gazebo with Ogre 1, just use the
`--render-engine ogre` option.
### 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:
```
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.
```sh
env -u WAYLAND_DISPLAY gz sim -v 4 shapes.sdf
```
## Windows
### VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
Expand Down
17 changes: 17 additions & 0 deletions harmonic/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,23 @@ that's working by running a world which uses Ogre 1 instead of Ogre 2, such as:
If that loads, you can continue to use Ignition with Ogre 1, just use the
`--render-engine ogre` option.
### 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:
```
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.
```sh
env -u WAYLAND_DISPLAY gz sim -v 4 shapes.sdf
```
## Windows
### VisualStudioVersion is not set, please run within a Visual Studio Command Prompt.
Expand Down

0 comments on commit 5558ac5

Please sign in to comment.