Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 21-Feb-2018 02:13:41

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

can't run app on raspberry

Hello
I've been trying to run a program made in OS3d for two days
please help
I'm running Raspbian Stretch

Here is the error I'm getting

pi@raspberrypi:~ $ lodes
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
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 archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
PVRTC codec registering
ETC codec registering
stb_image - v2.15 - public domain JPEG/PNG reader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
ASTC codec registering
Registering ResourceManager for type HighLevelGpuProgram
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.
*-*-* OGRE Initialising
*-*-* Version 1.10.11 (Xalafu)
Creating resource group SO3/Internal/Widgets/BitmapWidget
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
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
Plugin successfully installed
Installing plugin: Octree Scene Manager
Plugin successfully installed
ArchiveFactory for archive type ScolFileSystem registered.
ArchiveFactory for archive type ScolURL registered.
CPU Identifier & Features
-------------------------
*   CPU ID:
*          VFP: no
*         NEON: yes
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VERSION = 1.4 (DRI2)
EGL_EXTENSIONS = EGL_CHROMIUM_sync_control EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_KHR_cl_event2 EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
Registering ResourceManager for type Texture
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
EGL Error : Could not create the egl surface: error = 0x3003

/usr/bin/lodes: line 2: 10143 Aborted                 sudo /usr/share/lodes/lodes

Offline

#2 21-Feb-2018 09:48:59

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

Ok I'll upgrade my raspbian to check.

Offline

#3 21-Feb-2018 10:24:04

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

The craziest thing that everything was running fine before with the same app
But I had some problem when booting RPi "cannot open access to console the root account is locked"
I had to press enter to continue, that didn't work for me because I need to boot the app on startup
So I found that the easiest solution would be to burn new img to the SD card and do everything from scratch
which I did and after installing everything, I had this error "error while loading shared libraries: libGLESv2.so"
I ran "sudo apt-get install libgles2-mesa libsdl2-dev"
which let me to error in the original post

I am using RPi3 with the latest Stretch (updated, upgraded), Camera module v2, 5inch touchscreen LCD and app made in Openspace 3d

I am loosing my mind, I have the opening to my exhibition tomorow
And I have been doing this for 36 hours now with no progress
PLEASE HELP!!!

Offline

#4 21-Feb-2018 10:34:21

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

Did you enabled the opengl support in raspi-config ? I think you should not ^^
weird about the missing libGLESv2.so
what I have on mine :
libglapi-mesa/stable,now 13.0.6-1+rpi2 armhf [installed,automatic]
libgles1-mesa/stable,now 13.0.6-1+rpi2 armhf [installed]
libgles2-mesa/stable,now 13.0.6-1+rpi2 armhf [installed]

Offline

#5 21-Feb-2018 10:45:58

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

I tried with all of GL driver options
Nothing changes
about libGLESv2
I guess Raspbian had changed the name of their broadcom versions of libEGL.so and libGLESv2. to libbrcmEGL.so and libbrcmGLESv2.so.
So you are running an app made in openspace3d on Raspbian stretch without problems?

Offline

#6 21-Feb-2018 10:47:41

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

btw thanks for the quick response
I had already lost hope

Offline

#7 21-Feb-2018 10:55:54

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

I've just upgraded to the latest raspbian and rpi-update
All still working on my dev pi

Offline

#8 21-Feb-2018 10:59:02

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

The lcd screen is in HDMI mode ?

I'm downloading a raspbian light
I'll check what is missing on an empty distrib

Offline

#9 21-Feb-2018 11:03:36

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

aaand the hope is gone...
do you have any suggestions?
Here is my program, maybe you can try it?
https://www.dropbox.com/sh/12wnbe86hc2u … RZMWa?dl=0

Offline

#10 21-Feb-2018 11:05:49

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

Well the screen is connected via hdmi
The touch function via gpio with driver installed

Offline

#11 21-Feb-2018 12:20:41

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

Ok I have the same issue now with missing libGLESv2

Offline

#12 21-Feb-2018 12:25:58

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

Ok I found what is missing ^^

first install the dependencies :
apt-get install -f

then update the rpi package (it does add the missing libraries ^^)
sudo rpi-update

and the app start !

Offline

#13 21-Feb-2018 13:02:57

kripkus
Member
Registered: 21-Feb-2018
Posts: 7

Re: can't run app on raspberry

Oh my god it works!!!!!
I love you, thank you so much!!!!!

Offline

#14 21-Feb-2018 13:20:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,089
Website

Re: can't run app on raspberry

hehe you're welcome smile

I've updated the generated scripts to install the dependencies automatically and inform the user to start rpi-update

Offline

Board footer

Powered by FluxBB