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 8-Jul-2019 13:13:28

Ayujal
Member
Registered: 8-Jul-2019
Posts: 1

White screen on Raspberry Pi - Need Help please

Hi Everyone

I made an simple AR test app with one marker and one object on OpenSpace 3D Editor Windows version then exported it for Raspberry.

I was on Jessie version of Raspbian and had a libcui18n.so problem (Jessie version is 52 and 57 was expected)
Switched to Stretch - problem fixed.

I had the Stretch OpenGLES names problem and fixed it thanks to rpi-update

From this point til now when I start the app I have a white screen with a button in the bottom center with no text in it that closes the app when I click on it

There's a problem with QFontDatabase as you can see in this log

******************************
*** Starting EGL Subsystem ***
******************************
EGL_VERSION = 1.4
EGL_EXTENSIONS = EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_vg_parent_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_lock_surface 
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
QFontDatabase: Cannot find font directory /home/pi/Documents/scol-svn/trunk/dependencies/build/rpi/release/qt/qt-sdk/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /home/pi/Documents/scol-svn/trunk/dependencies/build/rpi/release/qt/qt-sdk/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /home/pi/Documents/scol-svn/trunk/dependencies/build/rpi/release/qt/qt-sdk/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /home/pi/Documents/scol-svn/trunk/dependencies/build/rpi/release/qt/qt-sdk/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /home/pi/Documents/scol-svn/trunk/dependencies/build/rpi/release/qt/qt-sdk/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is ScolQtApplication(0x7ea00608), parent's thread is QThread(0x42d8560), current thread is QThread(0x71d25bb8)
Cannot make QOpenGLContext current in a different thread
/usr/bin/test-ar-pi : ligne 2 :  1175 Abandon                 sudo /usr/share/test-ar-pi/test-ar-pi

I made errors about QFontDatabase disappear by creating the folder the app expected (even if I know that the problem is not really fixed)

Now the error about QThread is still here and I still have the white screen with the no text button. The camera LED stays off.

config.txt includes the start_x=1 so I assume the camera is on (I tested it with picamera - the camera did show up and the camera LED was on)
config.txt also includes the gpu_mem=256 instead of 128 as I noticed thanks to this forum that it could be a source of errors.

From what I read on the net this QThread error seems to be due to Qt5 but I don't really know what to do now.


If somebody's got an idea...


Thanks everybody

Ayu

Offline

#2 15-Jul-2019 08:33:43

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

Re: White screen on Raspberry Pi - Need Help please

Hello,

I've updated the RPI to the latest raspian still working on it

Offline

Board footer

Powered by FluxBB