RenderingAPIException: Fail to make context current

Problems building or running the engine, queries about how to use features etc.
Post Reply
odpad
Gnoblar
Posts: 6
Joined: Mon Aug 09, 2021 2:13 pm

RenderingAPIException: Fail to make context current

Post by odpad »

Ogre Version: 13.0.0
Operating System: Arch Linux 5.10.56-1-lts x86
Render System: OpenGL

I recompiled my program (basically the tutorial one) from 1.12.12 to 13.0.0 and now it creates a blank window for few seconds and aborts with following error:

Code: Select all

terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  RenderingAPIException: Fail to make context current in setCurrent at /build/ogre/src/ogre-13.0.0/RenderSystems/GLSupport/src/EGL/OgreEGLContext.cpp (line 137)
zsh: abort (core dumped)  ./main 10
What is this and what is that /build path? I have Ogre libs from my distro package manager btw maybe it's just broken one.
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: RenderingAPIException: Fail to make context current

Post by paroj »

with 13.0 we default to OGRE_GLSUPPORT_USE_EGL=TRUE.
Please post the full log/ console output as this might help finding out whats wrong.

Alternatively, you can set OGRE_GLSUPPORT_USE_EGL=FALSE to use GLX as previously.
odpad
Gnoblar
Posts: 6
Joined: Mon Aug 09, 2021 2:13 pm

Re: RenderingAPIException: Fail to make context current

Post by odpad »

Console output:

Code: Select all

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.
Loading library /usr/lib/OGRE/RenderSystem_GL.so.13.0
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/RenderSystem_GL3Plus.so.13.0
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/RenderSystem_GLES2.so.13.0
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_ParticleFX.so.13.0
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 /usr/lib/OGRE/Plugin_BSPSceneManager.so.13.0
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /usr/lib/OGRE/Codec_STBI.so.13.0
stb_image - v2.27 - public domain image loader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Loading library /usr/lib/OGRE/Plugin_PCZSceneManager.so.13.0
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_OctreeZone.so.13.0
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so.13.0
Installing plugin: Octree Scene Manager
Plugin successfully installed
Loading library /usr/lib/OGRE/Plugin_DotScene.so.13.0
Installing plugin: DotScene Loader
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 13.0.0 (Tsathoggua)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font




Negro-init



CPU Identifier & Features
-------------------------
 *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
 *          SSE: yes
 *         SSE2: yes
 *         SSE3: yes
 *        SSE41: yes
 *        SSE42: yes
 *          MMX: yes
 *       MMXEXT: yes
 *        3DNOW: no
 *     3DNOWEXT: no
 *         CMOV: yes
 *          TSC: yes
 *INVARIANT TSC: yes
 *          FPU: yes
 *          PRO: yes
 *           HT: no
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VENDOR = Mesa Project
EGL_VERSION = 1.5
EGL_EXTENSIONS = EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display 
Registering ResourceManager for type Texture
RenderSystem::_createRenderWindow "Niggre App", 640x360 windowed  miscParams: FSAA=0 displayFrequency=N/A externalWindowHandle=276824078 gamma=No sdlwin=93906420345648 vsync=Yes vsyncInterval=1 
EGLWindow: colourBufferSize=8/8/8/8 gamma=0 FSAA=0
GL_VERSION = 4.6.0.0
GL_VENDOR = Intel
GL_RENDERER = Mesa Intel(R) UHD Graphics 630 (CFL GT2)
GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_performance_monitor GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_viewport_array GL_EXT_direct_state_access GL_EXT_vertex_attrib_64bit GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_AMD_pinned_memory GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_enhanced_layouts GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_ARB_ES3_1_compatibility GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_fragment_shader_interlock GL_ARB_gpu_shader_int64 GL_ARB_parallel_shader_compile GL_ARB_post_depth_coverage GL_ARB_shader_atomic_counter_ops GL_ARB_shader_ballot GL_ARB_shader_clock GL_ARB_shader_viewport_layer_array GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_EXT_semaphore GL_EXT_semaphore_fd GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_INTEL_shader_atomic_float_minmax GL_INTEL_shader_integer_functions2 GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_EGL_sync GL_EXT_demote_to_helper_invocation 
***************************
*** GL Renderer Started ***
***************************
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_DEPTH16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
[GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_R5G6B5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_DEPTH16 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_RGB 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL Rendering Subsystem
GPU Vendor: intel
Device Name: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Driver Version: 4.6.0.0
 * Fixed function pipeline: yes
 * 32-bit index buffers: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * Vertex programs: yes
   - Number of floating-point constants: 2048
   - Number of integer constants: 0
   - Number of boolean constants: 0
 * Fragment programs: yes
   - Number of floating-point constants: 2048
   - Number of integer constants: 0
   - Number of boolean constants: 0
 * Geometry programs: no
 * Tessellation Hull programs: no
 * Tessellation Domain programs: no
 * Compute programs: no
 * Supported Shader Profiles: arbfp1 arbvp1 glsl glsl100 glsl110 glsl120 ps_1_1 ps_1_2 ps_1_3 ps_1_4
 * Read-back compiled shader: yes
 * Number of vertex attributes: 16
 * Textures
   - Number of texture units: 16
   - Floating point: yes
   - Non-power-of-two: yes
   - 1D textures: yes
   - 2D array textures: yes
   - 3D textures: yes
   - Anisotropic filtering: yes
 * Texture Compression: yes
   - DXT: yes
   - VTC: no
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: no
   - BC4/BC5: no
   - BC6H/BC7: no
   - ASTC: no
   - Automatic mipmap generation: yes
 * Vertex Buffers
   - Render to Vertex Buffer: no
   - Instance Data: yes
   - Primitive Restart: no
 * Vertex texture fetch: yes
   - Max vertex textures: 32
   - Vertex textures shared: yes
 * Read/Write Buffers: no
 * Hardware Occlusion Query: yes
 * User clip planes: yes
 * Depth clamping: no
 * Hardware render-to-texture: yes
   - Multiple Render Targets: 8
   - With different bit depths: yes
 * Point Sprites: yes
   - Extended parameters: yes
   - Max Size: 255
 * Wide Lines: yes
 * Hardware Gamma: yes
 * PBuffer support: yes
 * Vertex Array Objects: no
 * Separate shader objects: no
   - redeclare GLSL interface block: no
 * Debugging/ profiling events: no
 * Map buffer storage: yes
DefaultWorkQueue('Root') initialising on thread 140559110424448.
DefaultWorkQueue('Root')::WorkerFunc - thread 140557938570816 starting.
DefaultWorkQueue('Root')::WorkerFunc - thread 140557930178112 starting.
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  RenderingAPIException: Fail to make context current in setCurrent at /build/ogre/src/ogre-13.0.0/RenderSystems/GLSupport/src/EGL/OgreEGLContext.cpp (line 137)
zsh: abort (core dumped)  ./main 10 2>&1 > chuj.log
paroj wrote: Sat Aug 24, 2137 11:21 am Alternatively, you can set OGRE_GLSUPPORT_USE_EGL=FALSE to use GLX as previously.
Also I can't recompile because of this error: More problems compiling with v13.0.0
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: RenderingAPIException: Fail to make context current

Post by paroj »

cannot reproduce this on "HD Graphics 630"/ Mesa 21.0.3 on Ubuntu.

Can you also add the output of "eglinfo"?
odpad
Gnoblar
Posts: 6
Joined: Mon Aug 09, 2021 2:13 pm

Re: RenderingAPIException: Fail to make context current

Post by odpad »

$ eglinfo

Code: Select all

EGL client extensions string:
    EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration
    EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11
    EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_KHR_platform_wayland
    EGL_EXT_platform_wayland EGL_MESA_platform_xcb EGL_MESA_platform_gbm
    EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless

GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_create_context_robustness
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs
    EGL_KHR_create_context EGL_KHR_create_context_no_error
    EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
    EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
    EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
    EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
    EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0 10 10 10  2  0  0  0 0 0x30335241--         y  y  y     win
0x02 32  0 10 10 10  2 16  0  0 0 0x30335241--         y  y  y     win
0x03 32  0 10 10 10  2 24  0  0 0 0x30335241--         y  y  y     win
0x04 32  0 10 10 10  2 24  8  0 0 0x30335241--         y  y  y     win
0x05 32  0 10 10 10  2  0  0  2 1 0x30335241--         y  y  y     win
0x06 32  0 10 10 10  2  0  0  4 1 0x30335241--         y  y  y     win
0x07 32  0 10 10 10  2  0  0  8 1 0x30335241--         y  y  y     win
0x08 32  0 10 10 10  2  0  0 16 1 0x30335241--         y  y  y     win
0x09 32  0 10 10 10  2 16  0  2 1 0x30335241--         y  y  y     win
0x0a 32  0 10 10 10  2 16  0  4 1 0x30335241--         y  y  y     win
0x0b 32  0 10 10 10  2 16  0  8 1 0x30335241--         y  y  y     win
0x0c 32  0 10 10 10  2 16  0 16 1 0x30335241--         y  y  y     win
0x0d 32  0 10 10 10  2 24  0  2 1 0x30335241--         y  y  y     win
0x0e 32  0 10 10 10  2 24  0  4 1 0x30335241--         y  y  y     win
0x0f 32  0 10 10 10  2 24  0  8 1 0x30335241--         y  y  y     win
0x10 32  0 10 10 10  2 24  0 16 1 0x30335241--         y  y  y     win
0x11 32  0 10 10 10  2 24  8  2 1 0x30335241--         y  y  y     win
0x12 32  0 10 10 10  2 24  8  4 1 0x30335241--         y  y  y     win
0x13 32  0 10 10 10  2 24  8  8 1 0x30335241--         y  y  y     win
0x14 32  0 10 10 10  2 24  8 16 1 0x30335241--         y  y  y     win
0x15 30  0 10 10 10  0  0  0  0 0 0x30335258--         y  y  y     win
0x16 30  0 10 10 10  0 16  0  0 0 0x30335258--         y  y  y     win
0x17 30  0 10 10 10  0 24  0  0 0 0x30335258--         y  y  y     win
0x18 30  0 10 10 10  0 24  8  0 0 0x30335258--         y  y  y     win
0x19 30  0 10 10 10  0  0  0  2 1 0x30335258--         y  y  y     win
0x1a 30  0 10 10 10  0  0  0  4 1 0x30335258--         y  y  y     win
0x1b 30  0 10 10 10  0  0  0  8 1 0x30335258--         y  y  y     win
0x1c 30  0 10 10 10  0  0  0 16 1 0x30335258--         y  y  y     win
0x1d 30  0 10 10 10  0 16  0  2 1 0x30335258--         y  y  y     win
0x1e 30  0 10 10 10  0 16  0  4 1 0x30335258--         y  y  y     win
0x1f 30  0 10 10 10  0 16  0  8 1 0x30335258--         y  y  y     win
0x20 30  0 10 10 10  0 16  0 16 1 0x30335258--         y  y  y     win
0x21 30  0 10 10 10  0 24  0  2 1 0x30335258--         y  y  y     win
0x22 30  0 10 10 10  0 24  0  4 1 0x30335258--         y  y  y     win
0x23 30  0 10 10 10  0 24  0  8 1 0x30335258--         y  y  y     win
0x24 30  0 10 10 10  0 24  0 16 1 0x30335258--         y  y  y     win
0x25 30  0 10 10 10  0 24  8  2 1 0x30335258--         y  y  y     win
0x26 30  0 10 10 10  0 24  8  4 1 0x30335258--         y  y  y     win
0x27 30  0 10 10 10  0 24  8  8 1 0x30335258--         y  y  y     win
0x28 30  0 10 10 10  0 24  8 16 1 0x30335258--         y  y  y     win
0x29 32  0  8  8  8  8  0  0  0 0 0x34325241--         y  y  y     win
0x2a 32  0  8  8  8  8 16  0  0 0 0x34325241--         y  y  y     win
0x2b 32  0  8  8  8  8 24  0  0 0 0x34325241--         y  y  y     win
0x2c 32  0  8  8  8  8 24  8  0 0 0x34325241--         y  y  y     win
0x2d 32  0  8  8  8  8  0  0  2 1 0x34325241--         y  y  y     win
0x2e 32  0  8  8  8  8  0  0  4 1 0x34325241--         y  y  y     win
0x2f 32  0  8  8  8  8  0  0  8 1 0x34325241--         y  y  y     win
0x30 32  0  8  8  8  8  0  0 16 1 0x34325241--         y  y  y     win
0x31 32  0  8  8  8  8 16  0  2 1 0x34325241--         y  y  y     win
0x32 32  0  8  8  8  8 16  0  4 1 0x34325241--         y  y  y     win
0x33 32  0  8  8  8  8 16  0  8 1 0x34325241--         y  y  y     win
0x34 32  0  8  8  8  8 16  0 16 1 0x34325241--         y  y  y     win
0x35 32  0  8  8  8  8 24  0  2 1 0x34325241--         y  y  y     win
0x36 32  0  8  8  8  8 24  0  4 1 0x34325241--         y  y  y     win
0x37 32  0  8  8  8  8 24  0  8 1 0x34325241--         y  y  y     win
0x38 32  0  8  8  8  8 24  0 16 1 0x34325241--         y  y  y     win
0x39 32  0  8  8  8  8 24  8  2 1 0x34325241--         y  y  y     win
0x3a 32  0  8  8  8  8 24  8  4 1 0x34325241--         y  y  y     win
0x3b 32  0  8  8  8  8 24  8  8 1 0x34325241--         y  y  y     win
0x3c 32  0  8  8  8  8 24  8 16 1 0x34325241--         y  y  y     win
0x3d 24  0  8  8  8  0  0  0  0 0 0x34325258--         y  y  y     win
0x3e 24  0  8  8  8  0 16  0  0 0 0x34325258--         y  y  y     win
0x3f 24  0  8  8  8  0 24  0  0 0 0x34325258--         y  y  y     win
0x40 24  0  8  8  8  0 24  8  0 0 0x34325258--         y  y  y     win
0x41 24  0  8  8  8  0  0  0  2 1 0x34325258--         y  y  y     win
0x42 24  0  8  8  8  0  0  0  4 1 0x34325258--         y  y  y     win
0x43 24  0  8  8  8  0  0  0  8 1 0x34325258--         y  y  y     win
0x44 24  0  8  8  8  0  0  0 16 1 0x34325258--         y  y  y     win
0x45 24  0  8  8  8  0 16  0  2 1 0x34325258--         y  y  y     win
0x46 24  0  8  8  8  0 16  0  4 1 0x34325258--         y  y  y     win
0x47 24  0  8  8  8  0 16  0  8 1 0x34325258--         y  y  y     win
0x48 24  0  8  8  8  0 16  0 16 1 0x34325258--         y  y  y     win
0x49 24  0  8  8  8  0 24  0  2 1 0x34325258--         y  y  y     win
0x4a 24  0  8  8  8  0 24  0  4 1 0x34325258--         y  y  y     win
0x4b 24  0  8  8  8  0 24  0  8 1 0x34325258--         y  y  y     win
0x4c 24  0  8  8  8  0 24  0 16 1 0x34325258--         y  y  y     win
0x4d 24  0  8  8  8  0 24  8  2 1 0x34325258--         y  y  y     win
0x4e 24  0  8  8  8  0 24  8  4 1 0x34325258--         y  y  y     win
0x4f 24  0  8  8  8  0 24  8  8 1 0x34325258--         y  y  y     win
0x50 24  0  8  8  8  0 24  8 16 1 0x34325258--         y  y  y     win
0x51 16  0  5  6  5  0  0  0  0 0 0x36314752--         y  y  y     win
0x52 16  0  5  6  5  0 16  0  0 0 0x36314752--         y  y  y     win
0x53 16  0  5  6  5  0 24  0  0 0 0x36314752--         y  y  y     win
0x54 16  0  5  6  5  0 24  8  0 0 0x36314752--         y  y  y     win
0x55 16  0  5  6  5  0  0  0  2 1 0x36314752--         y  y  y     win
0x56 16  0  5  6  5  0  0  0  4 1 0x36314752--         y  y  y     win
0x57 16  0  5  6  5  0  0  0  8 1 0x36314752--         y  y  y     win
0x58 16  0  5  6  5  0  0  0 16 1 0x36314752--         y  y  y     win
0x59 16  0  5  6  5  0 16  0  2 1 0x36314752--         y  y  y     win
0x5a 16  0  5  6  5  0 16  0  4 1 0x36314752--         y  y  y     win
0x5b 16  0  5  6  5  0 16  0  8 1 0x36314752--         y  y  y     win
0x5c 16  0  5  6  5  0 16  0 16 1 0x36314752--         y  y  y     win
0x5d 16  0  5  6  5  0 24  0  2 1 0x36314752--         y  y  y     win
0x5e 16  0  5  6  5  0 24  0  4 1 0x36314752--         y  y  y     win
0x5f 16  0  5  6  5  0 24  0  8 1 0x36314752--         y  y  y     win
0x60 16  0  5  6  5  0 24  0 16 1 0x36314752--         y  y  y     win
0x61 16  0  5  6  5  0 24  8  2 1 0x36314752--         y  y  y     win
0x62 16  0  5  6  5  0 24  8  4 1 0x36314752--         y  y  y     win
0x63 16  0  5  6  5  0 24  8  8 1 0x36314752--         y  y  y     win
0x64 16  0  5  6  5  0 24  8 16 1 0x36314752--         y  y  y     win

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_CHROMIUM_sync_control EGL_EXT_buffer_age
    EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority
    EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
    EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage
    EGL_EXT_pixel_format_float EGL_KHR_wait_sync
    EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x20TC      a  y  y  y     win,pb,pix
0x02 32  0  8  8  8  8 16  0  0 0 0x20TC      a  y  y  y     win,pb,pix
0x03 32  0  8  8  8  8 24  0  0 0 0x20TC      a  y  y  y     win,pb,pix
0x04 32  0  8  8  8  8 24  8  0 0 0x20TC      a  y  y  y     win,pb,pix
0x05 32  0  8  8  8  8  0  0  2 1 0x20TC      a  y  y  y     win,pix
0x06 32  0  8  8  8  8  0  0  4 1 0x20TC      a  y  y  y     win,pix
0x07 32  0  8  8  8  8  0  0  8 1 0x20TC      a  y  y  y     win,pix
0x08 32  0  8  8  8  8  0  0 16 1 0x20TC      a  y  y  y     win,pix
0x09 32  0  8  8  8  8 16  0  2 1 0x20TC      a  y  y  y     win,pix
0x0a 32  0  8  8  8  8 16  0  4 1 0x20TC      a  y  y  y     win,pix
0x0b 32  0  8  8  8  8 16  0  8 1 0x20TC      a  y  y  y     win,pix
0x0c 32  0  8  8  8  8 16  0 16 1 0x20TC      a  y  y  y     win,pix
0x0d 32  0  8  8  8  8 24  0  2 1 0x20TC      a  y  y  y     win,pix
0x0e 32  0  8  8  8  8 24  0  4 1 0x20TC      a  y  y  y     win,pix
0x0f 32  0  8  8  8  8 24  0  8 1 0x20TC      a  y  y  y     win,pix
0x10 32  0  8  8  8  8 24  0 16 1 0x20TC      a  y  y  y     win,pix
0x11 32  0  8  8  8  8 24  8  2 1 0x20TC      a  y  y  y     win,pix
0x12 32  0  8  8  8  8 24  8  4 1 0x20TC      a  y  y  y     win,pix
0x13 32  0  8  8  8  8 24  8  8 1 0x20TC      a  y  y  y     win,pix
0x14 32  0  8  8  8  8 24  8 16 1 0x20TC      a  y  y  y     win,pix
0x15 24  0  8  8  8  0  0  0  0 0 0x20TC      y  y  y  y     win,pb,pix
0x16 24  0  8  8  8  0 16  0  0 0 0x20TC      y  y  y  y     win,pb,pix
0x17 24  0  8  8  8  0 24  0  0 0 0x20TC      y  y  y  y     win,pb,pix
0x18 24  0  8  8  8  0 24  8  0 0 0x20TC      y  y  y  y     win,pb,pix
0x19 24  0  8  8  8  0  0  0  2 1 0x20TC      y  y  y  y     win,pix
0x1a 24  0  8  8  8  0  0  0  4 1 0x20TC      y  y  y  y     win,pix
0x1b 24  0  8  8  8  0  0  0  8 1 0x20TC      y  y  y  y     win,pix
0x1c 24  0  8  8  8  0  0  0 16 1 0x20TC      y  y  y  y     win,pix
0x1d 24  0  8  8  8  0 16  0  2 1 0x20TC      y  y  y  y     win,pix
0x1e 24  0  8  8  8  0 16  0  4 1 0x20TC      y  y  y  y     win,pix
0x1f 24  0  8  8  8  0 16  0  8 1 0x20TC      y  y  y  y     win,pix
0x20 24  0  8  8  8  0 16  0 16 1 0x20TC      y  y  y  y     win,pix
0x21 24  0  8  8  8  0 24  0  2 1 0x20TC      y  y  y  y     win,pix
0x22 24  0  8  8  8  0 24  0  4 1 0x20TC      y  y  y  y     win,pix
0x23 24  0  8  8  8  0 24  0  8 1 0x20TC      y  y  y  y     win,pix
0x24 24  0  8  8  8  0 24  0 16 1 0x20TC      y  y  y  y     win,pix
0x25 24  0  8  8  8  0 24  8  2 1 0x20TC      y  y  y  y     win,pix
0x26 24  0  8  8  8  0 24  8  4 1 0x20TC      y  y  y  y     win,pix
0x27 24  0  8  8  8  0 24  8  8 1 0x20TC      y  y  y  y     win,pix
0x28 24  0  8  8  8  0 24  8 16 1 0x20TC      y  y  y  y     win,pix
0x29 32  0  8  8  8  8  0  0  0 0 0x21DC      a  y  y  y     win,pb,pix
0x2a 32  0  8  8  8  8 16  0  0 0 0x21DC      a  y  y  y     win,pb,pix
0x2b 32  0  8  8  8  8 24  0  0 0 0x21DC      a  y  y  y     win,pb,pix
0x2c 32  0  8  8  8  8 24  8  0 0 0x21DC      a  y  y  y     win,pb,pix
0x2d 32  0  8  8  8  8  0  0  2 1 0x21DC      a  y  y  y     win,pix
0x2e 32  0  8  8  8  8  0  0  4 1 0x21DC      a  y  y  y     win,pix
0x2f 32  0  8  8  8  8  0  0  8 1 0x21DC      a  y  y  y     win,pix
0x30 32  0  8  8  8  8  0  0 16 1 0x21DC      a  y  y  y     win,pix
0x31 32  0  8  8  8  8 16  0  2 1 0x21DC      a  y  y  y     win,pix
0x32 32  0  8  8  8  8 16  0  4 1 0x21DC      a  y  y  y     win,pix
0x33 32  0  8  8  8  8 16  0  8 1 0x21DC      a  y  y  y     win,pix
0x34 32  0  8  8  8  8 16  0 16 1 0x21DC      a  y  y  y     win,pix
0x35 32  0  8  8  8  8 24  0  2 1 0x21DC      a  y  y  y     win,pix
0x36 32  0  8  8  8  8 24  0  4 1 0x21DC      a  y  y  y     win,pix
0x37 32  0  8  8  8  8 24  0  8 1 0x21DC      a  y  y  y     win,pix
0x38 32  0  8  8  8  8 24  0 16 1 0x21DC      a  y  y  y     win,pix
0x39 32  0  8  8  8  8 24  8  2 1 0x21DC      a  y  y  y     win,pix
0x3a 32  0  8  8  8  8 24  8  4 1 0x21DC      a  y  y  y     win,pix
0x3b 32  0  8  8  8  8 24  8  8 1 0x21DC      a  y  y  y     win,pix
0x3c 32  0  8  8  8  8 24  8 16 1 0x21DC      a  y  y  y     win,pix
0x3d 24  0  8  8  8  0  0  0  0 0 0x21DC      y  y  y  y     win,pb,pix
0x3e 24  0  8  8  8  0 16  0  0 0 0x21DC      y  y  y  y     win,pb,pix
0x3f 24  0  8  8  8  0 24  0  0 0 0x21DC      y  y  y  y     win,pb,pix
0x40 24  0  8  8  8  0 24  8  0 0 0x21DC      y  y  y  y     win,pb,pix
0x41 24  0  8  8  8  0  0  0  2 1 0x21DC      y  y  y  y     win,pix
0x42 24  0  8  8  8  0  0  0  4 1 0x21DC      y  y  y  y     win,pix
0x43 24  0  8  8  8  0  0  0  8 1 0x21DC      y  y  y  y     win,pix
0x44 24  0  8  8  8  0  0  0 16 1 0x21DC      y  y  y  y     win,pix
0x45 24  0  8  8  8  0 16  0  2 1 0x21DC      y  y  y  y     win,pix
0x46 24  0  8  8  8  0 16  0  4 1 0x21DC      y  y  y  y     win,pix
0x47 24  0  8  8  8  0 16  0  8 1 0x21DC      y  y  y  y     win,pix
0x48 24  0  8  8  8  0 16  0 16 1 0x21DC      y  y  y  y     win,pix
0x49 24  0  8  8  8  0 24  0  2 1 0x21DC      y  y  y  y     win,pix
0x4a 24  0  8  8  8  0 24  0  4 1 0x21DC      y  y  y  y     win,pix
0x4b 24  0  8  8  8  0 24  0  8 1 0x21DC      y  y  y  y     win,pix
0x4c 24  0  8  8  8  0 24  0 16 1 0x21DC      y  y  y  y     win,pix
0x4d 24  0  8  8  8  0 24  8  2 1 0x21DC      y  y  y  y     win,pix
0x4e 24  0  8  8  8  0 24  8  4 1 0x21DC      y  y  y  y     win,pix
0x4f 24  0  8  8  8  0 24  8  8 1 0x21DC      y  y  y  y     win,pix
0x50 24  0  8  8  8  0 24  8 16 1 0x21DC      y  y  y  y     win,pix

Device platform:
eglinfo: eglInitialize failed
Also running executable with Nvidia (1050 ti) gives following log:

Code: Select all

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.
Loading library /usr/lib/OGRE/RenderSystem_GL.so.13.0
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  RenderingAPIException: Couldn`t initialize EGLDisplay  in EGLSupport::getGLDisplay at /build/ogre/src/ogre-13.0.0/RenderSystems/GLSupport/src/EGL/OgreEGLSupport.cpp (line 105)
/usr/bin/prime-run: line 2: 1116206 Aborted                 (core dumped) __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"
EDIT:
I tested it in a VM and on another computer and still the same error, both of them have Arch Linux. It may be something distro related then.
Post Reply