-
Notifications
You must be signed in to change notification settings - Fork 466
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
rviz segfaults on pointclou2 with new opengl #1584
Comments
This seems similar to #1508, but in your case an AMD GPU is affected. Can you provide the output of |
sure: ➜ glxinfo | grep OpenGL |
I have pushed a new commit to melodic-devel to have rviz report the employ rendering device during startup. |
I tried to just compile it localy in workspace, btu got an error: /home/veverak/Projects/Schpin/repos/thirdparty/rviz/src/rviz/default_plugin/interactive_marker_display.cpp:122:100: error: no matching function for call to ‘interactive_markers::InteractiveMarkerClient::InteractiveMarkerClient(tf::Transformer&, std::string)’ using everything as packages from repository, any tips how to make this? |
This looks like a mismatch between Melodic and Noetic. Which system are you compiling on? Which branch did you checkout? |
My mistake, I am no noetic, completely forgot about that |
SO, I applied the patch on noetic version which I am using (again, sorrt for that): [ INFO] [1613002034.041585762]: rviz version 1.14.4 |
Thanks for the feedback. Could you please insert the following line of code: std::cerr << glGetString(GL_VENDOR) << " - " << glGetString(GL_RENDERER) << " - " << glGetString(GL_VERSION) << std::endl; into the function rviz/src/rviz/ogre_helpers/render_system.cpp Line 170 in c36e265
|
AMD - AMD RAVEN (DRM 3.38.0, 5.8.0-43-generic, LLVM 11.0.1) - 4.6 (Compatibility Profile) Mesa 20.3.4 - kisak-mesa PPA |
Same problem showed up on AMD GPU: ros-visualization#1584.
@SquirrelCZE, could you please check whether '--opengl 310' resolves the segfault as well? |
Dear @SquirrelCZE, |
Got segfault with pointcloud2 view from realsense camera.
Everytime I try to enable the plugin for it and receive data (works in case it has no topic), rviz immediatly segfaults.
Everything works just OK with '--opengl 210'.
Your environment
[ INFO] [1612557068.837319690]: rviz version 1.14.4
[ INFO] [1612557068.837440765]: compiled against Qt version 5.12.8
[ INFO] [1612557068.837469989]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1612557068.854635875]: Forcing OpenGl version 0.
[ INFO] [1612557069.359404664]: Stereo is NOT SUPPORTED
[ INFO] [1612557069.359574930]: OpenGl version: 4,6 (GLSL 4,6).
[ INFO] [1612557227.031757660]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed miscParams: FSAA=4 contentScalingFactor=1,000000 externalGLControl= externalWindowHandle=41943063 parentWindowHandle=41943063
[ INFO] [1612557227.075792334]: GLXWindow::create used FBConfigID = 605
[ INFO] [1612557227.217623929]: Mesh: Loading rviz_sphere.mesh.
[ INFO] [1612557227.223506398]: Texture: SelectionRect0Texture: Loading 1 faces(PF_R8G8B8A8,1x1x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1x1x1.
[ INFO] [1612557227.225629624]: Mesh: Loading rviz_cylinder.mesh.
[ INFO] [1612557227.225906850]: Mesh: Loading rviz_cone.mesh.
[ INFO] [1612557227.314088158]: Using FSAA from GL_ARB_multisample extension.
[1] 138464 segmentation fault (core dumped) /opt/ros/noetic/lib/rviz/rviz -l
(gdb) backtrace
#0 0x0000000000000000 in ?? ()
save/restore visualizer settings and state (ros-pkg ticket #303) #1 0x00007fff4ef04a3d in Ogre::GLSL::GLSLLinkProgram::compileAndLink() ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0
add/remove displays in the visualizer (ros-pkg ticket #304) #2 0x00007fff4ef05796 in Ogre::GLSL::GLSLLinkProgram::activate() ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0
New pr2 GUI (ros-pkg ticket #305) #3 0x00007fff4ef07de5 in Ogre::GLSL::GLSLLinkProgramManager::getActiveLinkProgram() ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0
3rdparty glc (ros-pkg ticket #306) #4 0x00007fff4ef030c1 in Ogre::GLSL::GLSLGpuProgram::bindProgramParameters(Ogre::SharedPtrOgre::GpuProgramParameters, unsigned short) () from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0
WASD keyboard controls in rviz (ros-pkg ticket #307) #5 0x00007fff4ef58291 in Ogre::GLRenderSystem::bindGpuProgramParameters(Ogre::GpuProgramType, Ogre::SharedPtrOgre::GpuProgramParameters, unsigned short) () from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0
Port nav_view to a wx panel, make it awesome (ros-pkg ticket #308) #6 0x00007ffff654c694 in Ogre::SceneManager::updateGpuProgramParameters(Ogre::Pass const*) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Non-AABB-based selection in the visualizer (ros-pkg ticket #309) #7 0x00007ffff655412d in Ogre::SceneManager::renderSingleObject(Ogre::Renderable*, Ogre::Pass const*, bool, bool, Ogre::HashedVectorOgre::Light* const*) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
wx_rosout 2nd pass (ros-pkg ticket #317) #8 0x00007ffff6504679 in Ogre::QueuedRenderableCollection::acceptVisitorGrouped(Ogre::QueuedRenderableVisitor*) const ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
show wheel rotation in visualizer (ros-pkg ticket #338) #9 0x00007ffff650478c in Ogre::QueuedRenderableCollection::acceptVisitor(Ogre::QueuedRenderableVisitor*, Ogre::QueuedRenderableCollection::OrganisationMode) const () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Allow data to be visualized (e.g. joint velocities) (ros-pkg ticket #339) #10 0x00007ffff654693a in Ogre::SceneManager::renderBasicQueueGroupObjects(Ogre::RenderQueueGroup*, Ogre::QueuedRenderableCollection::OrganisationMode) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Include base motion in visualizer (ros-pkg ticket #340) #11 0x00007ffff65467d7 in Ogre::SceneManager::renderVisibleObjectsDefaultSequence() () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Allow display of multiple robots (ros-pkg ticket #341) #12 0x00007ffff65584a7 in Ogre::SceneManager::_renderScene(Ogre::Camera*, Ogre::Viewport*, bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
wxswig generated files are checked in (ros-pkg ticket #354) #13 0x00007ffff6392c3a in Ogre::Camera::_renderScene(Ogre::Viewport*, bool) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
follow-cam (ros-pkg ticket #370) #14 0x00007ffff651e805 in Ogre::RenderTarget::_updateViewport(Ogre::Viewport*, bool) ()
from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
sdlgl broken. Build hosed. (ros-pkg ticket #375) #15 0x00007ffff651e612 in Ogre::RenderTarget::_updateAutoUpdatedViewports(bool) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
orthographic.cpp missing (ros-pkg ticket #381) #16 0x00007ffff651e363 in Ogre::RenderTarget::updateImpl() () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Integrate nav_view into an ogre_visualizer panel (ros-pkg ticket #383) #17 0x00007ffff651ed18 in Ogre::RenderTarget::update(bool) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Full-screen image display (ros-pkg ticket #409) #18 0x00007ffff650890f in Ogre::RenderSystem::_updateAllRenderTargets(bool) () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
GUI needs a way to reset_motors (ros-pkg ticket #412) #19 0x00007ffff653f51e in Ogre::Root::_updateAllRenderTargets() () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
create a hardware tab in the gui (ros-pkg ticket #417) #20 0x00007ffff653f610 in Ogre::Root::renderOneFrame() () from /lib/x86_64-linux-gnu/libOgreMain.so.1.9.0
Add tf debug visualizer/mode for the visualizer (ros-pkg ticket #418) #21 0x00007ffff7f3f570 in rviz::VisualizationManager::onUpdate() () from /opt/ros/noetic/lib/librviz.so
Billboard display of points in nav_view (ros-pkg ticket #423) #22 0x00007ffff73cc300 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
visualizer: display trace of 2-D poses (ros-pkg ticket #429) #23 0x00007ffff73d951e in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
ogre_visualizer doesn't old laser scans (ros-pkg ticket #432) #24 0x00007ffff73cccf5 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
wx_topic_display needs wxformbuilder sysdep? (ros-pkg ticket #440) #25 0x00007ffff77cda66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
ogre_visualizer: segfault on startup (ros-pkg ticket #445) #26 0x00007ffff77d70f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
nav_view: button to reload map (ros-pkg ticket #464) #27 0x00007ffff73a093a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
rostopic-gui - gui version of rostopic (ros-pkg ticket #471) #28 0x00007ffff73f78b0 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Fixed-frame-based transformations (ros-pkg ticket #477) #29 0x00007ffff73f819c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Nav View and Standalone Visualizer can't run in parallel (ros-pkg ticket #479) #30 0x00007ffff461ef9d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Cannot delete default topic displays in ogre_visualizer (ros-pkg ticket #482) #31 0x00007ffff461f220 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Adding transparency slider to RobotModel in ogre visualizer (ros-pkg ticket #494) #32 0x00007ffff461f2c3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
Support separate RGB channels for point clouds (ros-pkg ticket #496) #33 0x00007ffff73f8565 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
upgrade freeimage (ros-pkg ticket #498) #34 0x00007ffff739f4db in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
TF visualizer: option to display only the path between two frames (ros-pkg ticket #499) #35 0x00007ffff73a7246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
Update marker message for new TF (ros-pkg ticket #501) #36 0x000055555555860d in main ()
The text was updated successfully, but these errors were encountered: