From 10ba019c3e3fffb073b272ff9284b2992b851760 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Sat, 14 Jul 2018 17:13:19 +0200 Subject: [PATCH] start-application: silence some calls, run chromium with GPU disabled pre default --- recipes-bsp/application/files/StartApplication.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/recipes-bsp/application/files/StartApplication.sh b/recipes-bsp/application/files/StartApplication.sh index 0611e6f..9aee9a9 100644 --- a/recipes-bsp/application/files/StartApplication.sh +++ b/recipes-bsp/application/files/StartApplication.sh @@ -9,19 +9,18 @@ echo "Starting application..." # set up environment -export QT_QPA_FONTDIR=/usr/share/fonts/truetype +export QT_QPA_FONTDIR=/usr/share/fonts export FB_MULTI_BUFFER=2 -rmmod evbug 2>&1 > /dev/null +rmmod evbug > /dev/null 2>&1 -# run application +# run framebuffer demo application if [ -x /usr/bin/Qt5_CinematicExperience ]; then - Qt5_CinematicExperience -platform eglfs& + Qt5_CinematicExperience -platform eglfs > /dev/null 2>&1 & fi -# or alternate application +# or alternate run x11 browser application if [ -x /usr/bin/chromium ]; then export DISPLAY=:0 - /usr/bin/chromium --no-sandbox --disable-session-chrashed-bubble https://www.kernelconcepts.de & + /usr/bin/chromium --disable-gpu --no-sandbox --disable-session-chrashed-bubble https://www.kernelconcepts.de & fi - -- 2.39.2