OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
4k stars 981 forks source link

Sample Browser freezes on macOS Ventura #2923

Closed danielsefton closed 1 year ago

danielsefton commented 1 year ago

System Information

Detailed description

I build fresh copies of either Ogre 14.0.1 & 13.6.5 with Xcode generated by CMake, mostly default settings. When I run the SampleBrowser either from within Xcode or standalone, the Rendering Subsystem dialog shows fine. When I click OK it begins "Starting Mac OS X OpenGL Subsystem" and seems to load all the resources fine, but then nothing happens and it freezes with an endless loading spinner. I can't see anything in the log that might indicate a problem. I'm not sure how to debug it.

Ogre.log

Creating resource group General
Creating resource group OgreInternal
Creating resource group OgreAutodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for type 'FileSystem' registered
ArchiveFactory for type 'Zip' registered
ArchiveFactory for type 'EmbeddedZip' registered
DDS codec registering
ETC codec registering
ASTC codec registering
Registering ResourceManager for type GpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
MovableObjectFactory for type 'StaticGeometry' registered.
MovableObjectFactory for type 'Rectangle2D' registered.
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/RenderSystem_GL.dylib
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
2023-08-22 00:03:40.860644+0100 SampleBrowser[79557:202768] Metal API Validation Enabled
Plugin successfully installed
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/RenderSystem_GL3Plus.dylib
objc[79557]: Class OgreGLView is implemented in both ~/ogre-14.0.1/Build/lib/macosx/Release/RenderSystem_GL.framework/Versions/14.0/RenderSystem_GL (0x103d48358) and ~/ogre-14.0.1/Build/lib/macosx/Release/RenderSystem_GL3Plus.framework/Versions/14.0/RenderSystem_GL3Plus (0x1067cc358). One of the two will be used. Which one is undefined.
objc[79557]: Class OgreGLWindow is implemented in both ~/ogre-14.0.1/Build/lib/macosx/Release/RenderSystem_GL.framework/Versions/14.0/RenderSystem_GL (0x103d483d0) and ~/ogre-14.0.1/Build/lib/macosx/Release/RenderSystem_GL3Plus.framework/Versions/14.0/RenderSystem_GL3Plus (0x1067cc3d0). One of the two will be used. Which one is undefined.
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/RenderSystem_Metal.dylib
Installing plugin: Metal RenderSystem
Plugin successfully installed
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/Plugin_ParticleFX.dylib
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Particle Affector Type 'TextureAnimator' registered
Plugin successfully installed
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/Codec_STBI.dylib
stb_image - v2.28 - public domain image loader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/Plugin_OctreeSceneManager.dylib
Installing plugin: Octree Scene Manager
Plugin successfully installed
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Frameworks/Plugin_DotScene.dylib
Installing plugin: DotScene Loader
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 14.0.1 (Tsathoggua)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
2023-08-22 00:03:40.980025+0100 SampleBrowser[79557:202768] [Window] Warning: Window NSWindow 0x145706700 ordered front from a non-active application and may order beneath the active application's windows.
CPU Identifier & Features
-------------------------
 *   CPU ID: 
 *          VFP: no
 *         NEON: yes
-------------------------
********************************************
***  Starting Mac OS X OpenGL Subsystem  ***
********************************************
Registering ResourceManager for type Texture
RenderSystem::_createRenderWindow "OGRE Sample Browser", 640x480 windowed  miscParams: FSAA=0 colourDepth=32 contentScalingFactor=1 displayFrequency=N/A gamma=No vsync=Yes vsyncInterval=1 
Creating a Cocoa Compatible Render System
Cocoa: Window created 640 x 480 with backing store size 640 x 452 using content scaling factor 1.0
GL_VERSION = 2.1.0.0
GL_VENDOR = Apple
GL_RENDERER = Apple M1
GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod 
***************************
*** GL Renderer Started ***
***************************
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D16S1 D16S4 D16S8 D16S16 D24S0 D24S1 D24S4 D24S8 D24S16 D32S0 D32S1 D32S4 D32S8 D32S16 Packed-D24S8
[GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_SHORT_RGBA PF_R3G3B2 PF_SHORT_RGB 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL Rendering Subsystem
GPU Vendor: apple
Device Name: Apple M1
Driver Version: 2.1.0.0
 * Fixed function pipeline: yes
 * 32-bit index buffers: yes
 * Hardware stencil buffer: yes
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * Vertex programs: yes
   - Number of constant 4-vectors: 1024
 * Fragment programs: yes
   - Number of constant 4-vectors: 1024
 * Geometry programs: yes
   - Number of constant 4-vectors: 1024
 * Tessellation Hull programs: no
 * Tessellation Domain programs: no
 * Compute programs: no
 * Supported Shader Profiles: arbfp1 arbvp1 fp30 fp40 glsl glsl100 glsl110 glsl120 vp30 vp40
 * Read-back compiled shader: no
 * Number of vertex attributes: 16
 * Textures
   - Number of texture units: 16
   - Floating point: yes
   - Non-power-of-two: yes
   - 1D textures: yes
   - 2D array textures: yes
   - 3D textures: yes
   - Anisotropic filtering: yes
 * Texture Compression: yes
   - DXT: yes
   - VTC: no
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: no
   - BC4/BC5: no
   - BC6H/BC7: no
   - ASTC: no
   - Automatic mipmap generation: yes
 * Vertex Buffers
   - Render to Vertex Buffer: no
   - Instance Data: yes
   - Primitive Restart: no
   - INT_10_10_10_2_NORM element type: no
 * Vertex texture fetch: yes
   - Max vertex textures: 16
 * Read/Write Buffers: no
 * Hardware Occlusion Query: yes
 * User clip planes: yes
 * Depth clamping: no
 * Hardware render-to-texture: yes
   - Multiple Render Targets: 8
 * Point Sprites: yes
   - Extended parameters: yes
   - Max Size: 64
 * Wide Lines: yes
 * Hardware Gamma: yes
 * PBuffer support: yes
 * Vertex Array Objects: no
 * Separate shader objects: no
   - redeclare GLSL interface block: no
 * Debugging/ profiling events: no
 * Map buffer storage: yes
DefaultWorkQueue('Root') initialising on thread 0x1e5d25e00.
Particle Renderer Type 'billboard' registered
DefaultWorkQueue('Root')::WorkerFunc - thread 0x16d357000 starting.
SceneManagerFactory for type 'OctreeSceneManager' registered.
DefaultWorkQueue('Root')::WorkerFunc - thread 0x16d2cb000 starting.
Parsing '~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Resources/resources.cfg'
Creating resource group BSPWorld
Added resource location '~/ogre-14.0.1/Samples/Media/packs/oa_rpg3dm2.pk3' of type 'Zip' to resource group 'BSPWorld'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'BSPWorld'
Creating resource group Essential
Added resource location '~/ogre-14.0.1/Samples/Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
Added resource location '~/ogre-14.0.1/Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '~/ogre-14.0.1/Media/packs/profiler.zip' of type 'Zip' to resource group 'Essential'
Added resource location '~/ogre-14.0.1/Samples/Media/PBR' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/PBR/filament' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/GLSL120' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/GLSL150' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/GLSL400' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/GLSLES' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/SPIRV' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/Cg' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/HLSL' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/programs/HLSL_Cg' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/scripts' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/textures/terrain' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/models' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/particle' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/DeferredShadingMedia/DeferredShading/post' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/scripts/SSAO' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/materials/textures/SSAO' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/volumeTerrain' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/CSMShadows' of type 'FileSystem' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/ogredance.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/Sinbad.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/volumeTerrain/volumeTerrainBig.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/DamagedHelmet.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Samples/Media/packs/filament_shaders.zip' of type 'Zip' to resource group 'General'
Added resource location '~/ogre-14.0.1/Media/Main' of type 'FileSystem' to resource group 'OgreInternal'
Added resource location '~/ogre-14.0.1/Media/RTShaderLib' of type 'FileSystem' to resource group 'OgreInternal'
Added resource location '~/ogre-14.0.1/Media/Terrain/' of type 'FileSystem' to resource group 'OgreInternal'
Creating resource group Tests
Added resource location '~/ogre-14.0.1/Tests/Media' of type 'FileSystem' to resource group 'Tests'
Initialising resource group Essential
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script OgreProfiler.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.overlay
Texture 'sdk_cursor.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_tray.png': Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
Texture 'sdk_button_up.png': Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
Texture 'sdk_text_box.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_mini_tray.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_track.png': Loading 1 faces(PF_A8B8G8R8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x32x1.
Texture 'sdk_handle.png': Loading 1 faces(PF_A8B8G8R8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x16x1.
Texture 'sdk_mini_text_box.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_label.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_separator.png': Loading 1 faces(PF_A8B8G8R8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x16x1.
Texture 'sdk_logo.png': Loading 1 faces(PF_A8B8G8R8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x64x1.
Texture 'sdk_shade.png': Loading 1 faces(PF_A8B8G8R8,64x48x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x48x1.
Texture 'sdk_frame.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_mini_text_box_over.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_pulse.png': Loading 1 faces(PF_B8G8R8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,8x1x1.
Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
Texture 'sdk_bands.png': Loading 1 faces(PF_A8B8G8R8,2x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,2x32x1.
Warning: Could not open '/Users/redacted/Library/Application Support/OGRE Sample Browser/cache.bin'
Parsing scripts for resource group BSPWorld
Texture 'SdkTrays/CaptionTexture': Loading 1 faces(PF_BYTE_LA,256x256x1) Internal format is PF_BYTE_LA,256x256x1.
Texture 'SdkTrays/ValueTexture': Loading 1 faces(PF_BYTE_LA,256x256x1) Internal format is PF_BYTE_LA,256x256x1.
Finished parsing scripts for resource group BSPWorld
Creating resources for group BSPWorld
All done
Parsing scripts for resource group General
Parsing script pbr.program
Parsing script pbr_filament.program
Parsing script Examples.program
Parsing script StdQuad_vp.program
Parsing script Instancing.program
Parsing script deferred_post.program
Parsing script ShadowCaster.program
Parsing script glTF2_PBR.material
Parsing script filament.material
Parsing script OldMovie.material
Parsing script HWInstancing.material
Parsing script Examples-DynTex.material
Parsing script ShaderInstancing.material
Parsing script NightVision.material
Parsing script Tessellation.material
Parsing script WBOIT.material
Parsing script LigthShafts.material
Parsing script facial.material
Parsing script BlackAndWhite.material
Parsing script Halftone.material
Parsing script ShaderSystem.material
Parsing script HardwareSkinningShadow.material
Parsing script CompositorDemo.material
Parsing script Tiling.material
Parsing script Posterize.material
Parsing script TerrainTessellation.material
Parsing script HeatVision.material
Parsing script pssm.material
Parsing script sibenik.material
Parsing script Hurt.material
Parsing script OldTV.material
Parsing script Examples-Advanced.material
Parsing script DualQuaternion.material
Parsing script ASCII.material
Parsing script hdr.material
Parsing script HW_VTFInstancing.material
Parsing script Glass.material
Parsing script Invert.material
Parsing script RadialBlur.material
Parsing script RTShaderSystem.material
Parsing script ParticleGS.material
Parsing script DamagedHelmet.material
Parsing script Island.material
Parsing script VarianceShadowmap.material
Parsing script SteepParallaxOcclusionMapping.material
Parsing script DepthShadowmap.material
Parsing script RasterizationOrder.material
Parsing script MotionBlur.material
Parsing script MRTtest.material
Parsing script Examples.material
Parsing script Hair.material
Parsing script HW_VTF_LUTInstancing.material
Parsing script Ocean.material
Parsing script IsoSurf.material
Parsing script FluidSim.material
Parsing script AdaptivePNTrianglesTessellation.material
Parsing script RZR-002.material
Parsing script Ogre.material
Parsing script DOF.material
Parsing script Compute.material
Parsing script Bloom2.material
Parsing script Laplace.material
Parsing script VTFInstancing.material
Parsing script Dither.material
Parsing script Swizzle.material
Program 'Ogre/GPTest/Swizzle/GP_GLSL_120' is not supported: 'SwizzleGP.glsl' ERROR: 0:11: '' : syntax error: #extension must always be before any non-preprocessor tokens

Error: ScriptCompiler - invalid parameters in Swizzle.material(68): Named constants have not been initialised, perhaps a compile error
Error: ScriptCompiler - invalid parameters in Swizzle.material(69): Named constants have not been initialised, perhaps a compile error
Parsing script Embossed.material
Parsing script OffsetMapping.material
Parsing script Penguin.material
Parsing script Examples-Water.material
Parsing script smoke.material
Parsing script SharpenEdges.material
Parsing script deferred_post.material
Parsing script ShadowCaster.material
Parsing script deferred_post_minilight.material
Parsing script deferreddemo.material
Parsing script ssao.material
Parsing script ROOM.material
Parsing script ShowDepth.material
Parsing script Volumetric.material
Parsing script CreaseShading.material
Parsing script Modulate.material
Parsing script Crytek.material
Parsing script HemisphereMC.material
Parsing script HorizonBased.material
Parsing script UnsharpMask.material
Parsing script ShowViewPos.material
Parsing script GBuffer.material
Parsing script SSAOPost.material
Parsing script ShowNormals.material
Parsing script triplanarReference.material
Parsing script CSMShadows.material
Parsing script RomanBath.material
Parsing script Sinbad.material
Parsing script Examples.particle
Parsing script emitted_emitter.particle
Parsing script smoke.particle
Parsing script Examples-Water.particle
Parsing script Examples.compositor
Parsing script deferred.compositor
Parsing script ssao.compositor
Parsing script SSAOPost.compositor
Parsing script SSAO.compositor
Finished parsing scripts for resource group General
Creating resources for group General
All done
Parsing scripts for resource group OgreAutodetect
Finished parsing scripts for resource group OgreAutodetect
Creating resources for group OgreAutodetect
All done
Parsing scripts for resource group OgreInternal
Parsing script ShadowVolumeExtude.program
Parsing script Shadow.material
Finished parsing scripts for resource group OgreInternal
Creating resources for group OgreInternal
All done
Parsing scripts for resource group Tests
Parsing script glow.material
Parsing script tests.material
Parsing script BillboardText.fontdef
Finished parsing scripts for resource group Tests
Creating resources for group Tests
All done
Loading library ~/ogre-14.0.1/Build/bin/Release/SampleBrowser.app/Contents/Plugins/DefaultSamples.dylib
Installing plugin: DefaultSamplesPlugin
Plugin successfully installed
Texture 'thumb_atomicc.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_bsp.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_bezier.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_bump.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_csm.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_camtrack.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_cel.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_char.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_comp.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_compute.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_cubemap.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_imgui.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_deferred.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_dualquaternionskinning.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_dyntex.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_terrain.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_facial.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_fresnel.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_particlegs.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_grass.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_isosurf.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_lightshafts.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_lighting.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_meshlod.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_newinstancing.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_ocean.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_tessellation.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_particles.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_pbr.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_ssao.png': Loading 1 faces(PF_B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,256x256x1.
Texture 'thumb_shadersystem.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_texturedfog.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_shadersystemmultilight.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_shadows.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_skelanim.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_skybox.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_skydome.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_skyplane.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_smoke.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_spheremap.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_texarray.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_texfx.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_trans.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_volumecsg.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_volumeterrain.png': Loading 1 faces(PF_B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,128x128x1.
Texture 'thumb_voltex.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
Texture 'thumb_water.png': Loading 1 faces(PF_A8B8G8R8,128x128x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x128x1.
paroj commented 1 year ago

it looks like you built Ogre without SDL2. Creating windows without SDL2 is currently broken on OSX, so you will need to have that..

danielsefton commented 1 year ago

Thank you paroj, that was the problem. Well hopefully this will help someone who runs into the same problem.

From mac terminal:

brew install sdl2

Then paste this path into SDL2_DIR in CMake:

/opt/homebrew/Cellar/sdl2/2.28.2/lib/cmake/SDL2

Now, there are a few samples that don't work, but that's a separate issue. I got a crash when trying to run the SSAO sample for example, but maybe it's another configuration issue.

Closing this ticket.