Closed Domiragi closed 1 month ago
As mentioned in https://community.gazebosim.org/t/wslg-with-gpu-support-available-on-latest-version-of-gazebo-garden-and-harmonic/2360 the fix in ogre-next was backported in Garden and Harmonic, not Fortess.
Possible workarounds are:
Thank you for pointing out that the fix was with Garden and Harmonic, and not Fortress. I will try the different methods you suggested and see what works best. I will close this issue ticket then.
I am trying to run Fortress in WSL2, specifically on Ubuntu 22.04.3 LTS. I'm using an up-to-date Wins 10 with WSL2 and WSLg installed. After installing from binary, running
ign gazebo shapes.sdf
would show the GUI being opened brieftly before being terminated by an Ogre exception. This is very similar to issue #920 where this comment shows the exact same error message. This issue was supposedly fixed in the updated Garden and Fortress and the ticket was closed.I also want to note that when I uninstalled Fortress and instead installed Garden from binary, Gazebo would actually run as expected, and I encountered no bug/crash at all.
Environment
If this is a GUI or sensor rendering bug, describe your GPU and rendering system.
Rendering plugin: ogre2
Generally, mention all circumstances that might affect rendering capabilities:
Rendering system info:
Command Ouput
[x] Please, attach the ogre.log or ogre2.log file from
~/.gz/rendering
: ogre2.logDescription
ign gazebo shapes.sdf
would open up the GUI windowSteps to reproduce
ign gazebo shapes.sdf
into the terminal and runOutput
Console Log
``` vndrx@DESKTOP-2OA43P3:~$ ign gazebo 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 terminate called after throwing an instance of 'Ogre::UnimplementedException' what(): OGRE EXCEPTION(9:UnimplementedException): in GL3PlusTextureGpu::copyTo at /build/ogre-next-UFfg83/ogre-next-2.2.5+dfsg3/RenderSystems/GL3Plus/src/OgreGL3PlusTextureGpu.cpp (line 677) Stack trace (most recent call last) in thread 36676: #10 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in #9 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d33484f, in #8 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2a2ac2, in #7 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f3c379c199d, in #6 Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7f3c379bff90, in qTerminate() #5 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c39845276, in std::terminate() #4 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c3984520b, in #3 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f3c39839b9d, in #2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2367f2, in abort #1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d250475, in raise #0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3c3d2a49fc, in pthread_kill Aborted (Signal sent by tkill() 36600 1000) ```GIF displaying the bug
![Gazebo_Fortress_WSL2_Ogre2_Crash](https://github.com/user-attachments/assets/973c99c6-f6e8-43ee-af87-95efe1553b23)