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

GLXConfigDialog uses arbitrary font, if xfonts are missing #2741

Open
Bobini1 opened this issue Jan 15, 2023 · 5 comments
Open

GLXConfigDialog uses arbitrary font, if xfonts are missing #2741

Bobini1 opened this issue Jan 15, 2023 · 5 comments
Labels
💻 Linux Known Issues easy workaround exists or too intrusive to fix right away

Comments

@Bobini1
Copy link

Bobini1 commented Jan 15, 2023

System Information

  • Ogre Version: 13.2.4 (Tsathoggua)
  • Operating System / Platform: Manjaro Linux
  • RenderSystem: ❌

Detailed description

Running a very basic Ogre program which creates an app that inherits from ApplicationContext opens a configuration Window in the Tamil script of Indian. I had to Google heavily to find out what it was.

Clicking the button on the bottom right (partially hidden) does nothing.
Clicking the button to its left crashes the application.

You can find the exact crash reason at the bottom of the log.

It's the exact same issue as in this forum post: link

I assume that the reason it crashes might be because of the strings...

Window with the issue
Submenus are broken too

Ogre.log

Creating resource group General
Creating resource group OgreInternal
Creating resource group OgreAutodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for type 'FileSystem' registered
ArchiveFactory for type 'Zip' registered
ArchiveFactory for type 'EmbeddedZip' registered
DDS codec registering
ETC codec registering
ASTC codec registering
Registering ResourceManager for type GpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
MovableObjectFactory for type 'StaticGeometry' registered.
MovableObjectFactory for type 'Rectangle2D' registered.
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/RenderSystem_GL.so.13.2
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/RenderSystem_GL3Plus.so.13.2
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/RenderSystem_GLES2.so.13.2
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_ParticleFX.so.13.2
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Particle Affector Type 'TextureAnimator' registered
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_BSPSceneManager.so.13.2
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_CgProgramManager.so.13.2
Installing plugin: Cg Program Manager
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Codec_STBI.so.13.2
stb_image - v2.27 - public domain image loader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_PCZSceneManager.so.13.2
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_OctreeZone.so.13.2
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_OctreeSceneManager.so.13.2
Installing plugin: Octree Scene Manager
Plugin successfully installed
Loading library /home/bobini/GameEngineDevelopment2023/OgreSDK/lib/OGRE/Plugin_DotScene.so.13.2
Installing plugin: DotScene Loader
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 13.2.4 (Tsathoggua)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
Error occurred during execution: RuntimeAssertionException: mActiveRenderer failed. no RenderSystem in startRendering at /home/bobini/GameEngineDevelopment2023/ogre-13.2.4/OgreMain/src/OgreRoot.cpp (line 840)
@Bobini1
Copy link
Author

Bobini1 commented Jan 15, 2023

Here is a repository with all files used to build the project: permalink

@Bobini1
Copy link
Author

Bobini1 commented Jan 15, 2023

Update: I managed to run the program. Turns out that I should have selected some rendering subsystem and then pressed the button on the right. I didn't test that sequence before.
It would have been easier if it was in English...

@Bobini1
Copy link
Author

Bobini1 commented Jan 15, 2023

The sample browser has the same issue with the language. So it's most likely system-wide and my code doesn't have much to do with it.

@Bobini1
Copy link
Author

Bobini1 commented Jan 15, 2023

Another update: this post on Unreal forums has the solution to this problem: link

Everything looks fine now.

Still, it would be great if you could add those font packages to the list of required dependencies. Or something.

@paroj
Copy link
Member

paroj commented Jan 15, 2023

thanks for investigating! However, given that the config dialog itself is optional (only compiled if Xaw is installed) and requires X11, I would rather drop Xaw from the list of recommended dependencies

@paroj paroj changed the title initApp opens Rendering Settings in Tamil instead of English and crashes (no RenderSystem) GLXConfigDialog uses arbitrary font, if xfonts are missing Jan 16, 2023
@paroj paroj added the Known Issues easy workaround exists or too intrusive to fix right away label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 Linux Known Issues easy workaround exists or too intrusive to fix right away
Projects
None yet
Development

No branches or pull requests

2 participants