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

Gazebo 8.0.0 startup error on Arch Linux with Ogre 1.10.5 (Request for Information) #2321

Closed
osrf-migration opened this issue Aug 1, 2017 · 5 comments
Labels

Comments

@osrf-migration
Copy link

Original report (archived issue) by Tim Rakowski (Bitbucket: Tim Rakowski).


Hi,

I understand that you don't actively support gazebo on Arch Linux, and this is only a request for information, not a "bug report".

When running "gazebo --verbose" (Gazebo 8.0.0) on Arch Linux, where ogre currently has version 1.10.5, we get the following error on startup:

[Err] [server_main.cc:54] Ogre Error:ItemIdentityException: Resource with the name DeferredRendering/Shadows/RSMCaster_Spot already exists. in ResourceManager::add at /build/ogre/src/ogre/OgreMain/src/OgreResourceManager.cpp (line 150)
[Err] [main.cc:34] Ogre Error:ItemIdentityException: Resource with the name DeferredRendering/Shadows/RSMCaster_Spot already exists. in ResourceManager::add at /build/ogre/src/ogre/OgreMain/src/OgreResourceManager.cpp (line 150)

Building against an unsupported version of ogre-1.8 works, but I would like to avoid potential conflicts, especially since ("other") ros packages (rviz) work fine with ogre-1.10.

  • Should gazebo 8.0.0 work with ogre-1.10?
  • If not, does some other gazebo version/branch work with ogre-1.10? Is there some patch I could apply?

I was only able to find https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/1384/merge-haptix-branch-with-default/diff, which makes it look like gazebo should work with ogre-1.10 since quite a while.

So is this actually an Arch Linux only issue?

@osrf-migration
Copy link
Author

Original comment by Tim Rakowski (Bitbucket: Tim Rakowski).


  • Edited issue description

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • set component to "rendering::ogre_gazebo"

I'll defer to @iche033

@osrf-migration
Copy link
Author

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


we've merged a few pull requests recently that address issues related to ogre 1.10. A couple are backported to gazebo8:

https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/2721

https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/2722

I don't think we've made a new gazebo8 release with those patches yet. The workaround for the problem described in this issue is to edit and delete the duplicate material in [install_prefix]/share/gazebo-8/media/materials/scripts/ShadowCaster.material, see changes in pull request #2721

@osrf-migration
Copy link
Author

Original comment by Tim Rakowski (Bitbucket: Tim Rakowski).


Thanks a lot, worked like a charm. I noticed, though, that the client does not shutdown cleanly. gazebo returns -1 and gdb gzclient revealed a segfault in Ogre::Root::shutdown. The same does not happen with ogre 1.8 on Arch Linux. Not sure if I have enough time to (learn enough about gazebo and) debug that issue, since I am not even a gazebo user :/

Thank you very much for the fast help!

@osrf-migration
Copy link
Author

Original comment by Tim Rakowski (Bitbucket: Tim Rakowski).


  • changed state from "new" to "closed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant