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

Harmonic crashes when i try to open a project #2510

Closed
2 of 18 tasks
sangregoriokimpo opened this issue Aug 5, 2024 · 12 comments
Closed
2 of 18 tasks

Harmonic crashes when i try to open a project #2510

sangregoriokimpo opened this issue Aug 5, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@sangregoriokimpo
Copy link

sangregoriokimpo commented Aug 5, 2024

Environment

  • OS Version:
    Ubuntu 24.04
  • Source or binary build?
    binary build

Gazebo Harmonic (gazebo sim 8)

  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    Ryzen 7840HS
    Radeon 7700s
    • Rendering plugin: [ogre | ogre2].
    • Ogre2
      • Sensor rendering error.
      • GUI rendering error.
    • EGL headless mode:
      • Running in EGL headless mode
    • Generally, mention all circumstances that might affect rendering capabilities:
      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on a multi-GPU machine (it has multiple discrete GPUs)
      • running on real hardware
      • running in virtual machine
      • running in Docker/Singularity
      • running remotely (e.g. via SSH)
      • running in a cloud
      • using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
        • multiple simulators running at the same time
      • other...
    • Rendering system info:
      • On Linux, provide the outputs of the following commands:
        LANG=C lspci -nn | grep VGA  # might require installing pciutils
        echo "$DISPLAY"
        LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
        ps aux | grep Xorg
        sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager

Output:

echo "$DISPLAY"
LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
ps aux | grep Xorg
sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 33 [Radeon RX 7700S/7600/7600S/7600M XT/PRO W7600] [1002:7480] (rev c1)
c4:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c2)
:0
Command 'glxinfo' not found, but can be installed with:
sudo apt install mesa-utils
sgq        49627  0.0  0.0   9144  2304 pts/1    S+   20:37   0:00 grep --color=auto Xorg

[sudo] password for sgq: 

X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
Current Operating System: Linux sgq-Laptop-16-AMD-Ryzen-7040-Series 6.8.0-39-generic #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul  5 21:49:14 UTC 2024 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.8.0-39-generic root=UUID=c5acc704-2948-40ab-ac97-6c3f2fcece0e ro quiet splash vt.handoff=7
xorg-server 2:21.1.12-1ubuntu1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.42.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
sgq@sgq-Laptop-16-AMD-Ryzen-7040-Series:~$ 


  - On Windows, run `dxdiag` and report the GPU-related information.
  - On Mac OS, open a terminal and type `system_profiler SPDisplaysDataType`. Copy the output here.
    <!-- Please note that GUI rendering is not supported on macOS. -->
- [ ] Please, attach the ogre.log or ogre2.log file from  `~/.gz/rendering` <!-- Choose the relevant version based on what you checked in the "Rendering plugin" question. -->
20:36:10: Creating resource group General
20:36:10: Creating resource group Internal
20:36:10: Creating resource group Autodetect
20:36:10: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:36:10: Registering ResourceManager for type Material
20:36:10: Registering ResourceManager for type Mesh
20:36:10: Registering ResourceManager for type Mesh2
20:36:10: Registering ResourceManager for type OldSkeleton
20:36:10: MovableObjectFactory for type 'ParticleSystem' registered.
20:36:10: ArchiveFactory for archive type FileSystem registered.
20:36:10: ArchiveFactory for archive type Zip registered.
20:36:10: ArchiveFactory for archive type EmbeddedZip registered.
20:36:10: DDS codec registering
20:36:10: FreeImage version: 3.18.0
20:36:10: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:36:10: 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,psb,cut,xbm,xpm,gif,hdr,g3,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
20:36:10: ETC codec registering
20:36:10: OITD codec registering
20:36:10: Registering ResourceManager for type HighLevelGpuProgram
20:36:10: MovableObjectFactory for type 'Decal' registered.
20:36:10: MovableObjectFactory for type 'InternalCubemapProbe' registered.
20:36:10: MovableObjectFactory for type 'Entity' registered.
20:36:10: MovableObjectFactory for type 'Item' registered.
20:36:10: MovableObjectFactory for type 'Light' registered.
20:36:10: MovableObjectFactory for type 'Rectangle2Dv2' registered.
20:36:10: MovableObjectFactory for type 'BillboardSet' registered.
20:36:10: MovableObjectFactory for type 'ManualObject2' registered.
20:36:10: MovableObjectFactory for type 'BillboardChain' registered.
20:36:10: MovableObjectFactory for type 'RibbonTrail' registered.
20:36:10: MovableObjectFactory for type 'WireAabb' registered.
20:36:10: *-*-* OGRE Initialising
20:36:10: *-*-* Version 2.3.1 (Daedalus)
20:36:10: OverlayElementFactory for type Panel registered.
20:36:10: OverlayElementFactory for type BorderPanel registered.
20:36:10: OverlayElementFactory for type TextArea registered.
20:36:10: Registering ResourceManager for type Font
20:36:10: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.3/OGRE/RenderSystem_GL3Plus.so
20:36:10: Installing plugin: GL 3+ RenderSystem
20:36:10: OpenGL 3+ Rendering Subsystem created.
20:36:10: Found Num EGL Devices: 3
20:36:10: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card1
20:36:10: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card1...
20:36:12: Created GL 4.5 context for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card1
20:36:12: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card1...
20:36:12: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card2
20:36:12: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card2...
20:36:12: Created GL 4.5 context for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card2
20:36:12: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #1 /dev/dri/card2...
20:36:12: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #2
20:36:12: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #2...
20:36:12: Created GL 4.5 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #2
20:36:12: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #2...
20:36:12: Plugin successfully installed
20:36:12: Loading library /usr/lib/x86_64-linux-gnu/OGRE-2.3/OGRE/Plugin_ParticleFX.so
20:36:12: Installing plugin: ParticleFX
20:36:12: Particle Emitter Type 'Point' registered
20:36:12: Particle Emitter Type 'Box' registered
20:36:12: Particle Emitter Type 'Ellipsoid' registered
20:36:12: Particle Emitter Type 'Cylinder' registered
20:36:12: Particle Emitter Type 'Ring' registered
20:36:12: Particle Emitter Type 'HollowEllipsoid' registered
20:36:12: Particle Affector Type 'LinearForce' registered
20:36:12: Particle Affector Type 'ColourFader' registered
20:36:12: Particle Affector Type 'ColourFader2' registered
20:36:12: Particle Affector Type 'ColourImage' registered
20:36:12: Particle Affector Type 'ColourInterpolator' registered
20:36:12: Particle Affector Type 'Scaler' registered
20:36:12: Particle Affector Type 'Rotator' registered
20:36:12: Particle Affector Type 'DirectionRandomiser' registered
20:36:12: Particle Affector Type 'DeflectorPlane' registered
20:36:12: Plugin successfully installed
20:36:12: CPU Identifier & Features
20:36:12: -------------------------
20:36:12:  *   CPU ID: AuthenticAMD: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
20:36:12:  *   Logical cores: 16
20:36:12:  *      SSE: yes
20:36:12:  *     SSE2: yes
20:36:12:  *     SSE3: yes
20:36:12:  *      MMX: yes
20:36:12:  *   MMXEXT: yes
20:36:12:  *    3DNOW: no
20:36:12:  * 3DNOWEXT: no
20:36:12:  *     CMOV: yes
20:36:12:  *      TSC: yes
20:36:12:  *      FPU: yes
20:36:12:  *      PRO: yes
20:36:12:  *       HT: no
20:36:12: -------------------------
20:36:12: ******************************
*** Starting GLX Subsystem ***
******************************
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_0", 1x1 windowed  miscParams: FSAA=0 border=none contentScalingFactor=1.000000 currentGLContext=true externalGLControl=true gamma=Yes parentWindowHandle=2 stereoMode=Frame Sequential 
20:36:12: 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)
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Compute/Tools' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Compute/Tools/Any' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Compute/Tools/GLSL' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Compute/Tools/HLSL' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Compute/Tools/Metal' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/VCT' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/VCT/ImageVoxelizer' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/VCT/Visualizer' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Hlms/Common/Any' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Hlms/Common/GLSL' of type 'FileSystem' to resource group 'General'
20:36:12: Added resource location '/usr/share/gz/gz-rendering8/ogre2/media/Hlms/Pbs/Any' of type 'FileSystem' to resource group 'General'
20:36:12: Parsing scripts for resource group Autodetect
20:36:12: Finished parsing scripts for resource group Autodetect
20:36:12: Creating resources for group Autodetect
20:36:12: All done
20:36:12: Parsing scripts for resource group General
20:36:12: Parsing script picker.program
20:36:12: Parsing script wide_angle_camera.material

Description

  • Expected behavior:
  • I expected to run gazebo harmonic
  • Actual behavior:
  • Running any gazebo harmonic project crashes the gazebo sim. I'm able to open the menu UI, but it just breaks after I open any project.

Steps to reproduce

  1. Tried to install Jazzy desktop before trying to install gazebo harmonic (followed everything here https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debians.html)
  2. Installed gazebo harmonic via binary installation (https://gazebosim.org/docs/harmonic/install_ubuntu/#binary-installation-on-ubuntu)
  3. opened/tried to create various harmonic projects and it crashes once it loads

Output

when running gz sim empty.sdf

QSocketNotifier: Can only be used with threads started with QThread
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1309] Unable to create the rendering window after [11] attempts.
[GUI] [Err] [Ogre2RenderEngine.cc:1191] Failed to create dummy render window.
[GUI] [Err] [Ogre2RenderEngine.cc:1192] Please see the troubleshooting page for possible fixes: https://gazebosim.org/docs/fortress/troubleshooting
Stack trace (most recent call last):
#31   Object "/lib/x86_64-linux-gnu/libgz-sim8-gui.so.8", at 0x76b1250752f0, in gz::sim::v8::gui::runGui(int&, char**, char const*, char const*, int, char const*, char const*)
#30   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123cdf3e7, in QCoreApplication::exec()
#29   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123cd6a7a, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#28   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123d35278, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#27   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x76b124b13a52, in g_main_context_iteration
#26   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x76b124b73716, in 
#25   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x76b124b145b4, in 
#24   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123d35c0e, in 
#23   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123cdb94a, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#22   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123cd8117, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#21   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x76b12336bd44, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#20   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x76b123d06342, in QObject::event(QEvent*)
#19   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x76b107426524, in gz::gui::plugins::RenderWindowItem::Ready()
#18   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x76b1074261b4, in gz::gui::plugins::RenderThread::Initialize[abi:cxx11]()
#17   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x76b1074349cf, in gz::gui::plugins::RenderThreadRhiOpenGL::Initialize[abi:cxx11]()
#16   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x76b10742a8b8, in gz::gui::plugins::GzRenderer::Initialize[abi:cxx11](gz::gui::plugins::RenderThreadRhi&)
#15   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x76b105bb5ed2, in gz::rendering::v8::RenderEngineManager::Engine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#14   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x76b105bb5c24, in gz::rendering::v8::RenderEngineManagerPrivate::Engine(EngineInfo, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#13   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x76b105bbe78f, in gz::rendering::v8::BaseRenderEngine::Init()
#12   Object "/usr/lib/x86_64-linux-gnu/gz-rendering-8/engine-plugins/libgz-rendering-ogre2.so", at 0x76b0933f9a56, in gz::rendering::v8::Ogre2RenderEngine::InitImpl()
#11   Object "/usr/lib/x86_64-linux-gnu/gz-rendering-8/engine-plugins/libgz-rendering-ogre2.so", at 0x76b0933fc73b, in gz::rendering::v8::Ogre2RenderEngine::InitAttempt()
#10   Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092eff7cf, in Ogre::ResourceGroupManager::initialiseAllResourceGroups(bool)
#9    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f0cf97, in Ogre::ResourceGroupManager::parseResourceGroupScripts(Ogre::ResourceGroupManager::ResourceGroup*)
#8    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f4c861, in Ogre::ScriptCompilerManager::parseScript(Ogre::SharedPtr<Ogre::DataStream>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#7    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f43f69, in Ogre::ScriptCompiler::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#6    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f43c52, in Ogre::ScriptCompiler::compile(Ogre::SharedPtr<std::__cxx11::list<Ogre::SharedPtr<Ogre::ConcreteNode>, Ogre::STLAllocator<Ogre::SharedPtr<Ogre::ConcreteNode>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#5    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f546aa, in Ogre::MaterialTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#4    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f5599f, in Ogre::TechniqueTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#3    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092f5b64b, in Ogre::PassTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#2    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092fcd576, in Ogre::Technique::createPass()
#1    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092ec5aff, in Ogre::Pass::Pass(Ogre::Technique*, unsigned short)
#0    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x76b092df24a6, in Ogre::Hlms::createDatablock(Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ogre::HlmsMacroblock const&, Ogre::HlmsBlendblock const&, std::vector<std::pair<Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Ogre::STLAllocator<std::pair<Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
Segmentation fault (Address not mapped to object [0x220])
sgq@sgq-Laptop-16-AMD-Ryzen-7040-Series:~$ 

@sangregoriokimpo sangregoriokimpo added the bug Something isn't working label Aug 5, 2024
@iche033
Copy link
Contributor

iche033 commented Aug 5, 2024

are you on wayland? If so, you can try these troubleshooting steps:

https://gazebosim.org/docs/harmonic/troubleshooting/#wayland-issues

@azeey azeey moved this from Inbox to In progress in Core development Aug 6, 2024
@sangregoriokimpo
Copy link
Author

sangregoriokimpo commented Aug 9, 2024

Sorry for the late reply,

the work around QT_QPA_PLATFORM=xcb gz sim -v 4 shapes.sdf worked, however when it comes to opening other simulations (e.g the premade ones in the menu), it still is unable to generate the rendering window.

is there any way to get around this? or atleast make sure that it loads with the set settings for wayland?

@iche033
Copy link
Contributor

iche033 commented Aug 9, 2024

for the crash when opening a world from the menu, you maybe running into #2488? If so try updating to the latest gz-sim 8.6.0 release and see if you still get the crash.

@sangregoriokimpo
Copy link
Author

already on gz 8.6, trying to run from the menu yields:

[Msg] Gazebo Sim GUI    v8.6.0
[Msg] Gazebo Sim Quick start dialog
QSocketNotifier: Can only be used with threads started with QThread
[Msg] Received world [https://fuel.gazebosim.org/1.0/OpenRobotics/worlds/Panda joint control world] from the GUI.
[Msg] Gazebo Sim Server v8.6.0
[GUI] [Wrn] [Application.cc:908] [QT] QSocketNotifier: Can only be used with threads started with QThread
[Msg] Loading SDF world file[/home/sgq/.gz/fuel/fuel.gazebosim.org/openrobotics/worlds/panda joint control world/2/panda_world.sdf].
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:413:17: QML ToolButton: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:413:17: QML ToolButton: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:413:17: QML ToolButton: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[GUI] [Wrn] [Application.cc:908] [QT] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:309:21: QML Button: Binding loop detected for property "implicitHeight"
[Msg] Serving entity system service on [/entity/system/add]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-physics-system]. Using [gz-sim-physics-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::Physics]. Using [gz::sim::systems::Physics] instead.
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-user-commands-system]. Using [gz-sim-user-commands-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::UserCommands]. Using [gz::sim::systems::UserCommands] instead.
[Msg] Create service on [/world/panda_world/create]
[Msg] Remove service on [/world/panda_world/remove]
[Msg] Pose service on [/world/panda_world/set_pose]
[Msg] Pose service on [/world/panda_world/set_pose_vector]
[Msg] Light configuration service on [/world/panda_world/light_config]
[Msg] Physics service on [/world/panda_world/set_physics]
[Msg] SphericalCoordinates service on [/world/panda_world/set_spherical_coordinates]
[Msg] Enable collision service on [/world/panda_world/enable_collision]
[Msg] Disable collision service on [/world/panda_world/disable_collision]
[Msg] Material service on [/world/panda_world/visual_config]
[Msg] Material service on [/world/panda_world/wheel_slip]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-scene-broadcaster-system]. Using [gz-sim-scene-broadcaster-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::SceneBroadcaster]. Using [gz::sim::systems::SceneBroadcaster] instead.
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint1/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint2/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint3/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint4/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint5/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint6/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_joint7/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_finger_joint1/0/cmd_pos]
[Wrn] [SystemLoader.cc:75] Trying to load deprecated plugin [ignition-gazebo-joint-position-controller-system]. Using [gz-sim-joint-position-controller-system] instead.
[Wrn] [SystemLoader.cc:136] Trying to load deprecated plugin name [ignition::gazebo::systems::JointPositionController]. Using [gz::sim::systems::JointPositionController] instead.
[Msg] JointPositionController subscribing to Double messages on [/model/panda/joint/panda_finger_joint2/0/cmd_pos]
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Wood
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Wood
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Wrn] [SdfEntityCreator.cc:808] Gazebo does not support Ogre material scripts. See https://gazebosim.org/api/sim/8/migrationsdf.html#:~:text=Materials for details.
[Wrn] [SdfEntityCreator.cc:824] Using an internal gazebo.material to parse Gazebo/Grey
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/panda_world/control], [/world/panda_world/control/state] and [/world/panda_world/playback/control]
[Msg] Serving GUI information on [/world/panda_world/gui/info]
[Msg] World [panda_world] initialized with [1ms] physics profile.
[Msg] Serving world SDF generation service on [/world/panda_world/generate_world_sdf]
[Msg] Serving world names on [/gazebo/worlds]
[Msg] Resource path add service on [/gazebo/resource_paths/add].
[Msg] Resource path get service on [/gazebo/resource_paths/get].
[Msg] Resource path resolve service on [/gazebo/resource_paths/resolve].
[Msg] Resource paths published on [/gazebo/resource_paths].
[Msg] Server control service on [/server_control].
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Err] [SystemPaths.cc:525] Could not resolve file [texture.png]
[GUI] [Wrn] [Gui.cc:465] The [GzScene3D] GUI plugin has been removed since Garden.
SDF code to replace GzScene3D is available at https://github.com/gazebosim/gz-sim/blob/gz-sim7/Migration.md
Loading the following plugins instead:
* GzSceneManager
* InteractiveViewControl
* CameraTracking
* MarkerManager
* SelectEntities
* EntityContextMenuPlugin
* Spawn
* VisualizationCapabilities
[Err] [SystemPaths.cc:525] Could not resolve file [texture.png]
[Err] [SystemPaths.cc:525] Could not resolve file [texture.png]
[GUI] [Msg] Added plugin [3D Scene] to main window
[GUI] [Msg] Loaded plugin [MinimalScene] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so]
[Msg] Serving scene information on [/world/panda_world/scene/info]
[Msg] Serving graph information on [/world/panda_world/scene/graph]
[Msg] Serving full state on [/world/panda_world/state]
[Msg] Serving full state (async) on [/world/panda_world/state_async]
[Msg] Publishing scene information on [/world/panda_world/scene/info]
[Msg] Publishing entity deletions on [/world/panda_world/scene/deletion]
[Msg] Publishing state changes on [/world/panda_world/state]
[Msg] Publishing pose messages on [/world/panda_world/pose/info]
[Msg] Publishing dynamic pose messages on [/world/panda_world/dynamic_pose/info]
[Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute.
[Wrn] [Model.hh:69] [Wrn] [Model.hh:69] [Wrn] [Component.hh:144] Skipping serialization / deserialization for models with //pose/@relative_to attribute.

[Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute.
Trying to serialize component with data type [Trying to serialize component with data type [[Wrn] [Model.hh:69] Skipping serialization / deserialization for models ], which doesn't have 
`operator<<`. Component will not be serialized.
[Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute.
[GUI] [Msg] Using world control service [/world/panda_world/control]
[GUI] [Msg] Listening to stats on [/world/panda_world/stats]
[GUI] [Msg] Added plugin [World control] to main window
[GUI] [Msg] Loaded plugin [WorldControl] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libWorldControl.so]
[GUI] [Msg] Listening to stats on [/world/panda_world/stats]
[GUI] [Msg] Added plugin [World stats] to main window
[GUI] [Msg] Loaded plugin [WorldStats] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libWorldStats.so]
[GUI] [Msg] Added plugin [Joint position controller] to main window
[GUI] [Msg] Loaded plugin [JointPositionController] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libJointPositionController.so]
[GUI] [Msg] Added plugin [Scene Manager] to main window
[GUI] [Msg] Loaded plugin [GzSceneManager] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libGzSceneManager.so]
[GUI] [Msg] Camera view controller topic advertised on [/gui/camera/view_control]
[GUI] [Msg] Camera reference visual topic advertised on [/gui/camera/view_control/reference_visual]
[GUI] [Msg] Camera view control sensitivity advertised on [/gui/camera/view_control/sensitivity]
[GUI] [Msg] Added plugin [Interactive view control] to main window
[GUI] [Msg] Loaded plugin [InteractiveViewControl] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libInteractiveViewControl.so]
[GUI] [Msg] Added plugin [Camera tracking] to main window
[GUI] [Msg] Loaded plugin [CameraTracking] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libCameraTracking.so]
[GUI] [Msg] Listening to stats on [/world/panda_world/stats]
[GUI] [Msg] Added plugin [Marker Manager] to main window
[GUI] [Msg] Loaded plugin [MarkerManager] from path [/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMarkerManager.so]
[GUI] [Msg] Added plugin [Select entities] to main window
[GUI] [Msg] Loaded plugin [SelectEntities] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libSelectEntities.so]
[GUI] [Msg] Currently tracking topic on [/gui/currently_tracked]
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Msg] Added plugin [Entity Context Menu] to main window
[GUI] [Msg] Loaded plugin [EntityContextMenuPlugin] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libEntityContextMenuPlugin.so]
[GUI] [Msg] Added plugin [Spawn] to main window
[GUI] [Msg] Loaded plugin [Spawn] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libSpawn.so]
[GUI] [Msg] View as transparent service on [/gui/view/transparent]
[GUI] [Msg] View as wireframes service on [/gui/view/wireframes]
[GUI] [Msg] View center of mass service on [/gui/view/com]
[GUI] [Msg] View inertia service on [/gui/view/inertia]
[GUI] [Msg] View collisions service on [/gui/view/collisions]
[GUI] [Msg] View joints service on [/gui/view/joints]
[GUI] [Msg] View frames service on [/gui/view/frames]
[GUI] [Msg] Added plugin [Visualization capabilities] to main window
[GUI] [Msg] Loaded plugin [VisualizationCapabilities] from path [/usr/lib/x86_64-linux-gnu/gz-sim-8/plugins/gui/libVisualizationCapabilities.so]
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v145WorldE], which doesn't have `operator>>`. Component will not be deserialized.
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Msg] Controller locked on [panda]
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Model.hh:98] Unable to deserialize sdf::Model
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:67:3: QML EntityContextMenu: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[GUI] [Wrn] [Application.cc:908] [QT] file::/WorldStats/WorldStats.qml:53:3: QML RowLayout: Binding loop detected for property "x"
[GUI] [Msg] Loading plugin [gz-rendering-ogre2]
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1301]  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)
[GUI] [Err] [Ogre2RenderEngine.cc:1309] Unable to create the rendering window after [11] attempts.
[GUI] [Err] [Ogre2RenderEngine.cc:1191] Failed to create dummy render window.
[GUI] [Err] [Ogre2RenderEngine.cc:1192] Please see the troubleshooting page for possible fixes: https://gazebosim.org/docs/fortress/troubleshooting
Stack trace (most recent call last):
#31   Object "/lib/x86_64-linux-gnu/libgz-sim8-gui.so.8", at 0x742e094752f0, in gz::sim::v8::gui::runGui(int&, char**, char const*, char const*, int, char const*, char const*)
#30   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e080df3e7, in QCoreApplication::exec()
#29   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e080d6a7a, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#28   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e08135278, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#27   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x742e08f13a52, in g_main_context_iteration
#26   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x742e08f73716, in 
#25   Object "/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x742e08f145b4, in 
#24   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e08135c0e, in 
#23   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e080db94a, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#22   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e080d8117, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#21   Object "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x742e0776bd44, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#20   Object "/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x742e08106342, in QObject::event(QEvent*)
#19   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x742deac1c524, in gz::gui::plugins::RenderWindowItem::Ready()
#18   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x742deac1c1b4, in gz::gui::plugins::RenderThread::Initialize[abi:cxx11]()
#17   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x742deac2a9cf, in gz::gui::plugins::RenderThreadRhiOpenGL::Initialize[abi:cxx11]()
#16   Object "/usr/lib/x86_64-linux-gnu/gz-gui-8/plugins/libMinimalScene.so", at 0x742deac208b8, in gz::gui::plugins::GzRenderer::Initialize[abi:cxx11](gz::gui::plugins::RenderThreadRhi&)
#15   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x742de99b7ed2, in gz::rendering::v8::RenderEngineManager::Engine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#14   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x742de99b7c24, in gz::rendering::v8::RenderEngineManagerPrivate::Engine(EngineInfo, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#13   Object "/lib/x86_64-linux-gnu/libgz-rendering8.so.8", at 0x742de99c078f, in gz::rendering::v8::BaseRenderEngine::Init()
#12   Object "/usr/lib/x86_64-linux-gnu/gz-rendering-8/engine-plugins/libgz-rendering-ogre2.so", at 0x742d729f9a56, in gz::rendering::v8::Ogre2RenderEngine::InitImpl()
#11   Object "/usr/lib/x86_64-linux-gnu/gz-rendering-8/engine-plugins/libgz-rendering-ogre2.so", at 0x742d729fc73b, in gz::rendering::v8::Ogre2RenderEngine::InitAttempt()
#10   Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d724ff7cf, in Ogre::ResourceGroupManager::initialiseAllResourceGroups(bool)
#9    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d7250cf97, in Ogre::ResourceGroupManager::parseResourceGroupScripts(Ogre::ResourceGroupManager::ResourceGroup*)
#8    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d7254c861, in Ogre::ScriptCompilerManager::parseScript(Ogre::SharedPtr<Ogre::DataStream>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#7    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d72543f69, in Ogre::ScriptCompiler::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#6    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d72543c52, in Ogre::ScriptCompiler::compile(Ogre::SharedPtr<std::__cxx11::list<Ogre::SharedPtr<Ogre::ConcreteNode>, Ogre::STLAllocator<Ogre::SharedPtr<Ogre::ConcreteNode>, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#5    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d725546aa, in Ogre::MaterialTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#4    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d7255599f, in Ogre::TechniqueTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#3    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d7255b64b, in Ogre::PassTranslator::translate(Ogre::ScriptCompiler*, Ogre::SharedPtr<Ogre::AbstractNode> const&)
#2    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d725cd576, in Ogre::Technique::createPass()
#1    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d724c5aff, in Ogre::Pass::Pass(Ogre::Technique*, unsigned short)
#0    Object "/usr/lib/x86_64-linux-gnu/OGRE-2.3/libOgreNextMain.so.2.3.1", at 0x742d723f24a6, in Ogre::Hlms::createDatablock(Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ogre::HlmsMacroblock const&, Ogre::HlmsBlendblock const&, std::vector<std::pair<Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Ogre::STLAllocator<std::pair<Ogre::IdString, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> > > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
Segmentation fault (Address not mapped to object [0x220])
sgq@sgq-Laptop-16-AMD-Ryzen-7040-Series:~$ 

@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Aug 10, 2024
@sangregoriokimpo
Copy link
Author

issue still persists; accidently closed it

@github-project-automation github-project-automation bot moved this from Done to Inbox in Core development Aug 10, 2024
@sangregoriokimpo
Copy link
Author

sorry

@azeey
Copy link
Contributor

azeey commented Aug 12, 2024

Can you try doing export QT_QPA_PLATFORM=xcb on the terminal before running gz sim?

@azeey azeey moved this from Inbox to In progress in Core development Aug 12, 2024
@sangregoriokimpo
Copy link
Author

oh wow, that fixed it. thank you.

@github-project-automation github-project-automation bot moved this from In progress to Done in Core development Aug 15, 2024
@Kaizoku-04
Copy link

Can you try doing export QT_QPA_PLATFORM=xcb on the terminal before running gz sim?

this only works if I write the name of the project directly after gz sim .... If I opened gz sim and tried to enter some of these projects in the home I couldn't

@sangregoriokimpo
Copy link
Author

put export QT_QPA_PLATFORM=xcb into your bashrc file

@furkanunl11
Copy link

export QT_QPA_PLATFORM=xcb, its worked for me, thanks.

@Harivathsha
Copy link

@sangregoriokimpo export QT_QPA_PLATFORM=xcb after i inserted this command in bashrc file the problem mentioned by @Kaizoku-04 is happening if i tried to enter some projects from home a window saying gazebo_gui isnt responding ultimately making me to force quit does anyone have any solution for this??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

6 participants