gazebosim / gz-rendering

C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications.
https://gazebosim.org
Apache License 2.0
52 stars 49 forks source link

Some test fail with d3d12 mesa driver (22.2.5) (WSLg) #852

Closed traversaro closed 2 months ago

traversaro commented 1 year ago

Environment

``` # paste log here ```

Description

After fixing the basic problem in https://github.com/gazebosim/gz-sim/issues/920, on a WSLg installation using the d3d12 driver, some tests of the test suite of gz-rendering are failing, while the test suite works fine if one sets export LIBGL_ALWAYS_SOFTWARE=true.

Steps to reproduce

Run the testsuite on WSLg with d3d12 after applying the following patches:

Output

More info will be provided in the next comments. INTEGRATION_gpu_rays_ogre2_gl3plus, INTEGRATION_heightmap_ogre2_gl3plus and UNIT_Utils_TEST_ogre2_gl3plus failures are of the kind Compute Program 0TerraShadowGenerator failed to compile, but as no shader program was placed in the log directory, I modified directly OgreNext to print the shader program:

traversaro@IITICUBLAP257:~/gz-ws/srctst$ diff /home/traversaro/mambaforge/conda-bld/ogre-next_1684590085138/work/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp ./ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp
43a44
> #include <iostream>
357a359,365
>
>             std::cerr <<
>                         "Error found while compiling with enable_include_header. "
>                         "This is the final output:\n"
>                         ">>> BEGIN SOURCE " + mFilename << std::endl;
>             std::cerr << mSource << std::endl;
>             std::cerr << ">>> END SOURCE " + mFilename << std::endl;

For the INTEGRATION_lidar_visual_ogre2_gl3plus and INTEGRATION_projector_ogre2_gl3plus tests, the failure seems to be related to something else.

traversaro commented 1 year ago

INTEGRATION_gpu_rays_ogre2_gl3plus failure

Test failure log ~~~ 17: Test command: /home/traversaro/gz-ws/build/gz-rendering7/bin/INTEGRATION_gpu_rays "--gtest_output=xml:/home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_gpu_rays_ogre2_gl3plus.xml" 17: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/integration 17: Environment variables: 17: GZ_ENGINE_TO_TEST=ogre2 17: GZ_ENGINE_BACKEND=gl3plus 17: Test timeout computed to be: 240 17: Running main() from /home/traversaro/gz-ws/src/gz-rendering/test/gtest_vendor/src/gtest_main.cc 17: [==========] Running 8 tests from 1 test suite. 17: [----------] Global test environment set-up. 17: [----------] 8 tests from GpuRaysTest 17: [ RUN ] GpuRaysTest.Configure 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [ OK ] GpuRaysTest.Configure (1797 ms) 17: [ RUN ] GpuRaysTest.CreateRemove 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [ OK ] GpuRaysTest.CreateRemove (191 ms) 17: [ RUN ] GpuRaysTest.RaysUnitBox 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [ OK ] GpuRaysTest.RaysUnitBox (475 ms) 17: [ RUN ] GpuRaysTest.LaserVertical 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: /home/traversaro/gz-ws/src/gz-rendering/test/integration/gpu_rays.cc:443: Failure 17: The difference between scan[i * hRayCount * channels + mid] and expectedRange is inf, which exceeds 1e-3, where 17: scan[i * hRayCount * channels + mid] evaluates to inf, 17: expectedRange evaluates to 0.35355339059327373, and 17: 1e-3 evaluates to 0.001. 17: [ FAILED ] GpuRaysTest.LaserVertical (460 ms) 17: [ RUN ] GpuRaysTest.RaysParticles 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized 17: [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized 17: [ OK ] GpuRaysTest.RaysParticles (10924 ms) 17: [ RUN ] GpuRaysTest.SingleRay 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [ OK ] GpuRaysTest.SingleRay (322 ms) 17: [ RUN ] GpuRaysTest.Visibility 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [ OK ] GpuRaysTest.Visibility (348 ms) 17: [ RUN ] GpuRaysTest.Heightmap 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 17: 17: [Wrn] [Ogre2Heightmap.cc:118] Heightmap final sampling should be 2^n 17: which differs from ogre1's 2^n+1 17: The last row and column will be cropped 17: size = (width * sampling) - sampling + 1 17: [513] = ([129] * [4]) - [4] + 1 17: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 17: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 17: [Msg] Loading plugin [gz-rendering-ogre2] 17: [Msg] Loading heightmap: scene::Heightmap(65525) 17: [Msg] Heightmap loaded. Process took 0 ms. 17: Error found while compiling with enable_include_header. This is the final output: 17: >>> BEGIN SOURCE 17: 17: #version 430 17: 17: 17: 17: layout(std140) uniform; 17: 17: layout( rgb10_a2 ) 17: uniform restrict writeonly image2D shadowMap; 17: 17: 17: uniform sampler2D heightMap; 17: 17: layout( local_size_x = 64, 17: local_size_y = 1, 17: local_size_z = 1 ) in; 17: 17: 17: 17: 17: 17: 17: 17: 17: 17: uniform vec2 delta; 17: 17: uniform ivec2 xyStep; 17: uniform int isSteep; 17: 17: 17: uniform float heightDelta; 17: 17: uniform uint resolutionShift; 17: 17: 17: layout(binding = 0) uniform StartsBuffer 17: { 17: ivec4 startXY[4096]; 17: }; 17: 17: struct PerGroupData 17: { 17: int iterations; 17: float deltaErrorStart; 17: float padding0; 17: float padding1; 17: }; 17: 17: layout(binding = 1) uniform PerGroupDataBuffer 17: { 17: PerGroupData perGroupData[4096]; 17: }; 17: 17: vec2 calcShadow( ivec2 xyPos, vec2 prevHeight ) 17: { 17: prevHeight.x -= heightDelta; 17: prevHeight.y = prevHeight.y * 0.985 - heightDelta; 17: 17: float currHeight = float( texelFetch( heightMap, xyPos << int( resolutionShift ), 0 ).x ); 17: 17: 17: 17: float shadowValue = smoothstep( prevHeight.y, prevHeight.x, currHeight + 0.001 ); 17: 17: prevHeight.x = currHeight >= prevHeight.x ? currHeight : prevHeight.x; 17: prevHeight.y = currHeight >= prevHeight.y ? currHeight : prevHeight.y; 17: 17: 17: 17: 17: 17: 17: vec2 roundedHeight = floor( clamp( prevHeight.xy, 0, 1 ) * 1023.0 + 0.5 ) - 1.0; 17: float invHeightLength = 1.0 / (roundedHeight.x - roundedHeight.y + 1); 17: roundedHeight.y *= 0.000977517; 17: 17: imageStore( shadowMap, xyPos, vec4( shadowValue, roundedHeight.y, invHeightLength, 1.0 ) ); 17: 17: return prevHeight; 17: } 17: 17: void main() 17: { 17: vec2 prevHeight = vec2( 0.0, 0.0 ); 17: float error = delta.x * 0.5 + perGroupData[gl_WorkGroupID.x].deltaErrorStart; 17: 17: int x, y; 17: if( gl_GlobalInvocationID.x < 4096u ) 17: { 17: x = startXY[gl_GlobalInvocationID.x].x; 17: y = startXY[gl_GlobalInvocationID.x].y; 17: } 17: else 17: { 17: 17: 17: 17: 17: x = startXY[gl_GlobalInvocationID.x - 4096u].z; 17: y = startXY[gl_GlobalInvocationID.x - 4096u].w; 17: } 17: 17: int numIterations = perGroupData[gl_WorkGroupID.x].iterations; 17: for( int i=0; i>> END SOURCE 17: unknown file: Failure 17: C++ exception with description "OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)" thrown in the test body. 17: [ FAILED ] GpuRaysTest.Heightmap (236 ms) 17: [----------] 8 tests from GpuRaysTest (14757 ms total) 17: 17: [----------] Global test environment tear-down 17: [==========] 8 tests from 1 test suite ran. (14757 ms total) 17: [ PASSED ] 6 tests. 17: [ FAILED ] 2 tests, listed below: 17: [ FAILED ] GpuRaysTest.LaserVertical 17: [ FAILED ] GpuRaysTest.Heightmap 17: 17: 2 FAILED TESTS 1/2 Test #17: INTEGRATION_gpu_rays_ogre2_gl3plus .........***Failed 14.91 sec ~~~
~/.gz/rendering/ogre2.log file ~~~ traversaro@IITICUBLAP257:~/gz-ws/srctst/ogre-next$ cat ~/.gz/rendering/ogre2.log 17:31:41: Creating resource group General 17:31:41: Creating resource group Internal 17:31:41: Creating resource group Autodetect 17:31:41: SceneManagerFactory for type 'DefaultSceneManager' registered. 17:31:41: Registering ResourceManager for type Material 17:31:41: Registering ResourceManager for type Mesh 17:31:41: Registering ResourceManager for type Mesh2 17:31:41: Registering ResourceManager for type OldSkeleton 17:31:41: MovableObjectFactory for type 'ParticleSystem' registered. 17:31:41: ArchiveFactory for archive type FileSystem registered. 17:31:41: ArchiveFactory for archive type Zip registered. 17:31:41: ArchiveFactory for archive type EmbeddedZip registered. 17:31:41: DDS codec registering 17:31:41: FreeImage version: 3.18.0 17:31:41: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 17:31:41: 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,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 17:31:41: OITD codec registering 17:31:41: Registering ResourceManager for type HighLevelGpuProgram 17:31:41: MovableObjectFactory for type 'Decal' registered. 17:31:41: MovableObjectFactory for type 'InternalCubemapProbe' registered. 17:31:41: MovableObjectFactory for type 'Entity' registered. 17:31:41: MovableObjectFactory for type 'Item' registered. 17:31:41: MovableObjectFactory for type 'Light' registered. 17:31:41: MovableObjectFactory for type 'Rectangle2Dv2' registered. 17:31:41: MovableObjectFactory for type 'BillboardSet' registered. 17:31:41: MovableObjectFactory for type 'ManualObject2' registered. 17:31:41: MovableObjectFactory for type 'BillboardChain' registered. 17:31:41: MovableObjectFactory for type 'RibbonTrail' registered. 17:31:41: MovableObjectFactory for type 'WireAabb' registered. 17:31:41: *-*-* OGRE Initialising 17:31:41: *-*-* Version 2.3.1 (Daedalus) 17:31:41: OverlayElementFactory for type Panel registered. 17:31:41: OverlayElementFactory for type BorderPanel registered. 17:31:41: OverlayElementFactory for type TextArea registered. 17:31:41: Registering ResourceManager for type Font 17:31:41: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so 17:31:41: Installing plugin: GL 3+ RenderSystem 17:31:41: OpenGL 3+ Rendering Subsystem created. 17:31:41: Found Num EGL Devices: 2 17:31:41: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 17:31:41: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:31:41: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:31:41: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:31:41: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:31:41: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:31:41: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:31:41: Created GL 4.1 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:31:41: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:31:41: Plugin successfully installed 17:31:41: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:31:41: Installing plugin: ParticleFX 17:31:41: Particle Emitter Type 'Point' registered 17:31:41: Particle Emitter Type 'Box' registered 17:31:41: Particle Emitter Type 'Ellipsoid' registered 17:31:41: Particle Emitter Type 'Cylinder' registered 17:31:41: Particle Emitter Type 'Ring' registered 17:31:41: Particle Emitter Type 'HollowEllipsoid' registered 17:31:41: Particle Affector Type 'LinearForce' registered 17:31:41: Particle Affector Type 'ColourFader' registered 17:31:41: Particle Affector Type 'ColourFader2' registered 17:31:41: Particle Affector Type 'ColourImage' registered 17:31:41: Particle Affector Type 'ColourInterpolator' registered 17:31:41: Particle Affector Type 'Scaler' registered 17:31:41: Particle Affector Type 'Rotator' registered 17:31:41: Particle Affector Type 'DirectionRandomiser' registered 17:31:41: Particle Affector Type 'DeflectorPlane' registered 17:31:41: Plugin successfully installed 17:31:41: CPU Identifier & Features 17:31:41: ------------------------- 17:31:41: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 17:31:41: * Logical cores: 12 17:31:41: * SSE: yes 17:31:41: * SSE2: yes 17:31:41: * SSE3: yes 17:31:41: * MMX: yes 17:31:41: * MMXEXT: yes 17:31:41: * 3DNOW: no 17:31:41: * 3DNOWEXT: no 17:31:41: * CMOV: yes 17:31:41: * TSC: yes 17:31:41: * FPU: yes 17:31:41: * PRO: yes 17:31:41: * HT: no 17:31:41: ------------------------- 17:31:41: ****************************** *** Starting GLX Subsystem *** ****************************** 17:31:41: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_6291457", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=6291457 stereoMode=Frame Sequential 17:31:41: Created GL 4.1 context 17:31:41: GLXWindow::create used FBConfigID = 178 17:31:41: GL Version = 4.1.0.0 17:31:41: GL_VERSION = 4.1 (Core Profile) Mesa 22.2.5 17:31:41: GL_VENDOR = Microsoft Corporation 17:31:41: GL_RENDERER = D3D12 (Intel(R) UHD Graphics) 17:31:41: GL_EXTENSIONS = 17:31:41: GL_AMD_conservative_depth 17:31:41: GL_AMD_draw_buffers_blend 17:31:41: GL_AMD_gpu_shader_int64 17:31:41: GL_AMD_multi_draw_indirect 17:31:41: GL_AMD_shader_stencil_export 17:31:41: GL_AMD_shader_trinary_minmax 17:31:41: GL_AMD_texture_texture4 17:31:41: GL_ANGLE_texture_compression_dxt3 17:31:41: GL_ANGLE_texture_compression_dxt5 17:31:41: GL_ARB_ES2_compatibility 17:31:41: GL_ARB_ES3_compatibility 17:31:41: GL_ARB_arrays_of_arrays 17:31:41: GL_ARB_base_instance 17:31:41: GL_ARB_blend_func_extended 17:31:41: GL_ARB_clear_buffer_object 17:31:41: GL_ARB_clip_control 17:31:41: GL_ARB_compressed_texture_pixel_storage 17:31:41: GL_ARB_conditional_render_inverted 17:31:41: GL_ARB_conservative_depth 17:31:41: GL_ARB_copy_buffer 17:31:41: GL_ARB_debug_output 17:31:41: GL_ARB_depth_buffer_float 17:31:41: GL_ARB_depth_clamp 17:31:41: GL_ARB_direct_state_access 17:31:41: GL_ARB_draw_buffers 17:31:41: GL_ARB_draw_buffers_blend 17:31:41: GL_ARB_draw_elements_base_vertex 17:31:41: GL_ARB_draw_indirect 17:31:41: GL_ARB_draw_instanced 17:31:41: GL_ARB_explicit_attrib_location 17:31:41: GL_ARB_explicit_uniform_location 17:31:41: GL_ARB_fragment_coord_conventions 17:31:41: GL_ARB_fragment_layer_viewport 17:31:41: GL_ARB_fragment_shader 17:31:41: GL_ARB_framebuffer_no_attachments 17:31:41: GL_ARB_framebuffer_object 17:31:41: GL_ARB_framebuffer_sRGB 17:31:41: GL_ARB_get_program_binary 17:31:41: GL_ARB_get_texture_sub_image 17:31:41: GL_ARB_gpu_shader5 17:31:41: GL_ARB_gpu_shader_fp64 17:31:41: GL_ARB_gpu_shader_int64 17:31:41: GL_ARB_half_float_pixel 17:31:41: GL_ARB_half_float_vertex 17:31:41: GL_ARB_indirect_parameters 17:31:41: GL_ARB_instanced_arrays 17:31:41: GL_ARB_internalformat_query 17:31:41: GL_ARB_internalformat_query2 17:31:41: GL_ARB_invalidate_subdata 17:31:41: GL_ARB_map_buffer_alignment 17:31:41: GL_ARB_map_buffer_range 17:31:41: GL_ARB_multi_bind 17:31:41: GL_ARB_multi_draw_indirect 17:31:41: GL_ARB_occlusion_query2 17:31:41: GL_ARB_parallel_shader_compile 17:31:41: GL_ARB_pixel_buffer_object 17:31:41: GL_ARB_point_sprite 17:31:41: GL_ARB_program_interface_query 17:31:41: GL_ARB_provoking_vertex 17:31:41: GL_ARB_robust_buffer_access_behavior 17:31:41: GL_ARB_robustness 17:31:41: GL_ARB_sample_shading 17:31:41: GL_ARB_sampler_objects 17:31:41: GL_ARB_seamless_cube_map 17:31:41: GL_ARB_separate_shader_objects 17:31:41: GL_ARB_shader_atomic_counter_ops 17:31:41: GL_ARB_shader_atomic_counters 17:31:41: GL_ARB_shader_bit_encoding 17:31:41: GL_ARB_shader_draw_parameters 17:31:41: GL_ARB_shader_objects 17:31:41: GL_ARB_shader_precision 17:31:41: GL_ARB_shader_stencil_export 17:31:41: GL_ARB_shader_storage_buffer_object 17:31:41: GL_ARB_shader_subroutine 17:31:41: GL_ARB_shader_texture_lod 17:31:41: GL_ARB_shading_language_420pack 17:31:41: GL_ARB_shading_language_include 17:31:41: GL_ARB_shading_language_packing 17:31:41: GL_ARB_stencil_texturing 17:31:41: GL_ARB_sync 17:31:41: GL_ARB_tessellation_shader 17:31:41: GL_ARB_texture_buffer_object 17:31:41: GL_ARB_texture_buffer_object_rgb32 17:31:41: GL_ARB_texture_buffer_range 17:31:41: GL_ARB_texture_compression_bptc 17:31:41: GL_ARB_texture_compression_rgtc 17:31:41: GL_ARB_texture_cube_map_array 17:31:41: GL_ARB_texture_filter_anisotropic 17:31:41: GL_ARB_texture_float 17:31:41: GL_ARB_texture_gather 17:31:41: GL_ARB_texture_multisample 17:31:41: GL_ARB_texture_non_power_of_two 17:31:41: GL_ARB_texture_query_levels 17:31:41: GL_ARB_texture_query_lod 17:31:41: GL_ARB_texture_rectangle 17:31:41: GL_ARB_texture_rg 17:31:41: GL_ARB_texture_rgb10_a2ui 17:31:41: GL_ARB_texture_stencil8 17:31:41: GL_ARB_texture_storage 17:31:41: GL_ARB_texture_storage_multisample 17:31:41: GL_ARB_texture_swizzle 17:31:41: GL_ARB_timer_query 17:31:41: GL_ARB_transform_feedback2 17:31:41: GL_ARB_transform_feedback3 17:31:41: GL_ARB_transform_feedback_instanced 17:31:41: GL_ARB_uniform_buffer_object 17:31:41: GL_ARB_vertex_array_bgra 17:31:41: GL_ARB_vertex_array_object 17:31:41: GL_ARB_vertex_attrib_64bit 17:31:41: GL_ARB_vertex_attrib_binding 17:31:41: GL_ARB_vertex_buffer_object 17:31:41: GL_ARB_vertex_shader 17:31:41: GL_ARB_vertex_type_10f_11f_11f_rev 17:31:41: GL_ARB_vertex_type_2_10_10_10_rev 17:31:41: GL_ARB_viewport_array 17:31:41: GL_ATI_blend_equation_separate 17:31:41: GL_ATI_texture_float 17:31:41: GL_EXT_EGL_image_storage 17:31:41: GL_EXT_EGL_sync 17:31:41: GL_EXT_abgr 17:31:41: GL_EXT_blend_equation_separate 17:31:41: GL_EXT_draw_buffers2 17:31:41: GL_EXT_draw_instanced 17:31:41: GL_EXT_framebuffer_blit 17:31:41: GL_EXT_framebuffer_multisample 17:31:41: GL_EXT_framebuffer_multisample_blit_scaled 17:31:41: GL_EXT_framebuffer_object 17:31:41: GL_EXT_framebuffer_sRGB 17:31:41: GL_EXT_memory_object 17:31:41: GL_EXT_memory_object_fd 17:31:41: GL_EXT_packed_depth_stencil 17:31:41: GL_EXT_packed_float 17:31:41: GL_EXT_pixel_buffer_object 17:31:41: GL_EXT_provoking_vertex 17:31:41: GL_EXT_semaphore 17:31:41: GL_EXT_semaphore_fd 17:31:41: GL_EXT_shader_integer_mix 17:31:41: GL_EXT_texture_array 17:31:41: GL_EXT_texture_compression_dxt1 17:31:41: GL_EXT_texture_compression_rgtc 17:31:41: GL_EXT_texture_compression_s3tc 17:31:41: GL_EXT_texture_filter_anisotropic 17:31:41: GL_EXT_texture_integer 17:31:41: GL_EXT_texture_sRGB 17:31:41: GL_EXT_texture_sRGB_decode 17:31:41: GL_EXT_texture_shared_exponent 17:31:41: GL_EXT_texture_snorm 17:31:41: GL_EXT_texture_swizzle 17:31:41: GL_EXT_timer_query 17:31:41: GL_EXT_transform_feedback 17:31:41: GL_EXT_vertex_array_bgra 17:31:41: GL_EXT_vertex_attrib_64bit 17:31:41: GL_IBM_multimode_draw_arrays 17:31:41: GL_KHR_context_flush_control 17:31:41: GL_KHR_debug 17:31:41: GL_KHR_no_error 17:31:41: GL_KHR_parallel_shader_compile 17:31:41: GL_KHR_robust_buffer_access_behavior 17:31:41: GL_KHR_robustness 17:31:41: GL_KHR_texture_compression_astc_ldr 17:31:41: GL_KHR_texture_compression_astc_sliced_3d 17:31:41: GL_MESA_pack_invert 17:31:41: GL_MESA_shader_integer_functions 17:31:41: GL_MESA_texture_signed_rgba 17:31:41: GL_NV_conditional_render 17:31:41: GL_NV_copy_image 17:31:41: GL_NV_depth_clamp 17:31:41: GL_NV_packed_depth_stencil 17:31:41: GL_NV_vdpau_interop 17:31:41: GL_OES_EGL_image 17:31:41: GL_S3_s3tc 17:31:41: ************************************** 17:31:41: *** OpenGL 3+ Renderer Started *** 17:31:41: ************************************** 17:31:41: Registering ResourceManager for type GpuProgram 17:31:41: RenderSystem capabilities 17:31:41: ------------------------- 17:31:41: RenderSystem Name: OpenGL 3+ Rendering Subsystem 17:31:41: GPU Vendor: microsoft 17:31:41: Device Name: D3D12 (Intel(R) UHD Graphics) 17:31:41: Driver Version: 4.1.0.0 17:31:41: * Fixed function pipeline: no 17:31:41: * Hardware generation of mipmaps: yes 17:31:41: * Texture blending: yes 17:31:41: * Anisotropic texture filtering: yes 17:31:41: * Dot product texture operation: yes 17:31:41: * Cube mapping: yes 17:31:41: * Hardware stencil buffer: yes 17:31:41: - Stencil depth: 8 17:31:41: - Two sided stencil support: yes 17:31:41: - Wrap stencil values: yes 17:31:41: * Hardware vertex / index buffers: yes 17:31:41: * 32-bit index buffers: yes 17:31:41: * Vertex programs: yes 17:31:41: * Number of floating-point constants for vertex programs: 16352 17:31:41: * Number of integer constants for vertex programs: 16352 17:31:41: * Number of boolean constants for vertex programs: 16352 17:31:41: * Fragment programs: yes 17:31:41: * Number of floating-point constants for fragment programs: 16380 17:31:41: * Number of integer constants for fragment programs: 16380 17:31:41: * Number of boolean constants for fragment programs: 16380 17:31:41: * Geometry programs: yes 17:31:41: * Number of floating-point constants for geometry programs: 16352 17:31:41: * Number of integer constants for geometry programs: 16352 17:31:41: * Number of boolean constants for geometry programs: 16352 17:31:41: * Tessellation Hull programs: yes 17:31:41: * Number of floating-point constants for tessellation hull programs: 16384 17:31:41: * Number of integer constants for tessellation hull programs: 16384 17:31:41: * Number of boolean constants for tessellation hull programs: 16384 17:31:41: * Tessellation Domain programs: yes 17:31:41: * Number of floating-point constants for tessellation domain programs: 16352 17:31:41: * Number of integer constants for tessellation domain programs: 16352 17:31:41: * Number of boolean constants for tessellation domain programs: 16352 17:31:41: * Compute programs: no 17:31:41: * Number of floating-point constants for compute programs: 21921 17:31:41: * Number of integer constants for compute programs: 0 17:31:41: * Number of boolean constants for compute programs: 5488 17:31:41: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 17:31:41: * Texture Compression: yes 17:31:41: - DXT: yes 17:31:41: - VTC: no 17:31:41: - PVRTC: no 17:31:41: - ATC: no 17:31:41: - ETC1: no 17:31:41: - ETC2: yes 17:31:41: - BC4/BC5: yes 17:31:41: - BC6H/BC7: yes 17:31:41: - ASTC: yes 17:31:41: * Hardware Occlusion Query: yes 17:31:41: * User clip planes: yes 17:31:41: * VET_UBYTE4 vertex element type: yes 17:31:41: * Infinite far plane projection: yes 17:31:41: * Hardware render-to-texture: yes 17:31:41: * Floating point textures: yes 17:31:41: * Non-power-of-two textures: yes 17:31:41: * 1d textures: yes 17:31:41: * Volume textures: yes 17:31:41: * Max Texture resolution (2D) 16384 17:31:41: * Max Texture resolution (3D) 1024 17:31:41: * Max Texture resolution (Cubemaps) 16384 17:31:41: * Multiple Render Targets: 8 17:31:41: - With different bit depths: yes 17:31:41: * Point Sprites: yes 17:31:41: * Extended point parameters: yes 17:31:41: * Max Point Size: 255 17:31:41: * Vertex texture fetch: yes 17:31:41: * Number of world matrices: 0 17:31:41: * Number of texture units: 16 17:31:41: * Stencil buffer depth: 8 17:31:41: * Number of vertex blend matrices: 0 17:31:41: - Max vertex textures: 32 17:31:41: - Vertex textures shared: yes 17:31:41: * Render to Vertex Buffer : yes 17:31:41: * Hardware Atomic Counters: yes 17:31:41: * GL 1.5 without VBO workaround: no 17:31:41: * Frame Buffer objects: yes 17:31:41: * Frame Buffer objects (ARB extension): no 17:31:41: * Frame Buffer objects (ATI extension): no 17:31:41: * PBuffer support: no 17:31:41: * GL 1.5 without HW-occlusion workaround: no 17:31:41: * Vertex Array Objects: yes 17:31:41: * Separate shader objects: no 17:31:41: * Using Reverse Z: yes 17:31:41: DefaultWorkQueue('Root') initialising on thread main. 17:31:41: Particle Renderer Type 'billboard' registered 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 17:31:41: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:31:41: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 17:31:41: Parsing scripts for resource group Autodetect 17:31:41: Finished parsing scripts for resource group Autodetect 17:31:41: Creating resources for group Autodetect 17:31:41: All done 17:31:41: Parsing scripts for resource group General 17:31:41: Parsing script Quad.program 17:31:41: Parsing script picker.program 17:31:41: Parsing script DepthUtils.material 17:31:41: Parsing script Copyback.material 17:31:41: Parsing script EsmGaussianBlurLogFilter.material 17:31:41: Parsing script DPSM.material 17:31:41: Parsing script GpuNormalMapper.material 17:31:41: Parsing script gaussian_noise.material 17:31:41: Parsing script selection_buffer.material 17:31:41: Parsing script skybox.material 17:31:41: Parsing script thermal.material 17:31:41: Parsing script picker.material 17:31:41: Parsing script depth_camera.material 17:31:41: Parsing script gpu_rays.material 17:31:41: Parsing script point_cloud_point.material 17:31:41: Parsing script TerraShadowGenerator.compositor 17:31:41: Parsing script GpuNormalMapper.compositor 17:31:41: Parsing script GpuRays.compositor 17:31:41: Parsing script EsmGaussianBlurLogFilter.material.json 17:31:41: Parsing script Mipmaps.material.json 17:31:41: Parsing script TerraShadowGenerator.material.json 17:31:41: Finished parsing scripts for resource group General 17:31:41: Creating resources for group General 17:31:41: All done 17:31:41: Parsing scripts for resource group Internal 17:31:41: Finished parsing scripts for resource group Internal 17:31:41: Creating resources for group Internal 17:31:41: All done 17:31:41: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:31:41: Added resource location '/home/traversaro/gz-ws/src/gz-rendering/test/media/materials/textures' of type 'FileSystem' to resource group 'General' with recursive option 17:31:41: Initialising resource group General 17:31:41: OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369) 17:31:41: Unregistering ResourceManager for type Font 17:31:41: DefaultWorkQueue('Root') shutting down on thread main. 17:31:41: *-*-* OGRE Shutdown 17:31:41: Unregistering ResourceManager for type OldSkeleton 17:31:41: Unregistering ResourceManager for type Mesh2 17:31:41: Unregistering ResourceManager for type Mesh 17:31:41: Unregistering ResourceManager for type Material 17:31:41: Unregistering ResourceManager for type HighLevelGpuProgram 17:31:41: Uninstalling plugin: ParticleFX 17:31:41: Plugin successfully uninstalled 17:31:41: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:31:41: Uninstalling plugin: GL 3+ RenderSystem 17:31:41: Unregistering ResourceManager for type GpuProgram 17:31:41: ****************************** *** Stopping GLX Subsystem *** ****************************** 17:31:41: Plugin successfully uninstalled 17:31:41: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so ~~~
traversaro commented 1 year ago

INTEGRATION_heightmap_ogre2_gl3plus

Test failure log ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ ctest -VV -R INTEGRATION_heightmap_ogre2_gl3plus UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Test project /home/traversaro/gz-ws/build/gz-rendering7 Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 19 Start 19: INTEGRATION_heightmap_ogre2_gl3plus 19: Test command: /home/traversaro/gz-ws/build/gz-rendering7/bin/INTEGRATION_heightmap "--gtest_output=xml:/home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_heightmap_ogre2_gl3plus.xml" 19: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/integration 19: Environment variables: 19: GZ_ENGINE_TO_TEST=ogre2 19: GZ_ENGINE_BACKEND=gl3plus 19: Test timeout computed to be: 240 19: Running main() from /home/traversaro/gz-ws/src/gz-rendering/test/gtest_vendor/src/gtest_main.cc 19: [==========] Running 2 tests from 1 test suite. 19: [----------] Global test environment set-up. 19: [----------] 2 tests from HeightmapTest 19: [ RUN ] HeightmapTest.Heightmap 19: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 19: 19: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 19: 19: [Wrn] [Ogre2Heightmap.cc:118] Heightmap final sampling should be 2^n 19: which differs from ogre1's 2^n+1 19: The last row and column will be cropped 19: size = (width * sampling) - sampling + 1 19: [257] = ([129] * [2]) - [2] + 1 19: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 19: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 19: [Msg] Loading plugin [gz-rendering-ogre2] 19: [Msg] Loading heightmap: example_bowl 19: [Msg] Heightmap loaded. Process took 0 ms. 19: Error found while compiling with enable_include_header. This is the final output: 19: >>> BEGIN SOURCE 19: 19: #version 430 19: 19: 19: 19: layout(std140) uniform; 19: 19: layout( rgb10_a2 ) 19: uniform restrict writeonly image2D shadowMap; 19: 19: 19: uniform sampler2D heightMap; 19: 19: layout( local_size_x = 64, 19: local_size_y = 1, 19: local_size_z = 1 ) in; 19: 19: 19: 19: 19: 19: 19: 19: 19: 19: uniform vec2 delta; 19: 19: uniform ivec2 xyStep; 19: uniform int isSteep; 19: 19: 19: uniform float heightDelta; 19: 19: uniform uint resolutionShift; 19: 19: 19: layout(binding = 0) uniform StartsBuffer 19: { 19: ivec4 startXY[4096]; 19: }; 19: 19: struct PerGroupData 19: { 19: int iterations; 19: float deltaErrorStart; 19: float padding0; 19: float padding1; 19: }; 19: 19: layout(binding = 1) uniform PerGroupDataBuffer 19: { 19: PerGroupData perGroupData[4096]; 19: }; 19: 19: vec2 calcShadow( ivec2 xyPos, vec2 prevHeight ) 19: { 19: prevHeight.x -= heightDelta; 19: prevHeight.y = prevHeight.y * 0.985 - heightDelta; 19: 19: float currHeight = float( texelFetch( heightMap, xyPos << int( resolutionShift ), 0 ).x ); 19: 19: 19: 19: float shadowValue = smoothstep( prevHeight.y, prevHeight.x, currHeight + 0.001 ); 19: 19: prevHeight.x = currHeight >= prevHeight.x ? currHeight : prevHeight.x; 19: prevHeight.y = currHeight >= prevHeight.y ? currHeight : prevHeight.y; 19: 19: 19: 19: 19: 19: 19: vec2 roundedHeight = floor( clamp( prevHeight.xy, 0, 1 ) * 1023.0 + 0.5 ) - 1.0; 19: float invHeightLength = 1.0 / (roundedHeight.x - roundedHeight.y + 1); 19: roundedHeight.y *= 0.000977517; 19: 19: imageStore( shadowMap, xyPos, vec4( shadowValue, roundedHeight.y, invHeightLength, 1.0 ) ); 19: 19: return prevHeight; 19: } 19: 19: void main() 19: { 19: vec2 prevHeight = vec2( 0.0, 0.0 ); 19: float error = delta.x * 0.5 + perGroupData[gl_WorkGroupID.x].deltaErrorStart; 19: 19: int x, y; 19: if( gl_GlobalInvocationID.x < 4096u ) 19: { 19: x = startXY[gl_GlobalInvocationID.x].x; 19: y = startXY[gl_GlobalInvocationID.x].y; 19: } 19: else 19: { 19: 19: 19: 19: 19: x = startXY[gl_GlobalInvocationID.x - 4096u].z; 19: y = startXY[gl_GlobalInvocationID.x - 4096u].w; 19: } 19: 19: int numIterations = perGroupData[gl_WorkGroupID.x].iterations; 19: for( int i=0; i>> END SOURCE 19: unknown file: Failure 19: C++ exception with description "OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)" thrown in the test body. 19: [ FAILED ] HeightmapTest.Heightmap (1702 ms) 19: [ RUN ] HeightmapTest.HeightmapGpuRays 19: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 19: 19: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 19: 19: [Wrn] [Ogre2Heightmap.cc:118] Heightmap final sampling should be 2^n 19: which differs from ogre1's 2^n+1 19: The last row and column will be cropped 19: size = (width * sampling) - sampling + 1 19: [513] = ([129] * [4]) - [4] + 1 19: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 19: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 19: [Msg] Loading plugin [gz-rendering-ogre2] 19: [Msg] Loading heightmap: scene::Heightmap(65525) 19: [Msg] Heightmap loaded. Process took 0 ms. 19: Error found while compiling with enable_include_header. This is the final output: 19: >>> BEGIN SOURCE 19: 19: #version 430 19: 19: 19: 19: layout(std140) uniform; 19: 19: layout( rgb10_a2 ) 19: uniform restrict writeonly image2D shadowMap; 19: 19: 19: uniform sampler2D heightMap; 19: 19: layout( local_size_x = 64, 19: local_size_y = 1, 19: local_size_z = 1 ) in; 19: 19: 19: 19: 19: 19: 19: 19: 19: 19: uniform vec2 delta; 19: 19: uniform ivec2 xyStep; 19: uniform int isSteep; 19: 19: 19: uniform float heightDelta; 19: 19: uniform uint resolutionShift; 19: 19: 19: layout(binding = 0) uniform StartsBuffer 19: { 19: ivec4 startXY[4096]; 19: }; 19: 19: struct PerGroupData 19: { 19: int iterations; 19: float deltaErrorStart; 19: float padding0; 19: float padding1; 19: }; 19: 19: layout(binding = 1) uniform PerGroupDataBuffer 19: { 19: PerGroupData perGroupData[4096]; 19: }; 19: 19: vec2 calcShadow( ivec2 xyPos, vec2 prevHeight ) 19: { 19: prevHeight.x -= heightDelta; 19: prevHeight.y = prevHeight.y * 0.985 - heightDelta; 19: 19: float currHeight = float( texelFetch( heightMap, xyPos << int( resolutionShift ), 0 ).x ); 19: 19: 19: 19: float shadowValue = smoothstep( prevHeight.y, prevHeight.x, currHeight + 0.001 ); 19: 19: prevHeight.x = currHeight >= prevHeight.x ? currHeight : prevHeight.x; 19: prevHeight.y = currHeight >= prevHeight.y ? currHeight : prevHeight.y; 19: 19: 19: 19: 19: 19: 19: vec2 roundedHeight = floor( clamp( prevHeight.xy, 0, 1 ) * 1023.0 + 0.5 ) - 1.0; 19: float invHeightLength = 1.0 / (roundedHeight.x - roundedHeight.y + 1); 19: roundedHeight.y *= 0.000977517; 19: 19: imageStore( shadowMap, xyPos, vec4( shadowValue, roundedHeight.y, invHeightLength, 1.0 ) ); 19: 19: return prevHeight; 19: } 19: 19: void main() 19: { 19: vec2 prevHeight = vec2( 0.0, 0.0 ); 19: float error = delta.x * 0.5 + perGroupData[gl_WorkGroupID.x].deltaErrorStart; 19: 19: int x, y; 19: if( gl_GlobalInvocationID.x < 4096u ) 19: { 19: x = startXY[gl_GlobalInvocationID.x].x; 19: y = startXY[gl_GlobalInvocationID.x].y; 19: } 19: else 19: { 19: 19: 19: 19: 19: x = startXY[gl_GlobalInvocationID.x - 4096u].z; 19: y = startXY[gl_GlobalInvocationID.x - 4096u].w; 19: } 19: 19: int numIterations = perGroupData[gl_WorkGroupID.x].iterations; 19: for( int i=0; i>> END SOURCE 19: unknown file: Failure 19: C++ exception with description "OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)" thrown in the test body. 19: [ FAILED ] HeightmapTest.HeightmapGpuRays (234 ms) 19: [----------] 2 tests from HeightmapTest (1936 ms total) 19: 19: [----------] Global test environment tear-down 19: [==========] 2 tests from 1 test suite ran. (1937 ms total) 19: [ PASSED ] 0 tests. 19: [ FAILED ] 2 tests, listed below: 19: [ FAILED ] HeightmapTest.Heightmap 19: [ FAILED ] HeightmapTest.HeightmapGpuRays 19: 19: 2 FAILED TESTS 1/2 Test #19: INTEGRATION_heightmap_ogre2_gl3plus .........***Failed 2.02 sec ~~~
~/.gz/rendering/ogre2.log file ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ cat ~/.gz/rendering/ogre2.log 17:42:33: Creating resource group General 17:42:33: Creating resource group Internal 17:42:33: Creating resource group Autodetect 17:42:33: SceneManagerFactory for type 'DefaultSceneManager' registered. 17:42:33: Registering ResourceManager for type Material 17:42:33: Registering ResourceManager for type Mesh 17:42:33: Registering ResourceManager for type Mesh2 17:42:33: Registering ResourceManager for type OldSkeleton 17:42:33: MovableObjectFactory for type 'ParticleSystem' registered. 17:42:33: ArchiveFactory for archive type FileSystem registered. 17:42:33: ArchiveFactory for archive type Zip registered. 17:42:33: ArchiveFactory for archive type EmbeddedZip registered. 17:42:33: DDS codec registering 17:42:33: FreeImage version: 3.18.0 17:42:33: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 17:42:33: 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,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 17:42:33: OITD codec registering 17:42:33: Registering ResourceManager for type HighLevelGpuProgram 17:42:33: MovableObjectFactory for type 'Decal' registered. 17:42:33: MovableObjectFactory for type 'InternalCubemapProbe' registered. 17:42:33: MovableObjectFactory for type 'Entity' registered. 17:42:33: MovableObjectFactory for type 'Item' registered. 17:42:33: MovableObjectFactory for type 'Light' registered. 17:42:33: MovableObjectFactory for type 'Rectangle2Dv2' registered. 17:42:33: MovableObjectFactory for type 'BillboardSet' registered. 17:42:33: MovableObjectFactory for type 'ManualObject2' registered. 17:42:33: MovableObjectFactory for type 'BillboardChain' registered. 17:42:33: MovableObjectFactory for type 'RibbonTrail' registered. 17:42:33: MovableObjectFactory for type 'WireAabb' registered. 17:42:33: *-*-* OGRE Initialising 17:42:33: *-*-* Version 2.3.1 (Daedalus) 17:42:33: OverlayElementFactory for type Panel registered. 17:42:33: OverlayElementFactory for type BorderPanel registered. 17:42:33: OverlayElementFactory for type TextArea registered. 17:42:33: Registering ResourceManager for type Font 17:42:33: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so 17:42:33: Installing plugin: GL 3+ RenderSystem 17:42:33: OpenGL 3+ Rendering Subsystem created. 17:42:33: Found Num EGL Devices: 2 17:42:33: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 17:42:33: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:42:33: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:42:33: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:42:33: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:42:33: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:42:33: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:42:33: Created GL 4.1 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:42:33: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:42:33: Plugin successfully installed 17:42:33: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:42:33: Installing plugin: ParticleFX 17:42:33: Particle Emitter Type 'Point' registered 17:42:33: Particle Emitter Type 'Box' registered 17:42:33: Particle Emitter Type 'Ellipsoid' registered 17:42:33: Particle Emitter Type 'Cylinder' registered 17:42:33: Particle Emitter Type 'Ring' registered 17:42:33: Particle Emitter Type 'HollowEllipsoid' registered 17:42:33: Particle Affector Type 'LinearForce' registered 17:42:33: Particle Affector Type 'ColourFader' registered 17:42:33: Particle Affector Type 'ColourFader2' registered 17:42:33: Particle Affector Type 'ColourImage' registered 17:42:33: Particle Affector Type 'ColourInterpolator' registered 17:42:33: Particle Affector Type 'Scaler' registered 17:42:33: Particle Affector Type 'Rotator' registered 17:42:33: Particle Affector Type 'DirectionRandomiser' registered 17:42:33: Particle Affector Type 'DeflectorPlane' registered 17:42:33: Plugin successfully installed 17:42:33: CPU Identifier & Features 17:42:33: ------------------------- 17:42:33: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 17:42:33: * Logical cores: 12 17:42:33: * SSE: yes 17:42:33: * SSE2: yes 17:42:33: * SSE3: yes 17:42:33: * MMX: yes 17:42:33: * MMXEXT: yes 17:42:33: * 3DNOW: no 17:42:33: * 3DNOWEXT: no 17:42:33: * CMOV: yes 17:42:33: * TSC: yes 17:42:33: * FPU: yes 17:42:33: * PRO: yes 17:42:33: * HT: no 17:42:33: ------------------------- 17:42:33: ****************************** *** Starting GLX Subsystem *** ****************************** 17:42:33: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_6291457", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=6291457 stereoMode=Frame Sequential 17:42:33: Created GL 4.1 context 17:42:33: GLXWindow::create used FBConfigID = 178 17:42:33: GL Version = 4.1.0.0 17:42:33: GL_VERSION = 4.1 (Core Profile) Mesa 22.2.5 17:42:33: GL_VENDOR = Microsoft Corporation 17:42:33: GL_RENDERER = D3D12 (Intel(R) UHD Graphics) 17:42:33: GL_EXTENSIONS = 17:42:33: GL_AMD_conservative_depth 17:42:33: GL_AMD_draw_buffers_blend 17:42:33: GL_AMD_gpu_shader_int64 17:42:33: GL_AMD_multi_draw_indirect 17:42:33: GL_AMD_shader_stencil_export 17:42:33: GL_AMD_shader_trinary_minmax 17:42:33: GL_AMD_texture_texture4 17:42:33: GL_ANGLE_texture_compression_dxt3 17:42:33: GL_ANGLE_texture_compression_dxt5 17:42:33: GL_ARB_ES2_compatibility 17:42:33: GL_ARB_ES3_compatibility 17:42:33: GL_ARB_arrays_of_arrays 17:42:33: GL_ARB_base_instance 17:42:33: GL_ARB_blend_func_extended 17:42:33: GL_ARB_clear_buffer_object 17:42:33: GL_ARB_clip_control 17:42:33: GL_ARB_compressed_texture_pixel_storage 17:42:33: GL_ARB_conditional_render_inverted 17:42:33: GL_ARB_conservative_depth 17:42:33: GL_ARB_copy_buffer 17:42:33: GL_ARB_debug_output 17:42:33: GL_ARB_depth_buffer_float 17:42:33: GL_ARB_depth_clamp 17:42:33: GL_ARB_direct_state_access 17:42:33: GL_ARB_draw_buffers 17:42:33: GL_ARB_draw_buffers_blend 17:42:33: GL_ARB_draw_elements_base_vertex 17:42:33: GL_ARB_draw_indirect 17:42:33: GL_ARB_draw_instanced 17:42:33: GL_ARB_explicit_attrib_location 17:42:33: GL_ARB_explicit_uniform_location 17:42:33: GL_ARB_fragment_coord_conventions 17:42:33: GL_ARB_fragment_layer_viewport 17:42:33: GL_ARB_fragment_shader 17:42:33: GL_ARB_framebuffer_no_attachments 17:42:33: GL_ARB_framebuffer_object 17:42:33: GL_ARB_framebuffer_sRGB 17:42:33: GL_ARB_get_program_binary 17:42:33: GL_ARB_get_texture_sub_image 17:42:33: GL_ARB_gpu_shader5 17:42:33: GL_ARB_gpu_shader_fp64 17:42:33: GL_ARB_gpu_shader_int64 17:42:33: GL_ARB_half_float_pixel 17:42:33: GL_ARB_half_float_vertex 17:42:33: GL_ARB_indirect_parameters 17:42:33: GL_ARB_instanced_arrays 17:42:33: GL_ARB_internalformat_query 17:42:33: GL_ARB_internalformat_query2 17:42:33: GL_ARB_invalidate_subdata 17:42:33: GL_ARB_map_buffer_alignment 17:42:33: GL_ARB_map_buffer_range 17:42:33: GL_ARB_multi_bind 17:42:33: GL_ARB_multi_draw_indirect 17:42:33: GL_ARB_occlusion_query2 17:42:33: GL_ARB_parallel_shader_compile 17:42:33: GL_ARB_pixel_buffer_object 17:42:33: GL_ARB_point_sprite 17:42:33: GL_ARB_program_interface_query 17:42:33: GL_ARB_provoking_vertex 17:42:33: GL_ARB_robust_buffer_access_behavior 17:42:33: GL_ARB_robustness 17:42:33: GL_ARB_sample_shading 17:42:33: GL_ARB_sampler_objects 17:42:33: GL_ARB_seamless_cube_map 17:42:33: GL_ARB_separate_shader_objects 17:42:33: GL_ARB_shader_atomic_counter_ops 17:42:33: GL_ARB_shader_atomic_counters 17:42:33: GL_ARB_shader_bit_encoding 17:42:33: GL_ARB_shader_draw_parameters 17:42:33: GL_ARB_shader_objects 17:42:33: GL_ARB_shader_precision 17:42:33: GL_ARB_shader_stencil_export 17:42:33: GL_ARB_shader_storage_buffer_object 17:42:33: GL_ARB_shader_subroutine 17:42:33: GL_ARB_shader_texture_lod 17:42:33: GL_ARB_shading_language_420pack 17:42:33: GL_ARB_shading_language_include 17:42:33: GL_ARB_shading_language_packing 17:42:33: GL_ARB_stencil_texturing 17:42:33: GL_ARB_sync 17:42:33: GL_ARB_tessellation_shader 17:42:33: GL_ARB_texture_buffer_object 17:42:33: GL_ARB_texture_buffer_object_rgb32 17:42:33: GL_ARB_texture_buffer_range 17:42:33: GL_ARB_texture_compression_bptc 17:42:33: GL_ARB_texture_compression_rgtc 17:42:33: GL_ARB_texture_cube_map_array 17:42:33: GL_ARB_texture_filter_anisotropic 17:42:33: GL_ARB_texture_float 17:42:33: GL_ARB_texture_gather 17:42:33: GL_ARB_texture_multisample 17:42:33: GL_ARB_texture_non_power_of_two 17:42:33: GL_ARB_texture_query_levels 17:42:33: GL_ARB_texture_query_lod 17:42:33: GL_ARB_texture_rectangle 17:42:33: GL_ARB_texture_rg 17:42:33: GL_ARB_texture_rgb10_a2ui 17:42:33: GL_ARB_texture_stencil8 17:42:33: GL_ARB_texture_storage 17:42:33: GL_ARB_texture_storage_multisample 17:42:33: GL_ARB_texture_swizzle 17:42:33: GL_ARB_timer_query 17:42:33: GL_ARB_transform_feedback2 17:42:33: GL_ARB_transform_feedback3 17:42:33: GL_ARB_transform_feedback_instanced 17:42:33: GL_ARB_uniform_buffer_object 17:42:33: GL_ARB_vertex_array_bgra 17:42:33: GL_ARB_vertex_array_object 17:42:33: GL_ARB_vertex_attrib_64bit 17:42:33: GL_ARB_vertex_attrib_binding 17:42:33: GL_ARB_vertex_buffer_object 17:42:33: GL_ARB_vertex_shader 17:42:33: GL_ARB_vertex_type_10f_11f_11f_rev 17:42:33: GL_ARB_vertex_type_2_10_10_10_rev 17:42:33: GL_ARB_viewport_array 17:42:33: GL_ATI_blend_equation_separate 17:42:33: GL_ATI_texture_float 17:42:33: GL_EXT_EGL_image_storage 17:42:33: GL_EXT_EGL_sync 17:42:33: GL_EXT_abgr 17:42:33: GL_EXT_blend_equation_separate 17:42:33: GL_EXT_draw_buffers2 17:42:33: GL_EXT_draw_instanced 17:42:33: GL_EXT_framebuffer_blit 17:42:33: GL_EXT_framebuffer_multisample 17:42:33: GL_EXT_framebuffer_multisample_blit_scaled 17:42:33: GL_EXT_framebuffer_object 17:42:33: GL_EXT_framebuffer_sRGB 17:42:33: GL_EXT_memory_object 17:42:33: GL_EXT_memory_object_fd 17:42:33: GL_EXT_packed_depth_stencil 17:42:33: GL_EXT_packed_float 17:42:33: GL_EXT_pixel_buffer_object 17:42:33: GL_EXT_provoking_vertex 17:42:33: GL_EXT_semaphore 17:42:33: GL_EXT_semaphore_fd 17:42:33: GL_EXT_shader_integer_mix 17:42:33: GL_EXT_texture_array 17:42:33: GL_EXT_texture_compression_dxt1 17:42:33: GL_EXT_texture_compression_rgtc 17:42:33: GL_EXT_texture_compression_s3tc 17:42:33: GL_EXT_texture_filter_anisotropic 17:42:33: GL_EXT_texture_integer 17:42:33: GL_EXT_texture_sRGB 17:42:33: GL_EXT_texture_sRGB_decode 17:42:33: GL_EXT_texture_shared_exponent 17:42:33: GL_EXT_texture_snorm 17:42:33: GL_EXT_texture_swizzle 17:42:33: GL_EXT_timer_query 17:42:33: GL_EXT_transform_feedback 17:42:33: GL_EXT_vertex_array_bgra 17:42:33: GL_EXT_vertex_attrib_64bit 17:42:33: GL_IBM_multimode_draw_arrays 17:42:33: GL_KHR_context_flush_control 17:42:33: GL_KHR_debug 17:42:33: GL_KHR_no_error 17:42:33: GL_KHR_parallel_shader_compile 17:42:33: GL_KHR_robust_buffer_access_behavior 17:42:33: GL_KHR_robustness 17:42:33: GL_KHR_texture_compression_astc_ldr 17:42:33: GL_KHR_texture_compression_astc_sliced_3d 17:42:33: GL_MESA_pack_invert 17:42:33: GL_MESA_shader_integer_functions 17:42:33: GL_MESA_texture_signed_rgba 17:42:33: GL_NV_conditional_render 17:42:33: GL_NV_copy_image 17:42:33: GL_NV_depth_clamp 17:42:33: GL_NV_packed_depth_stencil 17:42:33: GL_NV_vdpau_interop 17:42:33: GL_OES_EGL_image 17:42:33: GL_S3_s3tc 17:42:33: ************************************** 17:42:33: *** OpenGL 3+ Renderer Started *** 17:42:33: ************************************** 17:42:33: Registering ResourceManager for type GpuProgram 17:42:33: RenderSystem capabilities 17:42:33: ------------------------- 17:42:33: RenderSystem Name: OpenGL 3+ Rendering Subsystem 17:42:33: GPU Vendor: microsoft 17:42:33: Device Name: D3D12 (Intel(R) UHD Graphics) 17:42:33: Driver Version: 4.1.0.0 17:42:33: * Fixed function pipeline: no 17:42:33: * Hardware generation of mipmaps: yes 17:42:33: * Texture blending: yes 17:42:33: * Anisotropic texture filtering: yes 17:42:33: * Dot product texture operation: yes 17:42:33: * Cube mapping: yes 17:42:33: * Hardware stencil buffer: yes 17:42:33: - Stencil depth: 8 17:42:33: - Two sided stencil support: yes 17:42:33: - Wrap stencil values: yes 17:42:33: * Hardware vertex / index buffers: yes 17:42:33: * 32-bit index buffers: yes 17:42:33: * Vertex programs: yes 17:42:33: * Number of floating-point constants for vertex programs: 16352 17:42:33: * Number of integer constants for vertex programs: 16352 17:42:33: * Number of boolean constants for vertex programs: 16352 17:42:33: * Fragment programs: yes 17:42:33: * Number of floating-point constants for fragment programs: 16380 17:42:33: * Number of integer constants for fragment programs: 16380 17:42:33: * Number of boolean constants for fragment programs: 16380 17:42:33: * Geometry programs: yes 17:42:33: * Number of floating-point constants for geometry programs: 16352 17:42:33: * Number of integer constants for geometry programs: 16352 17:42:33: * Number of boolean constants for geometry programs: 16352 17:42:33: * Tessellation Hull programs: yes 17:42:33: * Number of floating-point constants for tessellation hull programs: 16384 17:42:33: * Number of integer constants for tessellation hull programs: 16384 17:42:33: * Number of boolean constants for tessellation hull programs: 16384 17:42:33: * Tessellation Domain programs: yes 17:42:33: * Number of floating-point constants for tessellation domain programs: 16352 17:42:33: * Number of integer constants for tessellation domain programs: 16352 17:42:33: * Number of boolean constants for tessellation domain programs: 16352 17:42:33: * Compute programs: no 17:42:33: * Number of floating-point constants for compute programs: 26214 17:42:33: * Number of integer constants for compute programs: 29285 17:42:33: * Number of boolean constants for compute programs: 29535 17:42:33: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 17:42:33: * Texture Compression: yes 17:42:33: - DXT: yes 17:42:33: - VTC: no 17:42:33: - PVRTC: no 17:42:33: - ATC: no 17:42:33: - ETC1: no 17:42:33: - ETC2: yes 17:42:33: - BC4/BC5: yes 17:42:33: - BC6H/BC7: yes 17:42:33: - ASTC: yes 17:42:33: * Hardware Occlusion Query: yes 17:42:33: * User clip planes: yes 17:42:33: * VET_UBYTE4 vertex element type: yes 17:42:33: * Infinite far plane projection: yes 17:42:33: * Hardware render-to-texture: yes 17:42:33: * Floating point textures: yes 17:42:33: * Non-power-of-two textures: yes 17:42:33: * 1d textures: yes 17:42:33: * Volume textures: yes 17:42:33: * Max Texture resolution (2D) 16384 17:42:33: * Max Texture resolution (3D) 1024 17:42:33: * Max Texture resolution (Cubemaps) 16384 17:42:33: * Multiple Render Targets: 8 17:42:33: - With different bit depths: yes 17:42:33: * Point Sprites: yes 17:42:33: * Extended point parameters: yes 17:42:33: * Max Point Size: 255 17:42:33: * Vertex texture fetch: yes 17:42:33: * Number of world matrices: 0 17:42:33: * Number of texture units: 16 17:42:33: * Stencil buffer depth: 8 17:42:33: * Number of vertex blend matrices: 0 17:42:33: - Max vertex textures: 32 17:42:33: - Vertex textures shared: yes 17:42:33: * Render to Vertex Buffer : yes 17:42:33: * Hardware Atomic Counters: yes 17:42:33: * GL 1.5 without VBO workaround: no 17:42:33: * Frame Buffer objects: yes 17:42:33: * Frame Buffer objects (ARB extension): no 17:42:33: * Frame Buffer objects (ATI extension): no 17:42:33: * PBuffer support: no 17:42:33: * GL 1.5 without HW-occlusion workaround: no 17:42:33: * Vertex Array Objects: yes 17:42:33: * Separate shader objects: no 17:42:33: * Using Reverse Z: yes 17:42:33: DefaultWorkQueue('Root') initialising on thread main. 17:42:33: Particle Renderer Type 'billboard' registered 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 17:42:33: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:42:33: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 17:42:33: Parsing scripts for resource group Autodetect 17:42:33: Finished parsing scripts for resource group Autodetect 17:42:33: Creating resources for group Autodetect 17:42:33: All done 17:42:33: Parsing scripts for resource group General 17:42:33: Parsing script Quad.program 17:42:33: Parsing script picker.program 17:42:33: Parsing script DepthUtils.material 17:42:33: Parsing script Copyback.material 17:42:33: Parsing script EsmGaussianBlurLogFilter.material 17:42:33: Parsing script DPSM.material 17:42:33: Parsing script GpuNormalMapper.material 17:42:33: Parsing script gaussian_noise.material 17:42:33: Parsing script selection_buffer.material 17:42:33: Parsing script skybox.material 17:42:33: Parsing script thermal.material 17:42:33: Parsing script picker.material 17:42:33: Parsing script depth_camera.material 17:42:33: Parsing script gpu_rays.material 17:42:33: Parsing script point_cloud_point.material 17:42:33: Parsing script TerraShadowGenerator.compositor 17:42:33: Parsing script GpuNormalMapper.compositor 17:42:33: Parsing script GpuRays.compositor 17:42:33: Parsing script EsmGaussianBlurLogFilter.material.json 17:42:33: Parsing script Mipmaps.material.json 17:42:33: Parsing script TerraShadowGenerator.material.json 17:42:33: Finished parsing scripts for resource group General 17:42:33: Creating resources for group General 17:42:33: All done 17:42:33: Parsing scripts for resource group Internal 17:42:33: Finished parsing scripts for resource group Internal 17:42:33: Creating resources for group Internal 17:42:33: All done 17:42:33: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:42:33: Added resource location '/home/traversaro/gz-ws/src/gz-rendering/test/media/materials/textures' of type 'FileSystem' to resource group 'General' with recursive option 17:42:33: Initialising resource group General 17:42:33: OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369) 17:42:33: Unregistering ResourceManager for type Font 17:42:33: DefaultWorkQueue('Root') shutting down on thread main. 17:42:33: *-*-* OGRE Shutdown 17:42:33: Unregistering ResourceManager for type OldSkeleton 17:42:33: Unregistering ResourceManager for type Mesh2 17:42:33: Unregistering ResourceManager for type Mesh 17:42:33: Unregistering ResourceManager for type Material 17:42:33: Unregistering ResourceManager for type HighLevelGpuProgram 17:42:33: Uninstalling plugin: ParticleFX 17:42:33: Plugin successfully uninstalled 17:42:33: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:42:33: Uninstalling plugin: GL 3+ RenderSystem 17:42:33: Unregistering ResourceManager for type GpuProgram 17:42:33: ****************************** *** Stopping GLX Subsystem *** ****************************** 17:42:33: Plugin successfully uninstalled 17:42:33: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so ~~~
traversaro commented 1 year ago

INTEGRATION_lidar_visual_ogre2_gl3plus

Test failure log ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ ctest -VV -R INTEGRATION_lidar_visual_ogre2_gl3plus UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Test project /home/traversaro/gz-ws/build/gz-rendering7 Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 21 Start 21: INTEGRATION_lidar_visual_ogre2_gl3plus 21: Test command: /home/traversaro/gz-ws/build/gz-rendering7/bin/INTEGRATION_lidar_visual "--gtest_output=xml:/home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_lidar_visual_ogre2_gl3plus.xml" 21: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/integration 21: Environment variables: 21: GZ_ENGINE_TO_TEST=ogre2 21: GZ_ENGINE_BACKEND=gl3plus 21: Test timeout computed to be: 240 21: Running main() from /home/traversaro/gz-ws/src/gz-rendering/test/gtest_vendor/src/gtest_main.cc 21: [==========] Running 3 tests from 1 test suite. 21: [----------] Global test environment set-up. 21: [----------] 3 tests from LidarVisualTest 21: [ RUN ] LidarVisualTest.Configure 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 21: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 21: [Msg] Loading plugin [gz-rendering-ogre2] 21: [ OK ] LidarVisualTest.Configure (1547 ms) 21: [ RUN ] LidarVisualTest.RaysUnitBox 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 21: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 21: [Msg] Loading plugin [gz-rendering-ogre2] 21: [ OK ] LidarVisualTest.RaysUnitBox (1627 ms) 21: [ RUN ] LidarVisualTest.LaserVertical 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 21: 21: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 21: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 21: [Msg] Loading plugin [gz-rendering-ogre2] 21: /home/traversaro/gz-ws/src/gz-rendering/test/integration/lidar_visual.cc:461: Failure 21: The difference between pts[i * hRayCount + mid] and expectedRange is inf, which exceeds 1e-3, where 21: pts[i * hRayCount + mid] evaluates to inf, 21: expectedRange evaluates to 0.35355339059327373, and 21: 1e-3 evaluates to 0.001. 21: [ FAILED ] LidarVisualTest.LaserVertical (973 ms) 21: [----------] 3 tests from LidarVisualTest (4148 ms total) 21: 21: [----------] Global test environment tear-down 21: [==========] 3 tests from 1 test suite ran. (4148 ms total) 21: [ PASSED ] 2 tests. 21: [ FAILED ] 1 test, listed below: 21: [ FAILED ] LidarVisualTest.LaserVertical 21: 21: 1 FAILED TEST 1/2 Test #21: INTEGRATION_lidar_visual_ogre2_gl3plus .........***Failed 4.20 sec ~~~
~/.gz/rendering/ogre2.log file ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ cat ~/.gz/rendering/ogre2.log 17:53:52: Creating resource group General 17:53:52: Creating resource group Internal 17:53:52: Creating resource group Autodetect 17:53:52: SceneManagerFactory for type 'DefaultSceneManager' registered. 17:53:52: Registering ResourceManager for type Material 17:53:52: Registering ResourceManager for type Mesh 17:53:52: Registering ResourceManager for type Mesh2 17:53:52: Registering ResourceManager for type OldSkeleton 17:53:52: MovableObjectFactory for type 'ParticleSystem' registered. 17:53:52: ArchiveFactory for archive type FileSystem registered. 17:53:52: ArchiveFactory for archive type Zip registered. 17:53:52: ArchiveFactory for archive type EmbeddedZip registered. 17:53:52: DDS codec registering 17:53:52: FreeImage version: 3.18.0 17:53:52: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 17:53:52: 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,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 17:53:52: OITD codec registering 17:53:52: Registering ResourceManager for type HighLevelGpuProgram 17:53:52: MovableObjectFactory for type 'Decal' registered. 17:53:52: MovableObjectFactory for type 'InternalCubemapProbe' registered. 17:53:52: MovableObjectFactory for type 'Entity' registered. 17:53:52: MovableObjectFactory for type 'Item' registered. 17:53:52: MovableObjectFactory for type 'Light' registered. 17:53:52: MovableObjectFactory for type 'Rectangle2Dv2' registered. 17:53:52: MovableObjectFactory for type 'BillboardSet' registered. 17:53:52: MovableObjectFactory for type 'ManualObject2' registered. 17:53:52: MovableObjectFactory for type 'BillboardChain' registered. 17:53:52: MovableObjectFactory for type 'RibbonTrail' registered. 17:53:52: MovableObjectFactory for type 'WireAabb' registered. 17:53:52: *-*-* OGRE Initialising 17:53:52: *-*-* Version 2.3.1 (Daedalus) 17:53:52: OverlayElementFactory for type Panel registered. 17:53:52: OverlayElementFactory for type BorderPanel registered. 17:53:52: OverlayElementFactory for type TextArea registered. 17:53:52: Registering ResourceManager for type Font 17:53:52: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so 17:53:52: Installing plugin: GL 3+ RenderSystem 17:53:52: OpenGL 3+ Rendering Subsystem created. 17:53:52: Found Num EGL Devices: 2 17:53:52: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 17:53:52: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:53:52: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:53:52: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:53:52: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:53:52: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:53:52: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:53:52: Created GL 4.1 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:53:52: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:53:52: Plugin successfully installed 17:53:52: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:53:52: Installing plugin: ParticleFX 17:53:52: Particle Emitter Type 'Point' registered 17:53:52: Particle Emitter Type 'Box' registered 17:53:52: Particle Emitter Type 'Ellipsoid' registered 17:53:52: Particle Emitter Type 'Cylinder' registered 17:53:52: Particle Emitter Type 'Ring' registered 17:53:52: Particle Emitter Type 'HollowEllipsoid' registered 17:53:52: Particle Affector Type 'LinearForce' registered 17:53:52: Particle Affector Type 'ColourFader' registered 17:53:52: Particle Affector Type 'ColourFader2' registered 17:53:52: Particle Affector Type 'ColourImage' registered 17:53:52: Particle Affector Type 'ColourInterpolator' registered 17:53:52: Particle Affector Type 'Scaler' registered 17:53:52: Particle Affector Type 'Rotator' registered 17:53:52: Particle Affector Type 'DirectionRandomiser' registered 17:53:52: Particle Affector Type 'DeflectorPlane' registered 17:53:52: Plugin successfully installed 17:53:52: CPU Identifier & Features 17:53:52: ------------------------- 17:53:52: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 17:53:52: * Logical cores: 12 17:53:52: * SSE: yes 17:53:52: * SSE2: yes 17:53:52: * SSE3: yes 17:53:52: * MMX: yes 17:53:52: * MMXEXT: yes 17:53:52: * 3DNOW: no 17:53:52: * 3DNOWEXT: no 17:53:52: * CMOV: yes 17:53:52: * TSC: yes 17:53:52: * FPU: yes 17:53:52: * PRO: yes 17:53:52: * HT: no 17:53:52: ------------------------- 17:53:52: ****************************** *** Starting GLX Subsystem *** ****************************** 17:53:52: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_6291457", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=6291457 stereoMode=Frame Sequential 17:53:52: Created GL 4.1 context 17:53:52: GLXWindow::create used FBConfigID = 178 17:53:52: GL Version = 4.1.0.0 17:53:52: GL_VERSION = 4.1 (Core Profile) Mesa 22.2.5 17:53:52: GL_VENDOR = Microsoft Corporation 17:53:52: GL_RENDERER = D3D12 (Intel(R) UHD Graphics) 17:53:52: GL_EXTENSIONS = 17:53:52: GL_AMD_conservative_depth 17:53:52: GL_AMD_draw_buffers_blend 17:53:52: GL_AMD_gpu_shader_int64 17:53:52: GL_AMD_multi_draw_indirect 17:53:52: GL_AMD_shader_stencil_export 17:53:52: GL_AMD_shader_trinary_minmax 17:53:52: GL_AMD_texture_texture4 17:53:52: GL_ANGLE_texture_compression_dxt3 17:53:52: GL_ANGLE_texture_compression_dxt5 17:53:52: GL_ARB_ES2_compatibility 17:53:52: GL_ARB_ES3_compatibility 17:53:52: GL_ARB_arrays_of_arrays 17:53:52: GL_ARB_base_instance 17:53:52: GL_ARB_blend_func_extended 17:53:52: GL_ARB_clear_buffer_object 17:53:52: GL_ARB_clip_control 17:53:52: GL_ARB_compressed_texture_pixel_storage 17:53:52: GL_ARB_conditional_render_inverted 17:53:52: GL_ARB_conservative_depth 17:53:52: GL_ARB_copy_buffer 17:53:52: GL_ARB_debug_output 17:53:52: GL_ARB_depth_buffer_float 17:53:52: GL_ARB_depth_clamp 17:53:52: GL_ARB_direct_state_access 17:53:52: GL_ARB_draw_buffers 17:53:52: GL_ARB_draw_buffers_blend 17:53:52: GL_ARB_draw_elements_base_vertex 17:53:52: GL_ARB_draw_indirect 17:53:52: GL_ARB_draw_instanced 17:53:52: GL_ARB_explicit_attrib_location 17:53:52: GL_ARB_explicit_uniform_location 17:53:52: GL_ARB_fragment_coord_conventions 17:53:52: GL_ARB_fragment_layer_viewport 17:53:52: GL_ARB_fragment_shader 17:53:52: GL_ARB_framebuffer_no_attachments 17:53:52: GL_ARB_framebuffer_object 17:53:52: GL_ARB_framebuffer_sRGB 17:53:52: GL_ARB_get_program_binary 17:53:52: GL_ARB_get_texture_sub_image 17:53:52: GL_ARB_gpu_shader5 17:53:52: GL_ARB_gpu_shader_fp64 17:53:52: GL_ARB_gpu_shader_int64 17:53:52: GL_ARB_half_float_pixel 17:53:52: GL_ARB_half_float_vertex 17:53:52: GL_ARB_indirect_parameters 17:53:52: GL_ARB_instanced_arrays 17:53:52: GL_ARB_internalformat_query 17:53:52: GL_ARB_internalformat_query2 17:53:52: GL_ARB_invalidate_subdata 17:53:52: GL_ARB_map_buffer_alignment 17:53:52: GL_ARB_map_buffer_range 17:53:52: GL_ARB_multi_bind 17:53:52: GL_ARB_multi_draw_indirect 17:53:52: GL_ARB_occlusion_query2 17:53:52: GL_ARB_parallel_shader_compile 17:53:52: GL_ARB_pixel_buffer_object 17:53:52: GL_ARB_point_sprite 17:53:52: GL_ARB_program_interface_query 17:53:52: GL_ARB_provoking_vertex 17:53:52: GL_ARB_robust_buffer_access_behavior 17:53:52: GL_ARB_robustness 17:53:52: GL_ARB_sample_shading 17:53:52: GL_ARB_sampler_objects 17:53:52: GL_ARB_seamless_cube_map 17:53:52: GL_ARB_separate_shader_objects 17:53:52: GL_ARB_shader_atomic_counter_ops 17:53:52: GL_ARB_shader_atomic_counters 17:53:52: GL_ARB_shader_bit_encoding 17:53:52: GL_ARB_shader_draw_parameters 17:53:52: GL_ARB_shader_objects 17:53:52: GL_ARB_shader_precision 17:53:52: GL_ARB_shader_stencil_export 17:53:52: GL_ARB_shader_storage_buffer_object 17:53:52: GL_ARB_shader_subroutine 17:53:52: GL_ARB_shader_texture_lod 17:53:52: GL_ARB_shading_language_420pack 17:53:52: GL_ARB_shading_language_include 17:53:52: GL_ARB_shading_language_packing 17:53:52: GL_ARB_stencil_texturing 17:53:52: GL_ARB_sync 17:53:52: GL_ARB_tessellation_shader 17:53:52: GL_ARB_texture_buffer_object 17:53:52: GL_ARB_texture_buffer_object_rgb32 17:53:52: GL_ARB_texture_buffer_range 17:53:52: GL_ARB_texture_compression_bptc 17:53:52: GL_ARB_texture_compression_rgtc 17:53:52: GL_ARB_texture_cube_map_array 17:53:52: GL_ARB_texture_filter_anisotropic 17:53:52: GL_ARB_texture_float 17:53:52: GL_ARB_texture_gather 17:53:52: GL_ARB_texture_multisample 17:53:52: GL_ARB_texture_non_power_of_two 17:53:52: GL_ARB_texture_query_levels 17:53:52: GL_ARB_texture_query_lod 17:53:52: GL_ARB_texture_rectangle 17:53:52: GL_ARB_texture_rg 17:53:52: GL_ARB_texture_rgb10_a2ui 17:53:52: GL_ARB_texture_stencil8 17:53:52: GL_ARB_texture_storage 17:53:52: GL_ARB_texture_storage_multisample 17:53:52: GL_ARB_texture_swizzle 17:53:52: GL_ARB_timer_query 17:53:52: GL_ARB_transform_feedback2 17:53:52: GL_ARB_transform_feedback3 17:53:52: GL_ARB_transform_feedback_instanced 17:53:52: GL_ARB_uniform_buffer_object 17:53:52: GL_ARB_vertex_array_bgra 17:53:52: GL_ARB_vertex_array_object 17:53:52: GL_ARB_vertex_attrib_64bit 17:53:52: GL_ARB_vertex_attrib_binding 17:53:52: GL_ARB_vertex_buffer_object 17:53:52: GL_ARB_vertex_shader 17:53:52: GL_ARB_vertex_type_10f_11f_11f_rev 17:53:52: GL_ARB_vertex_type_2_10_10_10_rev 17:53:52: GL_ARB_viewport_array 17:53:52: GL_ATI_blend_equation_separate 17:53:52: GL_ATI_texture_float 17:53:52: GL_EXT_EGL_image_storage 17:53:52: GL_EXT_EGL_sync 17:53:52: GL_EXT_abgr 17:53:52: GL_EXT_blend_equation_separate 17:53:52: GL_EXT_draw_buffers2 17:53:52: GL_EXT_draw_instanced 17:53:52: GL_EXT_framebuffer_blit 17:53:52: GL_EXT_framebuffer_multisample 17:53:52: GL_EXT_framebuffer_multisample_blit_scaled 17:53:52: GL_EXT_framebuffer_object 17:53:52: GL_EXT_framebuffer_sRGB 17:53:52: GL_EXT_memory_object 17:53:52: GL_EXT_memory_object_fd 17:53:52: GL_EXT_packed_depth_stencil 17:53:52: GL_EXT_packed_float 17:53:52: GL_EXT_pixel_buffer_object 17:53:52: GL_EXT_provoking_vertex 17:53:52: GL_EXT_semaphore 17:53:52: GL_EXT_semaphore_fd 17:53:52: GL_EXT_shader_integer_mix 17:53:52: GL_EXT_texture_array 17:53:52: GL_EXT_texture_compression_dxt1 17:53:52: GL_EXT_texture_compression_rgtc 17:53:52: GL_EXT_texture_compression_s3tc 17:53:52: GL_EXT_texture_filter_anisotropic 17:53:52: GL_EXT_texture_integer 17:53:52: GL_EXT_texture_sRGB 17:53:52: GL_EXT_texture_sRGB_decode 17:53:52: GL_EXT_texture_shared_exponent 17:53:52: GL_EXT_texture_snorm 17:53:52: GL_EXT_texture_swizzle 17:53:52: GL_EXT_timer_query 17:53:52: GL_EXT_transform_feedback 17:53:52: GL_EXT_vertex_array_bgra 17:53:52: GL_EXT_vertex_attrib_64bit 17:53:52: GL_IBM_multimode_draw_arrays 17:53:52: GL_KHR_context_flush_control 17:53:52: GL_KHR_debug 17:53:52: GL_KHR_no_error 17:53:52: GL_KHR_parallel_shader_compile 17:53:52: GL_KHR_robust_buffer_access_behavior 17:53:52: GL_KHR_robustness 17:53:52: GL_KHR_texture_compression_astc_ldr 17:53:52: GL_KHR_texture_compression_astc_sliced_3d 17:53:52: GL_MESA_pack_invert 17:53:52: GL_MESA_shader_integer_functions 17:53:52: GL_MESA_texture_signed_rgba 17:53:52: GL_NV_conditional_render 17:53:52: GL_NV_copy_image 17:53:52: GL_NV_depth_clamp 17:53:52: GL_NV_packed_depth_stencil 17:53:52: GL_NV_vdpau_interop 17:53:52: GL_OES_EGL_image 17:53:52: GL_S3_s3tc 17:53:52: ************************************** 17:53:52: *** OpenGL 3+ Renderer Started *** 17:53:52: ************************************** 17:53:52: Registering ResourceManager for type GpuProgram 17:53:52: RenderSystem capabilities 17:53:52: ------------------------- 17:53:52: RenderSystem Name: OpenGL 3+ Rendering Subsystem 17:53:52: GPU Vendor: microsoft 17:53:52: Device Name: D3D12 (Intel(R) UHD Graphics) 17:53:52: Driver Version: 4.1.0.0 17:53:52: * Fixed function pipeline: no 17:53:52: * Hardware generation of mipmaps: yes 17:53:52: * Texture blending: yes 17:53:52: * Anisotropic texture filtering: yes 17:53:52: * Dot product texture operation: yes 17:53:52: * Cube mapping: yes 17:53:52: * Hardware stencil buffer: yes 17:53:52: - Stencil depth: 8 17:53:52: - Two sided stencil support: yes 17:53:52: - Wrap stencil values: yes 17:53:52: * Hardware vertex / index buffers: yes 17:53:52: * 32-bit index buffers: yes 17:53:52: * Vertex programs: yes 17:53:52: * Number of floating-point constants for vertex programs: 16352 17:53:52: * Number of integer constants for vertex programs: 16352 17:53:52: * Number of boolean constants for vertex programs: 16352 17:53:52: * Fragment programs: yes 17:53:52: * Number of floating-point constants for fragment programs: 16380 17:53:52: * Number of integer constants for fragment programs: 16380 17:53:52: * Number of boolean constants for fragment programs: 16380 17:53:52: * Geometry programs: yes 17:53:52: * Number of floating-point constants for geometry programs: 16352 17:53:52: * Number of integer constants for geometry programs: 16352 17:53:52: * Number of boolean constants for geometry programs: 16352 17:53:52: * Tessellation Hull programs: yes 17:53:52: * Number of floating-point constants for tessellation hull programs: 16384 17:53:52: * Number of integer constants for tessellation hull programs: 16384 17:53:52: * Number of boolean constants for tessellation hull programs: 16384 17:53:52: * Tessellation Domain programs: yes 17:53:52: * Number of floating-point constants for tessellation domain programs: 16352 17:53:52: * Number of integer constants for tessellation domain programs: 16352 17:53:52: * Number of boolean constants for tessellation domain programs: 16352 17:53:52: * Compute programs: no 17:53:52: * Number of floating-point constants for compute programs: 26214 17:53:52: * Number of integer constants for compute programs: 29285 17:53:52: * Number of boolean constants for compute programs: 29535 17:53:52: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 17:53:52: * Texture Compression: yes 17:53:52: - DXT: yes 17:53:52: - VTC: no 17:53:52: - PVRTC: no 17:53:52: - ATC: no 17:53:52: - ETC1: no 17:53:52: - ETC2: yes 17:53:52: - BC4/BC5: yes 17:53:52: - BC6H/BC7: yes 17:53:52: - ASTC: yes 17:53:52: * Hardware Occlusion Query: yes 17:53:52: * User clip planes: yes 17:53:52: * VET_UBYTE4 vertex element type: yes 17:53:52: * Infinite far plane projection: yes 17:53:52: * Hardware render-to-texture: yes 17:53:52: * Floating point textures: yes 17:53:52: * Non-power-of-two textures: yes 17:53:52: * 1d textures: yes 17:53:52: * Volume textures: yes 17:53:52: * Max Texture resolution (2D) 16384 17:53:52: * Max Texture resolution (3D) 1024 17:53:52: * Max Texture resolution (Cubemaps) 16384 17:53:52: * Multiple Render Targets: 8 17:53:52: - With different bit depths: yes 17:53:52: * Point Sprites: yes 17:53:52: * Extended point parameters: yes 17:53:52: * Max Point Size: 255 17:53:52: * Vertex texture fetch: yes 17:53:52: * Number of world matrices: 0 17:53:52: * Number of texture units: 16 17:53:52: * Stencil buffer depth: 8 17:53:52: * Number of vertex blend matrices: 0 17:53:52: - Max vertex textures: 32 17:53:52: - Vertex textures shared: yes 17:53:52: * Render to Vertex Buffer : yes 17:53:52: * Hardware Atomic Counters: yes 17:53:52: * GL 1.5 without VBO workaround: no 17:53:52: * Frame Buffer objects: yes 17:53:52: * Frame Buffer objects (ARB extension): no 17:53:52: * Frame Buffer objects (ATI extension): no 17:53:52: * PBuffer support: no 17:53:52: * GL 1.5 without HW-occlusion workaround: no 17:53:52: * Vertex Array Objects: yes 17:53:52: * Separate shader objects: no 17:53:52: * Using Reverse Z: yes 17:53:52: DefaultWorkQueue('Root') initialising on thread main. 17:53:52: Particle Renderer Type 'billboard' registered 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 17:53:52: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:53:52: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 17:53:52: Parsing scripts for resource group Autodetect 17:53:52: Finished parsing scripts for resource group Autodetect 17:53:52: Creating resources for group Autodetect 17:53:52: All done 17:53:52: Parsing scripts for resource group General 17:53:52: Parsing script Quad.program 17:53:52: Parsing script picker.program 17:53:52: Parsing script DepthUtils.material 17:53:52: Parsing script Copyback.material 17:53:52: Parsing script EsmGaussianBlurLogFilter.material 17:53:52: Parsing script DPSM.material 17:53:52: Parsing script GpuNormalMapper.material 17:53:52: Parsing script gaussian_noise.material 17:53:52: Parsing script selection_buffer.material 17:53:52: Parsing script skybox.material 17:53:52: Parsing script thermal.material 17:53:52: Parsing script picker.material 17:53:52: Parsing script depth_camera.material 17:53:52: Parsing script gpu_rays.material 17:53:52: Parsing script point_cloud_point.material 17:53:52: Parsing script TerraShadowGenerator.compositor 17:53:52: Parsing script GpuNormalMapper.compositor 17:53:52: Parsing script GpuRays.compositor 17:53:52: Parsing script EsmGaussianBlurLogFilter.material.json 17:53:52: Parsing script Mipmaps.material.json 17:53:52: Parsing script TerraShadowGenerator.material.json 17:53:52: Finished parsing scripts for resource group General 17:53:52: Creating resources for group General 17:53:52: All done 17:53:52: Parsing scripts for resource group Internal 17:53:52: Finished parsing scripts for resource group Internal 17:53:52: Creating resources for group Internal 17:53:52: All done 17:53:52: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:53:52: Can't assign material scene::Material(65518) because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueRay because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/BlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/LightBlueStrips because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Can't assign material Lidar/TransBlack because this Material does not exist. Have you forgotten to define it in a .material script? 17:53:52: Unregistering ResourceManager for type Font 17:53:52: DefaultWorkQueue('Root') shutting down on thread main. 17:53:52: *-*-* OGRE Shutdown 17:53:52: Unregistering ResourceManager for type OldSkeleton 17:53:52: Unregistering ResourceManager for type Mesh2 17:53:52: Unregistering ResourceManager for type Mesh 17:53:52: Unregistering ResourceManager for type Material 17:53:52: Unregistering ResourceManager for type HighLevelGpuProgram 17:53:52: Uninstalling plugin: ParticleFX 17:53:52: Plugin successfully uninstalled 17:53:52: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:53:52: Uninstalling plugin: GL 3+ RenderSystem 17:53:52: Unregistering ResourceManager for type GpuProgram 17:53:52: ****************************** *** Stopping GLX Subsystem *** ****************************** 17:53:52: Plugin successfully uninstalled 17:53:52: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so ~~~
traversaro commented 1 year ago

INTEGRATION_projector_ogre2_gl3plus

Test failure log ~~~ UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Test project /home/traversaro/gz-ws/build/gz-rendering7 Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 23 Start 23: INTEGRATION_projector_ogre2_gl3plus 23: Test command: /home/traversaro/gz-ws/build/gz-rendering7/bin/INTEGRATION_projector "--gtest_output=xml:/home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_projector_ogre2_gl3plus.xml" 23: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/integration 23: Environment variables: 23: GZ_ENGINE_TO_TEST=ogre2 23: GZ_ENGINE_BACKEND=gl3plus 23: Test timeout computed to be: 240 23: Running main() from /home/traversaro/gz-ws/src/gz-rendering/test/gtest_vendor/src/gtest_main.cc 23: [==========] Running 1 test from 1 test suite. 23: [----------] Global test environment set-up. 23: [----------] 1 test from ProjectorTest 23: [ RUN ] ProjectorTest.Visibility 23: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 23: 23: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 23: 23: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 23: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 23: [Msg] Loading plugin [gz-rendering-ogre2] 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 [...] LOG INTERRUPTED [...] I deleted ~ 500000 similar lines to keep the size of the log small [...] LOG INTERRUPTED 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:177: Failure 23: Expected: (rA) > (gA), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:178: Failure 23: Expected: (rA) > (bA), actual: 0 vs 0 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:185: Failure 23: Expected: (bB) > (gB), actual: 0 vs 255 23: /home/traversaro/gz-ws/src/gz-rendering/test/integration/projector.cc:186: Failure 23: Expected: (bB) > (rB), actual: 0 vs 0 23: [ FAILED ] ProjectorTest.Visibility (5268 ms) 23: [----------] 1 test from ProjectorTest (5268 ms total) 23: 23: [----------] Global test environment tear-down 23: [==========] 1 test from 1 test suite ran. (5268 ms total) 23: [ PASSED ] 0 tests. 23: [ FAILED ] 1 test, listed below: 23: [ FAILED ] ProjectorTest.Visibility 23: 23: 1 FAILED TEST 1/2 Test #23: INTEGRATION_projector_ogre2_gl3plus .........***Failed 7.10 sec test 24 Start 24: check_INTEGRATION_projector_ogre2_gl3plus 24: Test command: /home/traversaro/mambaforge/envs/gz-ws/bin/python3.11 "/home/traversaro/gz-ws/install/share/gz/gz-cmake3/tools/check_test_ran.py" "/home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_projector_ogre2_gl3plus.xml" 24: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/integration 24: Test timeout computed to be: 1500 24: Checking for test results in /home/traversaro/gz-ws/build/gz-rendering7/test_results/INTEGRATION_projector_ogre2_gl3plus.xml 2/2 Test #24: check_INTEGRATION_projector_ogre2_gl3plus ... Passed 0.02 sec The following tests passed: check_INTEGRATION_projector_ogre2_gl3plus 50% tests passed, 1 tests failed out of 2 Total Test time (real) = 7.16 sec The following tests FAILED: 23 - INTEGRATION_projector_ogre2_gl3plus (Failed) Errors while running CTest Output from these tests are in: /home/traversaro/gz-ws/build/gz-rendering7/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. ~~~
~/.gz/rendering/ogre2.log file ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ cat ~/.gz/rendering/ogre2.log 17:50:23: Creating resource group General 17:50:23: Creating resource group Internal 17:50:23: Creating resource group Autodetect 17:50:23: SceneManagerFactory for type 'DefaultSceneManager' registered. 17:50:23: Registering ResourceManager for type Material 17:50:23: Registering ResourceManager for type Mesh 17:50:23: Registering ResourceManager for type Mesh2 17:50:23: Registering ResourceManager for type OldSkeleton 17:50:23: MovableObjectFactory for type 'ParticleSystem' registered. 17:50:23: ArchiveFactory for archive type FileSystem registered. 17:50:23: ArchiveFactory for archive type Zip registered. 17:50:23: ArchiveFactory for archive type EmbeddedZip registered. 17:50:23: DDS codec registering 17:50:23: FreeImage version: 3.18.0 17:50:23: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 17:50:23: 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,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 17:50:23: OITD codec registering 17:50:23: Registering ResourceManager for type HighLevelGpuProgram 17:50:23: MovableObjectFactory for type 'Decal' registered. 17:50:23: MovableObjectFactory for type 'InternalCubemapProbe' registered. 17:50:23: MovableObjectFactory for type 'Entity' registered. 17:50:23: MovableObjectFactory for type 'Item' registered. 17:50:23: MovableObjectFactory for type 'Light' registered. 17:50:23: MovableObjectFactory for type 'Rectangle2Dv2' registered. 17:50:23: MovableObjectFactory for type 'BillboardSet' registered. 17:50:23: MovableObjectFactory for type 'ManualObject2' registered. 17:50:23: MovableObjectFactory for type 'BillboardChain' registered. 17:50:23: MovableObjectFactory for type 'RibbonTrail' registered. 17:50:23: MovableObjectFactory for type 'WireAabb' registered. 17:50:23: *-*-* OGRE Initialising 17:50:23: *-*-* Version 2.3.1 (Daedalus) 17:50:23: OverlayElementFactory for type Panel registered. 17:50:23: OverlayElementFactory for type BorderPanel registered. 17:50:23: OverlayElementFactory for type TextArea registered. 17:50:23: Registering ResourceManager for type Font 17:50:23: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so 17:50:23: Installing plugin: GL 3+ RenderSystem 17:50:23: OpenGL 3+ Rendering Subsystem created. 17:50:23: Found Num EGL Devices: 2 17:50:23: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 17:50:23: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:50:23: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:50:23: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:50:23: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:50:23: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:50:23: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:50:23: Created GL 4.1 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:50:23: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:50:23: Plugin successfully installed 17:50:23: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:50:23: Installing plugin: ParticleFX 17:50:23: Particle Emitter Type 'Point' registered 17:50:23: Particle Emitter Type 'Box' registered 17:50:23: Particle Emitter Type 'Ellipsoid' registered 17:50:23: Particle Emitter Type 'Cylinder' registered 17:50:23: Particle Emitter Type 'Ring' registered 17:50:23: Particle Emitter Type 'HollowEllipsoid' registered 17:50:23: Particle Affector Type 'LinearForce' registered 17:50:23: Particle Affector Type 'ColourFader' registered 17:50:23: Particle Affector Type 'ColourFader2' registered 17:50:23: Particle Affector Type 'ColourImage' registered 17:50:23: Particle Affector Type 'ColourInterpolator' registered 17:50:23: Particle Affector Type 'Scaler' registered 17:50:23: Particle Affector Type 'Rotator' registered 17:50:23: Particle Affector Type 'DirectionRandomiser' registered 17:50:23: Particle Affector Type 'DeflectorPlane' registered 17:50:23: Plugin successfully installed 17:50:23: CPU Identifier & Features 17:50:23: ------------------------- 17:50:23: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 17:50:23: * Logical cores: 12 17:50:23: * SSE: yes 17:50:23: * SSE2: yes 17:50:23: * SSE3: yes 17:50:23: * MMX: yes 17:50:23: * MMXEXT: yes 17:50:23: * 3DNOW: no 17:50:23: * 3DNOWEXT: no 17:50:23: * CMOV: yes 17:50:23: * TSC: yes 17:50:23: * FPU: yes 17:50:23: * PRO: yes 17:50:23: * HT: no 17:50:23: ------------------------- 17:50:23: ****************************** *** Starting GLX Subsystem *** ****************************** 17:50:23: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_6291457", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=6291457 stereoMode=Frame Sequential 17:50:23: Created GL 4.1 context 17:50:23: GLXWindow::create used FBConfigID = 178 17:50:23: GL Version = 4.1.0.0 17:50:23: GL_VERSION = 4.1 (Core Profile) Mesa 22.2.5 17:50:23: GL_VENDOR = Microsoft Corporation 17:50:23: GL_RENDERER = D3D12 (Intel(R) UHD Graphics) 17:50:23: GL_EXTENSIONS = 17:50:23: GL_AMD_conservative_depth 17:50:23: GL_AMD_draw_buffers_blend 17:50:23: GL_AMD_gpu_shader_int64 17:50:23: GL_AMD_multi_draw_indirect 17:50:23: GL_AMD_shader_stencil_export 17:50:23: GL_AMD_shader_trinary_minmax 17:50:23: GL_AMD_texture_texture4 17:50:23: GL_ANGLE_texture_compression_dxt3 17:50:23: GL_ANGLE_texture_compression_dxt5 17:50:23: GL_ARB_ES2_compatibility 17:50:23: GL_ARB_ES3_compatibility 17:50:23: GL_ARB_arrays_of_arrays 17:50:23: GL_ARB_base_instance 17:50:23: GL_ARB_blend_func_extended 17:50:23: GL_ARB_clear_buffer_object 17:50:23: GL_ARB_clip_control 17:50:23: GL_ARB_compressed_texture_pixel_storage 17:50:23: GL_ARB_conditional_render_inverted 17:50:23: GL_ARB_conservative_depth 17:50:23: GL_ARB_copy_buffer 17:50:23: GL_ARB_debug_output 17:50:23: GL_ARB_depth_buffer_float 17:50:23: GL_ARB_depth_clamp 17:50:23: GL_ARB_direct_state_access 17:50:23: GL_ARB_draw_buffers 17:50:23: GL_ARB_draw_buffers_blend 17:50:23: GL_ARB_draw_elements_base_vertex 17:50:23: GL_ARB_draw_indirect 17:50:23: GL_ARB_draw_instanced 17:50:23: GL_ARB_explicit_attrib_location 17:50:23: GL_ARB_explicit_uniform_location 17:50:23: GL_ARB_fragment_coord_conventions 17:50:23: GL_ARB_fragment_layer_viewport 17:50:23: GL_ARB_fragment_shader 17:50:23: GL_ARB_framebuffer_no_attachments 17:50:23: GL_ARB_framebuffer_object 17:50:23: GL_ARB_framebuffer_sRGB 17:50:23: GL_ARB_get_program_binary 17:50:23: GL_ARB_get_texture_sub_image 17:50:23: GL_ARB_gpu_shader5 17:50:23: GL_ARB_gpu_shader_fp64 17:50:23: GL_ARB_gpu_shader_int64 17:50:23: GL_ARB_half_float_pixel 17:50:23: GL_ARB_half_float_vertex 17:50:23: GL_ARB_indirect_parameters 17:50:23: GL_ARB_instanced_arrays 17:50:23: GL_ARB_internalformat_query 17:50:23: GL_ARB_internalformat_query2 17:50:23: GL_ARB_invalidate_subdata 17:50:23: GL_ARB_map_buffer_alignment 17:50:23: GL_ARB_map_buffer_range 17:50:23: GL_ARB_multi_bind 17:50:23: GL_ARB_multi_draw_indirect 17:50:23: GL_ARB_occlusion_query2 17:50:23: GL_ARB_parallel_shader_compile 17:50:23: GL_ARB_pixel_buffer_object 17:50:23: GL_ARB_point_sprite 17:50:23: GL_ARB_program_interface_query 17:50:23: GL_ARB_provoking_vertex 17:50:23: GL_ARB_robust_buffer_access_behavior 17:50:23: GL_ARB_robustness 17:50:23: GL_ARB_sample_shading 17:50:23: GL_ARB_sampler_objects 17:50:23: GL_ARB_seamless_cube_map 17:50:23: GL_ARB_separate_shader_objects 17:50:23: GL_ARB_shader_atomic_counter_ops 17:50:23: GL_ARB_shader_atomic_counters 17:50:23: GL_ARB_shader_bit_encoding 17:50:23: GL_ARB_shader_draw_parameters 17:50:23: GL_ARB_shader_objects 17:50:23: GL_ARB_shader_precision 17:50:23: GL_ARB_shader_stencil_export 17:50:23: GL_ARB_shader_storage_buffer_object 17:50:23: GL_ARB_shader_subroutine 17:50:23: GL_ARB_shader_texture_lod 17:50:23: GL_ARB_shading_language_420pack 17:50:23: GL_ARB_shading_language_include 17:50:23: GL_ARB_shading_language_packing 17:50:23: GL_ARB_stencil_texturing 17:50:23: GL_ARB_sync 17:50:23: GL_ARB_tessellation_shader 17:50:23: GL_ARB_texture_buffer_object 17:50:23: GL_ARB_texture_buffer_object_rgb32 17:50:23: GL_ARB_texture_buffer_range 17:50:23: GL_ARB_texture_compression_bptc 17:50:23: GL_ARB_texture_compression_rgtc 17:50:23: GL_ARB_texture_cube_map_array 17:50:23: GL_ARB_texture_filter_anisotropic 17:50:23: GL_ARB_texture_float 17:50:23: GL_ARB_texture_gather 17:50:23: GL_ARB_texture_multisample 17:50:23: GL_ARB_texture_non_power_of_two 17:50:23: GL_ARB_texture_query_levels 17:50:23: GL_ARB_texture_query_lod 17:50:23: GL_ARB_texture_rectangle 17:50:23: GL_ARB_texture_rg 17:50:23: GL_ARB_texture_rgb10_a2ui 17:50:23: GL_ARB_texture_stencil8 17:50:23: GL_ARB_texture_storage 17:50:23: GL_ARB_texture_storage_multisample 17:50:23: GL_ARB_texture_swizzle 17:50:23: GL_ARB_timer_query 17:50:23: GL_ARB_transform_feedback2 17:50:23: GL_ARB_transform_feedback3 17:50:23: GL_ARB_transform_feedback_instanced 17:50:23: GL_ARB_uniform_buffer_object 17:50:23: GL_ARB_vertex_array_bgra 17:50:23: GL_ARB_vertex_array_object 17:50:23: GL_ARB_vertex_attrib_64bit 17:50:23: GL_ARB_vertex_attrib_binding 17:50:23: GL_ARB_vertex_buffer_object 17:50:23: GL_ARB_vertex_shader 17:50:23: GL_ARB_vertex_type_10f_11f_11f_rev 17:50:23: GL_ARB_vertex_type_2_10_10_10_rev 17:50:23: GL_ARB_viewport_array 17:50:23: GL_ATI_blend_equation_separate 17:50:23: GL_ATI_texture_float 17:50:23: GL_EXT_EGL_image_storage 17:50:23: GL_EXT_EGL_sync 17:50:23: GL_EXT_abgr 17:50:23: GL_EXT_blend_equation_separate 17:50:23: GL_EXT_draw_buffers2 17:50:23: GL_EXT_draw_instanced 17:50:23: GL_EXT_framebuffer_blit 17:50:23: GL_EXT_framebuffer_multisample 17:50:23: GL_EXT_framebuffer_multisample_blit_scaled 17:50:23: GL_EXT_framebuffer_object 17:50:23: GL_EXT_framebuffer_sRGB 17:50:23: GL_EXT_memory_object 17:50:23: GL_EXT_memory_object_fd 17:50:23: GL_EXT_packed_depth_stencil 17:50:23: GL_EXT_packed_float 17:50:23: GL_EXT_pixel_buffer_object 17:50:23: GL_EXT_provoking_vertex 17:50:23: GL_EXT_semaphore 17:50:23: GL_EXT_semaphore_fd 17:50:23: GL_EXT_shader_integer_mix 17:50:23: GL_EXT_texture_array 17:50:23: GL_EXT_texture_compression_dxt1 17:50:23: GL_EXT_texture_compression_rgtc 17:50:23: GL_EXT_texture_compression_s3tc 17:50:23: GL_EXT_texture_filter_anisotropic 17:50:23: GL_EXT_texture_integer 17:50:23: GL_EXT_texture_sRGB 17:50:23: GL_EXT_texture_sRGB_decode 17:50:23: GL_EXT_texture_shared_exponent 17:50:23: GL_EXT_texture_snorm 17:50:23: GL_EXT_texture_swizzle 17:50:23: GL_EXT_timer_query 17:50:23: GL_EXT_transform_feedback 17:50:23: GL_EXT_vertex_array_bgra 17:50:23: GL_EXT_vertex_attrib_64bit 17:50:23: GL_IBM_multimode_draw_arrays 17:50:23: GL_KHR_context_flush_control 17:50:23: GL_KHR_debug 17:50:23: GL_KHR_no_error 17:50:23: GL_KHR_parallel_shader_compile 17:50:23: GL_KHR_robust_buffer_access_behavior 17:50:23: GL_KHR_robustness 17:50:23: GL_KHR_texture_compression_astc_ldr 17:50:23: GL_KHR_texture_compression_astc_sliced_3d 17:50:23: GL_MESA_pack_invert 17:50:23: GL_MESA_shader_integer_functions 17:50:23: GL_MESA_texture_signed_rgba 17:50:23: GL_NV_conditional_render 17:50:23: GL_NV_copy_image 17:50:23: GL_NV_depth_clamp 17:50:23: GL_NV_packed_depth_stencil 17:50:23: GL_NV_vdpau_interop 17:50:23: GL_OES_EGL_image 17:50:23: GL_S3_s3tc 17:50:23: ************************************** 17:50:23: *** OpenGL 3+ Renderer Started *** 17:50:23: ************************************** 17:50:23: Registering ResourceManager for type GpuProgram 17:50:23: RenderSystem capabilities 17:50:23: ------------------------- 17:50:23: RenderSystem Name: OpenGL 3+ Rendering Subsystem 17:50:23: GPU Vendor: microsoft 17:50:23: Device Name: D3D12 (Intel(R) UHD Graphics) 17:50:23: Driver Version: 4.1.0.0 17:50:23: * Fixed function pipeline: no 17:50:23: * Hardware generation of mipmaps: yes 17:50:23: * Texture blending: yes 17:50:23: * Anisotropic texture filtering: yes 17:50:23: * Dot product texture operation: yes 17:50:23: * Cube mapping: yes 17:50:23: * Hardware stencil buffer: yes 17:50:23: - Stencil depth: 8 17:50:23: - Two sided stencil support: yes 17:50:23: - Wrap stencil values: yes 17:50:23: * Hardware vertex / index buffers: yes 17:50:23: * 32-bit index buffers: yes 17:50:23: * Vertex programs: yes 17:50:23: * Number of floating-point constants for vertex programs: 16352 17:50:23: * Number of integer constants for vertex programs: 16352 17:50:23: * Number of boolean constants for vertex programs: 16352 17:50:23: * Fragment programs: yes 17:50:23: * Number of floating-point constants for fragment programs: 16380 17:50:23: * Number of integer constants for fragment programs: 16380 17:50:23: * Number of boolean constants for fragment programs: 16380 17:50:23: * Geometry programs: yes 17:50:23: * Number of floating-point constants for geometry programs: 16352 17:50:23: * Number of integer constants for geometry programs: 16352 17:50:23: * Number of boolean constants for geometry programs: 16352 17:50:23: * Tessellation Hull programs: yes 17:50:23: * Number of floating-point constants for tessellation hull programs: 16384 17:50:23: * Number of integer constants for tessellation hull programs: 16384 17:50:23: * Number of boolean constants for tessellation hull programs: 16384 17:50:23: * Tessellation Domain programs: yes 17:50:23: * Number of floating-point constants for tessellation domain programs: 16352 17:50:23: * Number of integer constants for tessellation domain programs: 16352 17:50:23: * Number of boolean constants for tessellation domain programs: 16352 17:50:23: * Compute programs: no 17:50:23: * Number of floating-point constants for compute programs: 0 17:50:23: * Number of integer constants for compute programs: 0 17:50:23: * Number of boolean constants for compute programs: 64768 17:50:23: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 17:50:23: * Texture Compression: yes 17:50:23: - DXT: yes 17:50:23: - VTC: no 17:50:23: - PVRTC: no 17:50:23: - ATC: no 17:50:23: - ETC1: no 17:50:23: - ETC2: yes 17:50:23: - BC4/BC5: yes 17:50:23: - BC6H/BC7: yes 17:50:23: - ASTC: yes 17:50:23: * Hardware Occlusion Query: yes 17:50:23: * User clip planes: yes 17:50:23: * VET_UBYTE4 vertex element type: yes 17:50:23: * Infinite far plane projection: yes 17:50:23: * Hardware render-to-texture: yes 17:50:23: * Floating point textures: yes 17:50:23: * Non-power-of-two textures: yes 17:50:23: * 1d textures: yes 17:50:23: * Volume textures: yes 17:50:23: * Max Texture resolution (2D) 16384 17:50:23: * Max Texture resolution (3D) 1024 17:50:23: * Max Texture resolution (Cubemaps) 16384 17:50:23: * Multiple Render Targets: 8 17:50:23: - With different bit depths: yes 17:50:23: * Point Sprites: yes 17:50:23: * Extended point parameters: yes 17:50:23: * Max Point Size: 255 17:50:23: * Vertex texture fetch: yes 17:50:23: * Number of world matrices: 0 17:50:23: * Number of texture units: 16 17:50:23: * Stencil buffer depth: 8 17:50:23: * Number of vertex blend matrices: 0 17:50:23: - Max vertex textures: 32 17:50:23: - Vertex textures shared: yes 17:50:23: * Render to Vertex Buffer : yes 17:50:23: * Hardware Atomic Counters: yes 17:50:23: * GL 1.5 without VBO workaround: no 17:50:23: * Frame Buffer objects: yes 17:50:23: * Frame Buffer objects (ARB extension): no 17:50:23: * Frame Buffer objects (ATI extension): no 17:50:23: * PBuffer support: no 17:50:23: * GL 1.5 without HW-occlusion workaround: no 17:50:23: * Vertex Array Objects: yes 17:50:23: * Separate shader objects: no 17:50:23: * Using Reverse Z: yes 17:50:23: DefaultWorkQueue('Root') initialising on thread main. 17:50:23: Particle Renderer Type 'billboard' registered 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 17:50:23: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:50:23: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 17:50:23: Parsing scripts for resource group Autodetect 17:50:23: Finished parsing scripts for resource group Autodetect 17:50:23: Creating resources for group Autodetect 17:50:23: All done 17:50:23: Parsing scripts for resource group General 17:50:23: Parsing script Quad.program 17:50:23: Parsing script picker.program 17:50:23: Parsing script DepthUtils.material 17:50:23: Parsing script Copyback.material 17:50:23: Parsing script EsmGaussianBlurLogFilter.material 17:50:23: Parsing script DPSM.material 17:50:23: Parsing script GpuNormalMapper.material 17:50:23: Parsing script gaussian_noise.material 17:50:23: Parsing script selection_buffer.material 17:50:23: Parsing script skybox.material 17:50:23: Parsing script thermal.material 17:50:23: Parsing script picker.material 17:50:23: Parsing script depth_camera.material 17:50:23: Parsing script gpu_rays.material 17:50:23: Parsing script point_cloud_point.material 17:50:23: Parsing script TerraShadowGenerator.compositor 17:50:23: Parsing script GpuNormalMapper.compositor 17:50:23: Parsing script GpuRays.compositor 17:50:23: Parsing script EsmGaussianBlurLogFilter.material.json 17:50:23: Parsing script Mipmaps.material.json 17:50:23: Parsing script TerraShadowGenerator.material.json 17:50:23: Finished parsing scripts for resource group General 17:50:23: Creating resources for group General 17:50:23: All done 17:50:23: Parsing scripts for resource group Internal 17:50:23: Finished parsing scripts for resource group Internal 17:50:23: Creating resources for group Internal 17:50:23: All done 17:50:23: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:50:23: Can't assign material scene::Material(65518) because this Material does not exist. Have you forgotten to define it in a .material script? 17:50:23: Added resource location '/home/traversaro/gz-ws/src/gz-rendering/test/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:50:24: Vertex Shader: 100000001VertexShader_vs Fragment Shader: 100000001PixelShader_ps GLSL validation result : active samplers with a different type refer to the same texture image unit 17:50:27: Unregistering ResourceManager for type Font 17:50:27: DefaultWorkQueue('Root') shutting down on thread main. 17:50:27: *-*-* OGRE Shutdown 17:50:27: Unregistering ResourceManager for type OldSkeleton 17:50:27: Unregistering ResourceManager for type Mesh2 17:50:27: Unregistering ResourceManager for type Mesh 17:50:27: Unregistering ResourceManager for type Material 17:50:27: Unregistering ResourceManager for type HighLevelGpuProgram 17:50:27: Uninstalling plugin: ParticleFX 17:50:27: Plugin successfully uninstalled 17:50:27: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:50:27: Uninstalling plugin: GL 3+ RenderSystem 17:50:27: Unregistering ResourceManager for type GpuProgram 17:50:27: ****************************** *** Stopping GLX Subsystem *** ****************************** 17:50:27: Plugin successfully uninstalled 17:50:27: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so ~~~
traversaro commented 1 year ago

UNIT_Utils_TEST_ogre2_gl3plus

Test failure log ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ ctest -VV -R UNIT_Utils_TEST_ogre2_gl3plus UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl UpdateCTestConfiguration from :/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Parse Config file:/home/traversaro/gz-ws/build/gz-rendering7/DartConfiguration.tcl Test project /home/traversaro/gz-ws/build/gz-rendering7 Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 119 Start 119: UNIT_Utils_TEST_ogre2_gl3plus 119: Test command: /home/traversaro/gz-ws/build/gz-rendering7/bin/UNIT_Utils_TEST "--gtest_output=xml:/home/traversaro/gz-ws/build/gz-rendering7/test_results/UNIT_Utils_TEST_ogre2_gl3plus.xml" 119: Working Directory: /home/traversaro/gz-ws/build/gz-rendering7/test/common_test 119: Environment variables: 119: GZ_ENGINE_TO_TEST=ogre2 119: GZ_ENGINE_BACKEND=gl3plus 119: Test timeout computed to be: 240 119: Running main() from /home/traversaro/gz-ws/src/gz-rendering/test/gtest_vendor/src/gtest_main.cc 119: [==========] Running 2 tests from 1 test suite. 119: [----------] Global test environment set-up. 119: [----------] 2 tests from UtilTest 119: [ RUN ] UtilTest.ClickToScene 119: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 119: 119: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 119: 119: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 119: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 119: [Msg] Loading plugin [gz-rendering-ogre2] 119: [ OK ] UtilTest.ClickToScene (2074 ms) 119: [ RUN ] UtilTest.ClickToSceneHeightmap 119: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 119: 119: libEGL warning: failed to open /dev/dri/renderD128: Permission denied 119: 119: [Wrn] [Ogre2Heightmap.cc:118] Heightmap final sampling should be 2^n 119: which differs from ogre1's 2^n+1 119: The last row and column will be cropped 119: size = (width * sampling) - sampling + 1 119: [513] = ([129] * [4]) - [4] + 1 119: [Dbg] [CommonRenderingTest.hh:44] Read GZ_ENGINE_TO_TEST=ogre2 119: [Dbg] [CommonRenderingTest.hh:47] Read GZ_ENGINE_BACKEND=gl3plus 119: [Msg] Loading plugin [gz-rendering-ogre2] 119: [Msg] Loading heightmap: scene::Heightmap(65525) 119: [Msg] Heightmap loaded. Process took 0 ms. 119: Error found while compiling with enable_include_header. This is the final output: 119: >>> BEGIN SOURCE 119: 119: #version 430 119: 119: 119: 119: layout(std140) uniform; 119: 119: layout( rgb10_a2 ) 119: uniform restrict writeonly image2D shadowMap; 119: 119: 119: uniform sampler2D heightMap; 119: 119: layout( local_size_x = 64, 119: local_size_y = 1, 119: local_size_z = 1 ) in; 119: 119: 119: 119: 119: 119: 119: 119: 119: 119: uniform vec2 delta; 119: 119: uniform ivec2 xyStep; 119: uniform int isSteep; 119: 119: 119: uniform float heightDelta; 119: 119: uniform uint resolutionShift; 119: 119: 119: layout(binding = 0) uniform StartsBuffer 119: { 119: ivec4 startXY[4096]; 119: }; 119: 119: struct PerGroupData 119: { 119: int iterations; 119: float deltaErrorStart; 119: float padding0; 119: float padding1; 119: }; 119: 119: layout(binding = 1) uniform PerGroupDataBuffer 119: { 119: PerGroupData perGroupData[4096]; 119: }; 119: 119: vec2 calcShadow( ivec2 xyPos, vec2 prevHeight ) 119: { 119: prevHeight.x -= heightDelta; 119: prevHeight.y = prevHeight.y * 0.985 - heightDelta; 119: 119: float currHeight = float( texelFetch( heightMap, xyPos << int( resolutionShift ), 0 ).x ); 119: 119: 119: 119: float shadowValue = smoothstep( prevHeight.y, prevHeight.x, currHeight + 0.001 ); 119: 119: prevHeight.x = currHeight >= prevHeight.x ? currHeight : prevHeight.x; 119: prevHeight.y = currHeight >= prevHeight.y ? currHeight : prevHeight.y; 119: 119: 119: 119: 119: 119: 119: vec2 roundedHeight = floor( clamp( prevHeight.xy, 0, 1 ) * 1023.0 + 0.5 ) - 1.0; 119: float invHeightLength = 1.0 / (roundedHeight.x - roundedHeight.y + 1); 119: roundedHeight.y *= 0.000977517; 119: 119: imageStore( shadowMap, xyPos, vec4( shadowValue, roundedHeight.y, invHeightLength, 1.0 ) ); 119: 119: return prevHeight; 119: } 119: 119: void main() 119: { 119: vec2 prevHeight = vec2( 0.0, 0.0 ); 119: float error = delta.x * 0.5 + perGroupData[gl_WorkGroupID.x].deltaErrorStart; 119: 119: int x, y; 119: if( gl_GlobalInvocationID.x < 4096u ) 119: { 119: x = startXY[gl_GlobalInvocationID.x].x; 119: y = startXY[gl_GlobalInvocationID.x].y; 119: } 119: else 119: { 119: 119: 119: 119: 119: x = startXY[gl_GlobalInvocationID.x - 4096u].z; 119: y = startXY[gl_GlobalInvocationID.x - 4096u].w; 119: } 119: 119: int numIterations = perGroupData[gl_WorkGroupID.x].iterations; 119: for( int i=0; i>> END SOURCE 119: unknown file: Failure 119: C++ exception with description "OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)" thrown in the test body. 119: [ FAILED ] UtilTest.ClickToSceneHeightmap (258 ms) 119: [----------] 2 tests from UtilTest (2332 ms total) 119: 119: [----------] Global test environment tear-down 119: [==========] 2 tests from 1 test suite ran. (2332 ms total) 119: [ PASSED ] 1 test. 119: [ FAILED ] 1 test, listed below: 119: [ FAILED ] UtilTest.ClickToSceneHeightmap 119: 119: 1 FAILED TEST 1/2 Test #119: UNIT_Utils_TEST_ogre2_gl3plus .........***Failed 2.42 sec ~~~
~/.gz/rendering/ogre2.log file ~~~ (gz-ws) traversaro@IITICUBLAP257:~/gz-ws/build/gz-rendering7$ cat ~/.gz/rendering/ogre2.log 17:48:50: Creating resource group General 17:48:50: Creating resource group Internal 17:48:50: Creating resource group Autodetect 17:48:50: SceneManagerFactory for type 'DefaultSceneManager' registered. 17:48:50: Registering ResourceManager for type Material 17:48:50: Registering ResourceManager for type Mesh 17:48:50: Registering ResourceManager for type Mesh2 17:48:50: Registering ResourceManager for type OldSkeleton 17:48:50: MovableObjectFactory for type 'ParticleSystem' registered. 17:48:50: ArchiveFactory for archive type FileSystem registered. 17:48:50: ArchiveFactory for archive type Zip registered. 17:48:50: ArchiveFactory for archive type EmbeddedZip registered. 17:48:50: DDS codec registering 17:48:50: FreeImage version: 3.18.0 17:48:50: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details 17:48:50: 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,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 17:48:50: OITD codec registering 17:48:50: Registering ResourceManager for type HighLevelGpuProgram 17:48:50: MovableObjectFactory for type 'Decal' registered. 17:48:50: MovableObjectFactory for type 'InternalCubemapProbe' registered. 17:48:50: MovableObjectFactory for type 'Entity' registered. 17:48:50: MovableObjectFactory for type 'Item' registered. 17:48:50: MovableObjectFactory for type 'Light' registered. 17:48:50: MovableObjectFactory for type 'Rectangle2Dv2' registered. 17:48:50: MovableObjectFactory for type 'BillboardSet' registered. 17:48:50: MovableObjectFactory for type 'ManualObject2' registered. 17:48:50: MovableObjectFactory for type 'BillboardChain' registered. 17:48:50: MovableObjectFactory for type 'RibbonTrail' registered. 17:48:50: MovableObjectFactory for type 'WireAabb' registered. 17:48:50: *-*-* OGRE Initialising 17:48:50: *-*-* Version 2.3.1 (Daedalus) 17:48:50: OverlayElementFactory for type Panel registered. 17:48:50: OverlayElementFactory for type BorderPanel registered. 17:48:50: OverlayElementFactory for type TextArea registered. 17:48:50: Registering ResourceManager for type Font 17:48:50: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so 17:48:50: Installing plugin: GL 3+ RenderSystem 17:48:50: OpenGL 3+ Rendering Subsystem created. 17:48:50: Found Num EGL Devices: 2 17:48:50: EGL Device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 17:48:50: Trying to init device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:48:50: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:48:50: OGRE EXCEPTION(3:RenderingAPIException): eglInitialize failed for device EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0 in EGLSupport::getGLDisplay at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/windowing/EGL/PBuffer/OgreEglPBufferSupport.cpp (line 320) 17:48:50: Destroying device: EGL_EXT_device_drm EGL_EXT_device_drm_render_node #0 /dev/dri/card0... 17:48:50: EGL Device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:48:50: Trying to init device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:48:50: Created GL 4.1 context for device EGL_MESA_device_software EGL_EXT_device_drm_render_node #1 17:48:50: Destroying device: EGL_MESA_device_software EGL_EXT_device_drm_render_node #1... 17:48:50: Plugin successfully installed 17:48:50: Loading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:48:50: Installing plugin: ParticleFX 17:48:50: Particle Emitter Type 'Point' registered 17:48:50: Particle Emitter Type 'Box' registered 17:48:50: Particle Emitter Type 'Ellipsoid' registered 17:48:50: Particle Emitter Type 'Cylinder' registered 17:48:50: Particle Emitter Type 'Ring' registered 17:48:50: Particle Emitter Type 'HollowEllipsoid' registered 17:48:50: Particle Affector Type 'LinearForce' registered 17:48:50: Particle Affector Type 'ColourFader' registered 17:48:50: Particle Affector Type 'ColourFader2' registered 17:48:50: Particle Affector Type 'ColourImage' registered 17:48:50: Particle Affector Type 'ColourInterpolator' registered 17:48:50: Particle Affector Type 'Scaler' registered 17:48:50: Particle Affector Type 'Rotator' registered 17:48:50: Particle Affector Type 'DirectionRandomiser' registered 17:48:50: Particle Affector Type 'DeflectorPlane' registered 17:48:50: Plugin successfully installed 17:48:50: CPU Identifier & Features 17:48:50: ------------------------- 17:48:50: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 17:48:50: * Logical cores: 12 17:48:50: * SSE: yes 17:48:50: * SSE2: yes 17:48:50: * SSE3: yes 17:48:50: * MMX: yes 17:48:50: * MMXEXT: yes 17:48:50: * 3DNOW: no 17:48:50: * 3DNOWEXT: no 17:48:50: * CMOV: yes 17:48:50: * TSC: yes 17:48:50: * FPU: yes 17:48:50: * PRO: yes 17:48:50: * HT: no 17:48:50: ------------------------- 17:48:50: ****************************** *** Starting GLX Subsystem *** ****************************** 17:48:50: GL3PlusRenderSystem::_createRenderWindow "OgreWindow(0)_6291457", 1x1 windowed miscParams: FSAA=0 border=none contentScalingFactor=1.000000 gamma=Yes parentWindowHandle=6291457 stereoMode=Frame Sequential 17:48:50: Created GL 4.1 context 17:48:50: GLXWindow::create used FBConfigID = 178 17:48:50: GL Version = 4.1.0.0 17:48:50: GL_VERSION = 4.1 (Core Profile) Mesa 22.2.5 17:48:50: GL_VENDOR = Microsoft Corporation 17:48:50: GL_RENDERER = D3D12 (Intel(R) UHD Graphics) 17:48:50: GL_EXTENSIONS = 17:48:50: GL_AMD_conservative_depth 17:48:50: GL_AMD_draw_buffers_blend 17:48:50: GL_AMD_gpu_shader_int64 17:48:50: GL_AMD_multi_draw_indirect 17:48:50: GL_AMD_shader_stencil_export 17:48:50: GL_AMD_shader_trinary_minmax 17:48:50: GL_AMD_texture_texture4 17:48:50: GL_ANGLE_texture_compression_dxt3 17:48:50: GL_ANGLE_texture_compression_dxt5 17:48:50: GL_ARB_ES2_compatibility 17:48:50: GL_ARB_ES3_compatibility 17:48:50: GL_ARB_arrays_of_arrays 17:48:50: GL_ARB_base_instance 17:48:50: GL_ARB_blend_func_extended 17:48:50: GL_ARB_clear_buffer_object 17:48:50: GL_ARB_clip_control 17:48:50: GL_ARB_compressed_texture_pixel_storage 17:48:50: GL_ARB_conditional_render_inverted 17:48:50: GL_ARB_conservative_depth 17:48:50: GL_ARB_copy_buffer 17:48:50: GL_ARB_debug_output 17:48:50: GL_ARB_depth_buffer_float 17:48:50: GL_ARB_depth_clamp 17:48:50: GL_ARB_direct_state_access 17:48:50: GL_ARB_draw_buffers 17:48:50: GL_ARB_draw_buffers_blend 17:48:50: GL_ARB_draw_elements_base_vertex 17:48:50: GL_ARB_draw_indirect 17:48:50: GL_ARB_draw_instanced 17:48:50: GL_ARB_explicit_attrib_location 17:48:50: GL_ARB_explicit_uniform_location 17:48:50: GL_ARB_fragment_coord_conventions 17:48:50: GL_ARB_fragment_layer_viewport 17:48:50: GL_ARB_fragment_shader 17:48:50: GL_ARB_framebuffer_no_attachments 17:48:50: GL_ARB_framebuffer_object 17:48:50: GL_ARB_framebuffer_sRGB 17:48:50: GL_ARB_get_program_binary 17:48:50: GL_ARB_get_texture_sub_image 17:48:50: GL_ARB_gpu_shader5 17:48:50: GL_ARB_gpu_shader_fp64 17:48:50: GL_ARB_gpu_shader_int64 17:48:50: GL_ARB_half_float_pixel 17:48:50: GL_ARB_half_float_vertex 17:48:50: GL_ARB_indirect_parameters 17:48:50: GL_ARB_instanced_arrays 17:48:50: GL_ARB_internalformat_query 17:48:50: GL_ARB_internalformat_query2 17:48:50: GL_ARB_invalidate_subdata 17:48:50: GL_ARB_map_buffer_alignment 17:48:50: GL_ARB_map_buffer_range 17:48:50: GL_ARB_multi_bind 17:48:50: GL_ARB_multi_draw_indirect 17:48:50: GL_ARB_occlusion_query2 17:48:50: GL_ARB_parallel_shader_compile 17:48:50: GL_ARB_pixel_buffer_object 17:48:50: GL_ARB_point_sprite 17:48:50: GL_ARB_program_interface_query 17:48:50: GL_ARB_provoking_vertex 17:48:50: GL_ARB_robust_buffer_access_behavior 17:48:50: GL_ARB_robustness 17:48:50: GL_ARB_sample_shading 17:48:50: GL_ARB_sampler_objects 17:48:50: GL_ARB_seamless_cube_map 17:48:50: GL_ARB_separate_shader_objects 17:48:50: GL_ARB_shader_atomic_counter_ops 17:48:50: GL_ARB_shader_atomic_counters 17:48:50: GL_ARB_shader_bit_encoding 17:48:50: GL_ARB_shader_draw_parameters 17:48:50: GL_ARB_shader_objects 17:48:50: GL_ARB_shader_precision 17:48:50: GL_ARB_shader_stencil_export 17:48:50: GL_ARB_shader_storage_buffer_object 17:48:50: GL_ARB_shader_subroutine 17:48:50: GL_ARB_shader_texture_lod 17:48:50: GL_ARB_shading_language_420pack 17:48:50: GL_ARB_shading_language_include 17:48:50: GL_ARB_shading_language_packing 17:48:50: GL_ARB_stencil_texturing 17:48:50: GL_ARB_sync 17:48:50: GL_ARB_tessellation_shader 17:48:50: GL_ARB_texture_buffer_object 17:48:50: GL_ARB_texture_buffer_object_rgb32 17:48:50: GL_ARB_texture_buffer_range 17:48:50: GL_ARB_texture_compression_bptc 17:48:50: GL_ARB_texture_compression_rgtc 17:48:50: GL_ARB_texture_cube_map_array 17:48:50: GL_ARB_texture_filter_anisotropic 17:48:50: GL_ARB_texture_float 17:48:50: GL_ARB_texture_gather 17:48:50: GL_ARB_texture_multisample 17:48:50: GL_ARB_texture_non_power_of_two 17:48:50: GL_ARB_texture_query_levels 17:48:50: GL_ARB_texture_query_lod 17:48:50: GL_ARB_texture_rectangle 17:48:50: GL_ARB_texture_rg 17:48:50: GL_ARB_texture_rgb10_a2ui 17:48:50: GL_ARB_texture_stencil8 17:48:50: GL_ARB_texture_storage 17:48:50: GL_ARB_texture_storage_multisample 17:48:50: GL_ARB_texture_swizzle 17:48:50: GL_ARB_timer_query 17:48:50: GL_ARB_transform_feedback2 17:48:50: GL_ARB_transform_feedback3 17:48:50: GL_ARB_transform_feedback_instanced 17:48:50: GL_ARB_uniform_buffer_object 17:48:50: GL_ARB_vertex_array_bgra 17:48:50: GL_ARB_vertex_array_object 17:48:50: GL_ARB_vertex_attrib_64bit 17:48:50: GL_ARB_vertex_attrib_binding 17:48:50: GL_ARB_vertex_buffer_object 17:48:50: GL_ARB_vertex_shader 17:48:50: GL_ARB_vertex_type_10f_11f_11f_rev 17:48:50: GL_ARB_vertex_type_2_10_10_10_rev 17:48:50: GL_ARB_viewport_array 17:48:50: GL_ATI_blend_equation_separate 17:48:50: GL_ATI_texture_float 17:48:50: GL_EXT_EGL_image_storage 17:48:50: GL_EXT_EGL_sync 17:48:50: GL_EXT_abgr 17:48:50: GL_EXT_blend_equation_separate 17:48:50: GL_EXT_draw_buffers2 17:48:50: GL_EXT_draw_instanced 17:48:50: GL_EXT_framebuffer_blit 17:48:50: GL_EXT_framebuffer_multisample 17:48:50: GL_EXT_framebuffer_multisample_blit_scaled 17:48:50: GL_EXT_framebuffer_object 17:48:50: GL_EXT_framebuffer_sRGB 17:48:50: GL_EXT_memory_object 17:48:50: GL_EXT_memory_object_fd 17:48:50: GL_EXT_packed_depth_stencil 17:48:50: GL_EXT_packed_float 17:48:50: GL_EXT_pixel_buffer_object 17:48:50: GL_EXT_provoking_vertex 17:48:50: GL_EXT_semaphore 17:48:50: GL_EXT_semaphore_fd 17:48:50: GL_EXT_shader_integer_mix 17:48:50: GL_EXT_texture_array 17:48:50: GL_EXT_texture_compression_dxt1 17:48:50: GL_EXT_texture_compression_rgtc 17:48:50: GL_EXT_texture_compression_s3tc 17:48:50: GL_EXT_texture_filter_anisotropic 17:48:50: GL_EXT_texture_integer 17:48:50: GL_EXT_texture_sRGB 17:48:50: GL_EXT_texture_sRGB_decode 17:48:50: GL_EXT_texture_shared_exponent 17:48:50: GL_EXT_texture_snorm 17:48:50: GL_EXT_texture_swizzle 17:48:50: GL_EXT_timer_query 17:48:50: GL_EXT_transform_feedback 17:48:50: GL_EXT_vertex_array_bgra 17:48:50: GL_EXT_vertex_attrib_64bit 17:48:50: GL_IBM_multimode_draw_arrays 17:48:50: GL_KHR_context_flush_control 17:48:50: GL_KHR_debug 17:48:50: GL_KHR_no_error 17:48:50: GL_KHR_parallel_shader_compile 17:48:50: GL_KHR_robust_buffer_access_behavior 17:48:50: GL_KHR_robustness 17:48:50: GL_KHR_texture_compression_astc_ldr 17:48:50: GL_KHR_texture_compression_astc_sliced_3d 17:48:50: GL_MESA_pack_invert 17:48:50: GL_MESA_shader_integer_functions 17:48:50: GL_MESA_texture_signed_rgba 17:48:50: GL_NV_conditional_render 17:48:50: GL_NV_copy_image 17:48:50: GL_NV_depth_clamp 17:48:50: GL_NV_packed_depth_stencil 17:48:50: GL_NV_vdpau_interop 17:48:50: GL_OES_EGL_image 17:48:50: GL_S3_s3tc 17:48:50: ************************************** 17:48:50: *** OpenGL 3+ Renderer Started *** 17:48:50: ************************************** 17:48:50: Registering ResourceManager for type GpuProgram 17:48:50: RenderSystem capabilities 17:48:50: ------------------------- 17:48:50: RenderSystem Name: OpenGL 3+ Rendering Subsystem 17:48:50: GPU Vendor: microsoft 17:48:50: Device Name: D3D12 (Intel(R) UHD Graphics) 17:48:50: Driver Version: 4.1.0.0 17:48:50: * Fixed function pipeline: no 17:48:50: * Hardware generation of mipmaps: yes 17:48:50: * Texture blending: yes 17:48:50: * Anisotropic texture filtering: yes 17:48:50: * Dot product texture operation: yes 17:48:50: * Cube mapping: yes 17:48:50: * Hardware stencil buffer: yes 17:48:50: - Stencil depth: 8 17:48:50: - Two sided stencil support: yes 17:48:50: - Wrap stencil values: yes 17:48:50: * Hardware vertex / index buffers: yes 17:48:50: * 32-bit index buffers: yes 17:48:50: * Vertex programs: yes 17:48:50: * Number of floating-point constants for vertex programs: 16352 17:48:50: * Number of integer constants for vertex programs: 16352 17:48:50: * Number of boolean constants for vertex programs: 16352 17:48:50: * Fragment programs: yes 17:48:50: * Number of floating-point constants for fragment programs: 16380 17:48:50: * Number of integer constants for fragment programs: 16380 17:48:50: * Number of boolean constants for fragment programs: 16380 17:48:50: * Geometry programs: yes 17:48:50: * Number of floating-point constants for geometry programs: 16352 17:48:50: * Number of integer constants for geometry programs: 16352 17:48:50: * Number of boolean constants for geometry programs: 16352 17:48:50: * Tessellation Hull programs: yes 17:48:50: * Number of floating-point constants for tessellation hull programs: 16384 17:48:50: * Number of integer constants for tessellation hull programs: 16384 17:48:50: * Number of boolean constants for tessellation hull programs: 16384 17:48:50: * Tessellation Domain programs: yes 17:48:50: * Number of floating-point constants for tessellation domain programs: 16352 17:48:50: * Number of integer constants for tessellation domain programs: 16352 17:48:50: * Number of boolean constants for tessellation domain programs: 16352 17:48:50: * Compute programs: no 17:48:50: * Number of floating-point constants for compute programs: 26214 17:48:50: * Number of integer constants for compute programs: 29285 17:48:50: * Number of boolean constants for compute programs: 29535 17:48:50: * Supported Shader Profiles: glsl glsl130 glsl140 glsl150 glsl330 glsl400 glsl410 17:48:50: * Texture Compression: yes 17:48:50: - DXT: yes 17:48:50: - VTC: no 17:48:50: - PVRTC: no 17:48:50: - ATC: no 17:48:50: - ETC1: no 17:48:50: - ETC2: yes 17:48:50: - BC4/BC5: yes 17:48:50: - BC6H/BC7: yes 17:48:50: - ASTC: yes 17:48:50: * Hardware Occlusion Query: yes 17:48:50: * User clip planes: yes 17:48:50: * VET_UBYTE4 vertex element type: yes 17:48:50: * Infinite far plane projection: yes 17:48:50: * Hardware render-to-texture: yes 17:48:50: * Floating point textures: yes 17:48:50: * Non-power-of-two textures: yes 17:48:50: * 1d textures: yes 17:48:50: * Volume textures: yes 17:48:50: * Max Texture resolution (2D) 16384 17:48:50: * Max Texture resolution (3D) 1024 17:48:50: * Max Texture resolution (Cubemaps) 16384 17:48:50: * Multiple Render Targets: 8 17:48:50: - With different bit depths: yes 17:48:50: * Point Sprites: yes 17:48:50: * Extended point parameters: yes 17:48:50: * Max Point Size: 255 17:48:50: * Vertex texture fetch: yes 17:48:50: * Number of world matrices: 0 17:48:50: * Number of texture units: 16 17:48:50: * Stencil buffer depth: 8 17:48:50: * Number of vertex blend matrices: 0 17:48:50: - Max vertex textures: 32 17:48:50: - Vertex textures shared: yes 17:48:50: * Render to Vertex Buffer : yes 17:48:50: * Hardware Atomic Counters: yes 17:48:50: * GL 1.5 without VBO workaround: no 17:48:50: * Frame Buffer objects: yes 17:48:50: * Frame Buffer objects (ARB extension): no 17:48:50: * Frame Buffer objects (ATI extension): no 17:48:50: * PBuffer support: no 17:48:50: * GL 1.5 without HW-occlusion workaround: no 17:48:50: * Vertex Array Objects: yes 17:48:50: * Separate shader objects: no 17:48:50: * Using Reverse Z: yes 17:48:50: DefaultWorkQueue('Root') initialising on thread main. 17:48:50: Particle Renderer Type 'billboard' registered 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/2.0/scripts/materials/Terra/GLSL' of type 'FileSystem' to resource group 'General' 17:48:50: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:48:50: HLMS Library path '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/Hlms/Gz' has no piece files. Are you sure you provided the right path with read access? 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/programs/Metal' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/scripts' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/ogre2/media/materials/textures' of type 'FileSystem' to resource group 'General' 17:48:50: Parsing scripts for resource group Autodetect 17:48:50: Finished parsing scripts for resource group Autodetect 17:48:50: Creating resources for group Autodetect 17:48:50: All done 17:48:50: Parsing scripts for resource group General 17:48:50: Parsing script Quad.program 17:48:50: Parsing script picker.program 17:48:50: Parsing script DepthUtils.material 17:48:50: Parsing script Copyback.material 17:48:50: Parsing script EsmGaussianBlurLogFilter.material 17:48:50: Parsing script DPSM.material 17:48:50: Parsing script GpuNormalMapper.material 17:48:50: Parsing script gaussian_noise.material 17:48:50: Parsing script selection_buffer.material 17:48:50: Parsing script skybox.material 17:48:50: Parsing script thermal.material 17:48:50: Parsing script picker.material 17:48:50: Parsing script depth_camera.material 17:48:50: Parsing script gpu_rays.material 17:48:50: Parsing script point_cloud_point.material 17:48:50: Parsing script TerraShadowGenerator.compositor 17:48:50: Parsing script GpuNormalMapper.compositor 17:48:50: Parsing script GpuRays.compositor 17:48:50: Parsing script EsmGaussianBlurLogFilter.material.json 17:48:50: Parsing script Mipmaps.material.json 17:48:50: Parsing script TerraShadowGenerator.material.json 17:48:50: Finished parsing scripts for resource group General 17:48:50: Creating resources for group General 17:48:50: All done 17:48:50: Parsing scripts for resource group Internal 17:48:50: Finished parsing scripts for resource group Internal 17:48:50: Creating resources for group Internal 17:48:50: All done 17:48:50: Added resource location '/home/traversaro/gz-ws/install/share/gz/gz-rendering7/media/materials/textures/' of type 'FileSystem' to resource group 'General' 17:48:50: Added resource location '/home/traversaro/gz-ws/src/gz-rendering/test/media/materials/textures' of type 'FileSystem' to resource group 'General' with recursive option 17:48:50: Initialising resource group General 17:48:50: OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369) 17:48:50: Unregistering ResourceManager for type Font 17:48:50: DefaultWorkQueue('Root') shutting down on thread main. 17:48:50: *-*-* OGRE Shutdown 17:48:50: Unregistering ResourceManager for type OldSkeleton 17:48:50: Unregistering ResourceManager for type Mesh2 17:48:50: Unregistering ResourceManager for type Mesh 17:48:50: Unregistering ResourceManager for type Material 17:48:50: Unregistering ResourceManager for type HighLevelGpuProgram 17:48:50: Uninstalling plugin: ParticleFX 17:48:50: Plugin successfully uninstalled 17:48:50: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/Plugin_ParticleFX.so 17:48:50: Uninstalling plugin: GL 3+ RenderSystem 17:48:50: Unregistering ResourceManager for type GpuProgram 17:48:50: ****************************** *** Stopping GLX Subsystem *** ****************************** 17:48:50: Plugin successfully uninstalled 17:48:50: Unloading library /home/traversaro/gz-ws/install/lib/OGRE-Next/RenderSystem_GL3Plus.so ~~~
darksylinc commented 1 year ago

The heightmap sample doesn't say why it's failing but I have two very strong guesses:

The compute shader in heightmap is used for terrain shadows. In theory it could be possible to skip this (at the cost of not having terrain shadows), but supporting such path has its development cost.

traversaro commented 1 year ago

It looks like WSLg may not support Compute Shaders at all: The Ogre.log doesn't show the extension GL_ARB_compute_shader and this extension was made mandatory in core GL 4.3. Which suggests compute shaders are not supported by WSLg's current driver

Interestingly, it seems that GL_ARB_compute_shader should be supported by d3d12 : https://gitlab.freedesktop.org/mesa/mesa/-/blob/22.2/docs/features.txt?ref_type=heads#L174 , perhaps there is something strange on my testing setup.

darksylinc commented 1 year ago

Interestingly, it seems that GL_ARB_compute_shader should be supported by d3d12 perhaps there is something strange on my testing setup.

Quickly skimming through ARB_compute_shader shows "OpenGL 4.2 is required."

Thus it makes sense that the extension won't be exposed.

However that same document says OpenGL 4.2 is also done for d3d12.

Try seeing if glxinfo reports GL 4.1 or 4.2

If glxinfo reports 4.1, there's something wrong in your setup. If it reports 4.2, then try launching gazebo with env variable LD_DEBUG=libs to double check the right GL libraries are being loaded (compare it against what glxinfo loads).

If both glxinfo and gazebo load the same GL libraries but one creats a 4.2 context and the other 4.1; then that's likely a weird Ogre bug.

traversaro commented 1 year ago

Ok, some more debugging.

INTEGRATION_projector_ogre2_gl3plus

This test works fine by updating mesa (and hence d3d12) from 22.2.5 to 23.1.0 .

INTEGRATION_heightmap_ogre2_gl3plus

For this one, I understood why I got OpenGL 4.1 . Basically I have two GPUs on my system, an Intel one and a NVIDIA one. By default d3d12 picks the Intel one, that returns OpenGL 4.1 (probably due to underling limitation of the GPU or of the driver). By selecting NVIDIA, I am able to get OpenGL 4.2 :

traversaro@IITICUBLAP257:~7$ MESA_D3D12_DEFAULT_ADAPTER_NAME=Intel glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 4.1
    Max compat profile version: 4.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL core profile version string: 4.1 (Core Profile) Mesa 22.2.5
OpenGL core profile shading language version string: 4.10
OpenGL version string: 4.1 (Compatibility Profile) Mesa 22.2.5
OpenGL shading language version string: 4.10
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 22.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
traversaro@IITICUBLAP257:~$ MESA_D3D12_DEFAULT_ADAPTER_NAME=Intel glxinfo | grep GL_ARB_compute
traversaro@IITICUBLAP257:~$ MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 4.2
    Max compat profile version: 4.2
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.2 (Core Profile) Mesa 22.2.5
OpenGL core profile shading language version string: 4.20
OpenGL version string: 4.2 (Compatibility Profile) Mesa 22.2.5
OpenGL shading language version string: 4.20
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 22.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix,
traversaro@IITICUBLAP257:~$ MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA glxinfo | grep GL_ARB_compute
    GL_ARB_compute_shader, GL_ARB_compute_variable_group_size,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,

By switching to NVIDIA, I still get the error:

19: C++ exception with description "OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)" thrown in the test body.

during the tests, but I get a more clear error in the ogre2.log :

19:34:44: GLSL compile log: 0TerraShadowGenerator
0:2(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 4.00, 4.10, 4.20, 1.00 ES, 3.00 ES, and 3.10 ES
0:0(0): error: Compute shaders require GLSL 4.30 or GLSL ES 3.10
19:34:44: OGRE EXCEPTION(3:RenderingAPIException): Compute Program 0TerraShadowGenerator failed to compile. See compile log above for details. in GLSLShader::compile at /home/traversaro/gz-ws/srctst/ogre-next/RenderSystems/GL3Plus/src/GLSL/OgreGLSLShader.cpp (line 369)

At this point, I need to understand a bit more if my drivers on the Windows size are updated and if there is any specific limitation on my NVIDIA GPU (NVIDIA GeForce GTX 1650 Ti). I will update the issue with more details.

darksylinc commented 1 year ago

Ok that makes more sense.

The #version 430 may "just work" if it's changed to #version 420. But if it doesn't, let's see what's the next error to fix :)

Honestly I think there was no driver in the world that implemented Compute Shaders without reporting GL 4.3; if there was, then it was only live for a few months a decade ago.

traversaro commented 1 year ago

The #version 430 may "just work" if it's changed to #version 420. But if it doesn't, let's see what's the next error to fix :)

Honestly I think there was no driver in the world that implemented Compute Shaders without reporting GL 4.3; if there was, then it was only live for a few months a decade ago.

Ok, I was able to get all tests to pass with the following steps.

  1. Update mesa to 23.1.0 (to fix INTEGRATION_projector_ogre2_gl3plus)
  2. Set MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA to use my Nvidia card (to get GL_ARB_compute_shader support)
  3. Apply the following patch to gz-rendering:
    diff --git a/ogre2/src/media/2.0/scripts/materials/Common/GLSL/GaussianBlurBase_cs.glsl b/ogre2/src/media/2.0/scripts/materials/Common/GLSL/GaussianBlurBase_cs.glsl
    index 9e013df6..5dadc8fe 100644
    --- a/ogre2/src/media/2.0/scripts/materials/Common/GLSL/GaussianBlurBase_cs.glsl
    +++ b/ogre2/src/media/2.0/scripts/materials/Common/GLSL/GaussianBlurBase_cs.glsl
    @@ -1,5 +1,7 @@
    @property( syntax != glslvk )
    -       #version 430
    +       #version 420
    +       #extension GL_ARB_arrays_of_arrays: enable
    +       #extension GL_ARB_compute_shader: enable
    @else
        #version 450
    @end
    diff --git a/ogre2/src/media/2.0/scripts/materials/Terra/GLSL/TerraShadowGenerator.glsl b/ogre2/src/media/2.0/scripts/materials/Terra/GLSL/TerraShadowGenerator.glsl
    index e519d273..4b0d428d 100644
    --- a/ogre2/src/media/2.0/scripts/materials/Terra/GLSL/TerraShadowGenerator.glsl
    +++ b/ogre2/src/media/2.0/scripts/materials/Terra/GLSL/TerraShadowGenerator.glsl
    @@ -1,5 +1,6 @@
    @property( syntax != glslvk )
    -       #version 430
    +       #version 420
    +       #extension GL_ARB_compute_shader: enable
        #define ogre_B0 binding = 0
        #define ogre_B1 binding = 1
    @else

By doing that, all tests pass fine. I still have a segfault on program exit once the test pass, but this seems unrelated (see https://github.com/microsoft/wslg/issues/715).

darksylinc commented 1 year ago

Thanks for the detective work!

Since we try to aim to 430 for simplicity (probably 420 + extension is the exact same thing; but I'm trying to play safe), I incorporated your fixes only if 430 isn't present (which is basically WSLg drivers).

traversaro commented 1 year ago

Cool, thanks! Yes that seems the right thing to do.

traversaro commented 1 year ago

Another instance of #version 430 is https://github.com/gazebosim/gz-rendering/blob/gz-rendering7_7.4.0/ogre2/src/media/2.0/scripts/materials/Common/GLSL/GaussianBlurLogFilterBase_cs.glsl, but I guess it is unused in tests.

traversaro commented 1 year ago

I incorporated the fixes to this issue (except for the INTEGRATION_projector_ogre2_gl3plus that can be fixed by updating mesa) in https://github.com/gazebosim/gz-rendering/pull/851 .

iche033 commented 1 year ago

thanks for investigating the issue and the fixes!

traversaro commented 2 months ago

Fixed by https://github.com/gazebosim/gz-rendering/pull/851 .