Ogre Version: 14.4.1
Operating System: Debian testing
Render System: GL3Plus
Hello guys,
I am working on the upgrade of the Debian package of Ogre [1][2], introducing a package ogre-14.
I am close to have something functional but while testing the package with my software Sight[3] in a virtual machine (VMWare), my apps refuse to launch because of EGL support :
Code: Select all
[2163][00:00:01.223126][info] [module/viz/scene3d/plugin.cpp:117] RenderSystem::_createRenderWindow "Dummy", 1x1 windowed miscParams: currentGLContext=true hidden=true
[2164][00:00:01.223390][error] [lib/__/service/detail/service.cpp:276] Error while STARTING service 'tuto07_generic_scene-1-generic_scene_srv' : RenderingAPIException: currentGLContext was specified with no current GL context in EGLWindow::create at ./RenderSystems/GLSupport/src/EGL/X11/OgreX11EGLWindow.cpp (line 258)
[2165][00:00:01.223412][error] [lib/__/service/detail/service.cpp:277] service 'tuto07_generic_scene-1-generic_scene_srv' is still STOPPED.
sightrun.bin: ./OgreMain/src/OgreTextureManager.cpp:40: static Ogre::TextureManager& Ogre::TextureManager::getSingleton(): Assertion `msSingleton' failed.
I am a bit lost at this point. In the previous version, we had no choice but to use GLX. I understand that EGL is now the default to get Wayland support. But I tested with MATE, which does not use Wayland, so I guess that's my issue: the build is not compatible with X11. I have the same issue on my laptop running Ubuntu 24.04 Cinnamon with a locally compiled version of Ogre 14.1.
Of course, I understand I can solve this, for my case, by setting OGRE_GLSUPPORT_USE_EGL to OFF. But for a system-wide package on Debian, what should I use? Ideally, I would like something that works whatever the desktop used. Is that even possible?
Thanks for your help.
[1] https://salsa.debian.org/games-team/ogre
[2] https://lists.debian.org/debian-devel-g ... 00013.html
[3] https://git.ircad.fr/sight/sight

