Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected WM! when running on Archlinux ARM on ChromeOS #140

Open
mio-19 opened this issue Jun 24, 2023 · 3 comments
Open

Unexpected WM! when running on Archlinux ARM on ChromeOS #140

mio-19 opened this issue Jun 24, 2023 · 3 comments

Comments

@mio-19
Copy link

mio-19 commented Jun 24, 2023

Installed using snap. It seems that stuntrally doesn't support ChromeOS's WM

stuntrally
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.
*-*-* OGRE Initialising
*-*-* Version 13.5.2 (Tsathoggua)
::: Time Init main:  13 ms
System: Linux
Paths info
-------------------------
Ogre plugin:  /snap/stuntrally/172/usr/lib/OGRE/
Data:         /snap/stuntrally/172/usr/share/games/stuntrally
Home:         /home/user/snap/stuntrally/172
User cfg,log: /home/user/snap/stuntrally/172/.config/stuntrally
User data:    /home/user/snap/stuntrally/172/.local/share/stuntrally
Cache:        /home/user/snap/stuntrally/common/.cache/stuntrally
-------------------------
@  ---- Sound devices ----
@  VirtIO SoundCard
@  EFX extension found.
@ @  ---- SoundManager Info ----
@  vendor: OpenAL Community
@  version: 1.1 ALSOFT 1.19.1
@  renderer: OpenAL Soft
@  extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFTX_events AL_SOFTX_filter_gain_ex AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFTX_map_buffer AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize
@  Aux Sends per Source: 4
@  SoundScript: Sound Manager started with 0 sources
@  SoundScript: Parsing
@  SoundScript: Parsed: 41 templates.
::: Time Sounds:  73 ms
@  Sound init ok.
*** start setup ***
Loading library /snap/stuntrally/172/usr/lib/OGRE//RenderSystem_GL.so.13.5
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
No protocol specified
EGL: using default display. Device extensions: EGL_EXT_device_drm
No protocol specified
Plugin successfully installed
Loading library /snap/stuntrally/172/usr/lib/OGRE//Plugin_ParticleFX.so.13.5
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 /snap/stuntrally/172/usr/lib/OGRE//Codec_FreeImage.so.13.5
FreeImage version: 3.18.0
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
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,g3,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
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/loading' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/fonts' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/gui' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/hud' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/materials2' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/road' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/grass' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/skies' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/terrain' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/rocks' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/trees-old' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/trees' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/trees2' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/particles' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/objects' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/objects0' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/objectsC' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/objects2' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/tracks/_previews' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/cars/_previews' of type 'FileSystem' to resource group 'General'
Added resource location '/snap/stuntrally/172/usr/share/games/stuntrally/MyGUI_Media' of type 'FileSystem' to resource group 'General'
CPU Identifier & Features
-------------------------
 *   CPU ID: 
 *          VFP: no
 *         NEON: no
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VENDOR = Mesa Project
EGL_VERSION = 1.4
EGL_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
Registering ResourceManager for type Texture
No protocol specified
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unexpected WM!
fish: Job 1, 'stuntrally' terminated by signal SIGABRT (Abort)
@cryham
Copy link
Member

cryham commented Jun 24, 2023

I have little idea what happened (and what to do), but this is so early that I'd suspect mesa, EGL, or something GL and rendering related in this OS. Maybe @paroj has more ideas.

@paroj
Copy link
Contributor

paroj commented Jun 25, 2023

it is your error though:

throw std::runtime_error("Unexpected WM!");

@cryham
Copy link
Member

cryham commented Jun 26, 2023

Oh okay, it's our code, or some old helper.
Hmm right, looks like this code or SDL doesn't know this WM.
Perhaps this could be added but that would require building from sources and/or knowing what wmInfo.subsystem is set there and how to get winHandle from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants