You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rviz is working fine but I would like to use it in headless mode.
So I configured vnc4server.
When I launch vnc, I have this error:
~$ rviz --verbose
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
[ INFO] [1511197994.229080382]: rviz version 1.12.13
[ INFO] [1511197994.229162184]: compiled against Qt version 5.5.1
[ INFO] [1511197994.229193910]: compiled against OGRE version 1.9.0 (Ghadamon)
Segmentation fault (core dumped)
Using gdb, I have this message:
Starting program: /opt/ros/kinetic/bin/rviz
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdd600700 (LWP 1315)]
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
[ INFO] [1511197778.554813126]: rviz version 1.12.13
[ INFO] [1511197778.554892702]: compiled against Qt version 5.5.1
[ INFO] [1511197778.554921888]: compiled against OGRE version 1.9.0 (Ghadamon)
[New Thread 0x7fffd5051700 (LWP 1445)]
[New Thread 0x7fffd4850700 (LWP 1448)]
[New Thread 0x7fffcffff700 (LWP 1449)]
[New Thread 0x7fffcf7fe700 (LWP 1464)]
Thread 1 "rviz" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? () #1 0x00007fffcd9aa6eb in ?? ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0 #2 0x00007fffcd9b46e8 in ?? ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0 #3 0x00007fffcd9a53dc in ?? ()
from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0 #4 0x00007fffcd9c3ae2 in Ogre::GLRenderSystem::_createRenderWindow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int, bool, std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::STLAllocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*)
() from /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL.so.1.9.0 #5 0x00007ffff3d3588c in Ogre::Root::createRenderWindow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int, bool, std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::STLAllocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*) ()
from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0 #6 0x00007ffff7ad74da in rviz::RenderSystem::tryMakeRenderWindow(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, unsigned int, unsigned int, std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::STLAllocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const*, int) ()
from /opt/ros/kinetic/lib/librviz.so #7 0x00007ffff7ad8c9e in rviz::RenderSystem::makeRenderWindow(unsigned long, unsigned int, unsigned int, double) () from /opt/ros/kinetic/lib/librviz.so #8 0x00007ffff7adb175 in rviz::RenderSystem::RenderSystem() ()
from /opt/ros/kinetic/lib/librviz.so #9 0x00007ffff7adb2d5 in rviz::RenderSystem::get() ()
from /opt/ros/kinetic/lib/librviz.so #10 0x00007ffff7ad6691 in rviz::QtOgreRenderWindow::QtOgreRenderWindow(QWidget*) () from /opt/ros/kinetic/lib/librviz.so #11 0x00007ffff7afcd19 in rviz::RenderPanel::RenderPanel(QWidget*) ()
from /opt/ros/kinetic/lib/librviz.so #12 0x00007ffff7b47bc0 in rviz::VisualizationFrame::initialize(QString const&)
---Type to continue, or q to quit---
() from /opt/ros/kinetic/lib/librviz.so #13 0x00007ffff7b52e29 in rviz::VisualizerApp::init(int, char**) ()
from /opt/ros/kinetic/lib/librviz.so #14 0x0000000000400c90 in main ()
Also, rosrun rviz rviz -l returns:
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
[ INFO] [1511198329.345779768]: rviz version 1.12.13
[ INFO] [1511198329.345816580]: compiled against Qt version 5.5.1
[ INFO] [1511198329.345828467]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1511198329.428276270]: Creating resource group General
[ INFO] [1511198329.428619301]: Creating resource group Internal
[ INFO] [1511198329.428692519]: Creating resource group Autodetect
[ INFO] [1511198329.428775788]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[ INFO] [1511198329.428923511]: Registering ResourceManager for type Material
[ INFO] [1511198329.428983064]: Registering ResourceManager for type Mesh
[ INFO] [1511198329.429032188]: Registering ResourceManager for type Skeleton
[ INFO] [1511198329.429087105]: MovableObjectFactory for type 'ParticleSystem' registered.
[ INFO] [1511198329.429155337]: ArchiveFactory for archive type FileSystem registered.
[ INFO] [1511198329.429204636]: ArchiveFactory for archive type Zip registered.
[ INFO] [1511198329.429250777]: ArchiveFactory for archive type EmbeddedZip registered.
[ INFO] [1511198329.429296780]: DDS codec registering
[ INFO] [1511198329.429348173]: FreeImage version: 3.17.0
[ INFO] [1511198329.429396029]: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[ INFO] [1511198329.429509106]: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
[ INFO] [1511198329.429559857]: PVRTC codec registering
[ INFO] [1511198329.429608151]: ETC codec registering
[ INFO] [1511198329.429653783]: Registering ResourceManager for type HighLevelGpuProgram
[ INFO] [1511198329.429702114]: Registering ResourceManager for type Compositor
[ INFO] [1511198329.429840179]: MovableObjectFactory for type 'Entity' registered.
[ INFO] [1511198329.429892701]: MovableObjectFactory for type 'Light' registered.
[ INFO] [1511198329.429941093]: MovableObjectFactory for type 'BillboardSet' registered.
[ INFO] [1511198329.429988917]: MovableObjectFactory for type 'ManualObject' registered.
[ INFO] [1511198329.430034693]: MovableObjectFactory for type 'BillboardChain' registered.
[ INFO] [1511198329.430081126]: MovableObjectFactory for type 'RibbonTrail' registered.
[ INFO] [1511198329.430160043]: --* OGRE Initialising
[ INFO] [1511198329.430209330]: --* Version 1.9.0 (Ghadamon)
[ INFO] [1511198329.430262142]: OverlayElementFactory for type Panel registered.
[ INFO] [1511198329.430309144]: OverlayElementFactory for type BorderPanel registered.
[ INFO] [1511198329.430355935]: OverlayElementFactory for type TextArea registered.
[ INFO] [1511198329.430403963]: Registering ResourceManager for type Font
[ INFO] [1511198329.430456771]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/RenderSystem_GL
[ INFO] [1511198329.431821782]: Installing plugin: GL RenderSystem
[ INFO] [1511198329.431907189]: OpenGL Rendering Subsystem created.
[ INFO] [1511198329.432646519]: Plugin successfully installed
[ INFO] [1511198329.432710833]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager
[ INFO] [1511198329.433815044]: Installing plugin: Octree Scene Manager
[ INFO] [1511198329.433924941]: Plugin successfully installed
[ INFO] [1511198329.433979862]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_ParticleFX
[ INFO] [1511198329.434959263]: Installing plugin: ParticleFX
[ INFO] [1511198329.436901600]: Particle Emitter Type 'Point' registered
[ INFO] [1511198329.436941372]: Particle Emitter Type 'Box' registered
[ INFO] [1511198329.436969408]: Particle Emitter Type 'Ellipsoid' registered
[ INFO] [1511198329.436994837]: Particle Emitter Type 'Cylinder' registered
[ INFO] [1511198329.437016871]: Particle Emitter Type 'Ring' registered
[ INFO] [1511198329.437039255]: Particle Emitter Type 'HollowEllipsoid' registered
[ INFO] [1511198329.437061161]: Particle Affector Type 'LinearForce' registered
[ INFO] [1511198329.437084190]: Particle Affector Type 'ColourFader' registered
[ INFO] [1511198329.437106237]: Particle Affector Type 'ColourFader2' registered
[ INFO] [1511198329.437128256]: Particle Affector Type 'ColourImage' registered
[ INFO] [1511198329.437151104]: Particle Affector Type 'ColourInterpolator' registered
[ INFO] [1511198329.437173100]: Particle Affector Type 'Scaler' registered
[ INFO] [1511198329.437194823]: Particle Affector Type 'Rotator' registered
[ INFO] [1511198329.437216608]: Particle Affector Type 'DirectionRandomiser' registered
[ INFO] [1511198329.437238314]: Particle Affector Type 'DeflectorPlane' registered
[ INFO] [1511198329.437259426]: Plugin successfully installed
[ INFO] [1511198329.437296165]: CPU Identifier & Features
[ INFO] [1511198329.437317788]: -------------------------
[ INFO] [1511198329.437338666]: * CPU ID: GenuineIntel: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
[ INFO] [1511198329.437455811]: * SSE: yes
[ INFO] [1511198329.437478089]: * SSE2: yes
[ INFO] [1511198329.437498467]: * SSE3: yes
[ INFO] [1511198329.437518618]: * MMX: yes
[ INFO] [1511198329.437538561]: * MMXEXT: yes
[ INFO] [1511198329.437559130]: * 3DNOW: no
[ INFO] [1511198329.437579000]: * 3DNOWEXT: no
[ INFO] [1511198329.437598874]: * CMOV: yes
[ INFO] [1511198329.437618638]: * TSC: yes
[ INFO] [1511198329.437638516]: * FPU: yes
[ INFO] [1511198329.437658413]: * PRO: yes
[ INFO] [1511198329.437678474]: * HT: no
[ INFO] [1511198329.437698620]: -------------------------
[ INFO] [1511198329.437721826]: ******************************
*** Starting GLX Subsystem ***
rviz is working fine but I would like to use it in headless mode.
So I configured vnc4server.
When I launch vnc, I have this error:
Using gdb, I have this message:
Also, rosrun rviz rviz -l returns:
My core file:
core.tar.gz
(glxgears works fine)
The text was updated successfully, but these errors were encountered: