Hello,
Host :
$ uname -a
Linux --- 3.19.0-64-generic #72~14.04.1-Ubuntu SMP Fri Jun 24 17:59:48 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Target :
# uname -a
Linux b2qt-apalis-imx6 3.14.28-v2.6b1+g0bb38d1 #5 SMP Wed Jul 13 10:30:50 EDT 2016 armv7l GNU/Linux
Installed qt-unified-linux-x64-2.0.3-2-online.run with Qt 5.7 and Apalix-iMX6.
rootfs built from 'meta-boot2qt/recipes-qt/images/b2qt-embedded-qt5-image.bb'.
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "apalis-imx6"
DISTRO = "b2qt"
DISTRO_VERSION = "2.0.1"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:b1f23d1254682866236bfaeb843c0d8aa332efc2 "
meta-toradex = "HEAD:eca5937408c75a997b160bd1b92e1496b07421cf "
meta-fsl-arm = "HEAD:8d22b44716fa624ff87383c36d222d9e28d0b267 "
meta-fsl-arm-extra = "HEAD:8fdde39f732be9e1ee9505a04c579073114459e7 "
meta-oe
meta-python
meta-networking
meta-initramfs
meta-multimedia = "HEAD:dc5634968b270dde250690609f0015f881db81f2 "
meta-boot2qt
meta-fsl-extras
meta-toradex-extras = "<unknown>:<unknown>"
meta-mingw = "HEAD:2844575c17f3875aa2ad0e83d600f52a1893390d "
meta-qt5 = "HEAD:2746cdba75f411541d80ddfd5cadad2753fe29d3 "
Now upon installing this from direct 'bitbake b2qt-embedded-qt5-image', I expected the device to boot to the default Qt demo. It does not. I placed my app onto the system that was working with 5.5 and 5.6 that obviously used other earlier distros, things did work on this same board.
"unknown[0]: QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
unknown[0]: Could not open egl display
Aborted"
I have updated the /etc/appcontroller.conf file and added the ..NO_FB.. suggestion and removed the ..FB=2.. as well. I rebooted and the same results. Here is that file and the paths are correct.
env=QT_QPA_PLATFORM=eglfs
env=QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/plugins/platforms
#env=FB_MULTI_BUFFER=2
env=QT_QPA_EGLFS_WIDTH=1920
env=QT_QPA_EGLFS_HEIGHT=1080
env=QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins
env=QT_IM_MODULE=qtvirtualkeyboard
env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0
env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4 l2videosrc,v4l2src
env=QT_QUICK_CONTROLS_STYLE=Flat
env=XDG_RUNTIME_DIR=/tmp
base=linux
platform=apalis-imx6
I have done 'ldd' and everything is found. I do know that the boot2qt.service "stuff" is all in place. Also...
"cat /proc/cmdline"
enable_wait_mode=off vmalloc=400M ip=off root=/dev/mmcblk0p2 rw,noatime rootfstype=ext3 rootwait fec_mac=00:14:2d:49:e5:6e consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 mxc_hdmi.only_cea=1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1ff video=mxcfb2ff video=mxcfb3ff fbmem=32M
This is probably more info than needed. I am trying to figure this out on my own and am at the end of what I know and am looking for help. I am learning this boot2qt stuff and am unsure what I should be looking for in this video chain that may be broken.
I appreciate your time, thank you.
Cheers,
Pete
Added after 46 minutes:
UPDATE1:
/etc/systemd/system/multi-user.target.wants# cat b2qt.service
[Unit]
Description=B2Qt user application
After=systemd-user-sessions.service
ConditionPathExists=/usr/bin/b2qt
[Service]
ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt
[Install]
WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants# /usr/bin/appcontroller /usr/bin/b2qt
"QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
"QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER" "1"
"QT_GSTREAMER_CAMERABIN_VIDEOSRC" "mxc_v4l2=imxv4l2videosrc,v4l2src"
"QT_IM_MODULE" "qtvirtualkeyboard"
"QT_QPA_EGLFS_HEIGHT" "1080"
"QT_QPA_EGLFS_WIDTH" "1920"
"QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS" "/dev/input/event0"
"QT_QPA_PLATFORM" "eglfs"
"QT_QPA_PLATFORM_PLUGIN_PATH" "/usr/lib/plugins/platforms"
"QT_QUICK_CONTROLS_STYLE" "Flat"
"XDG_RUNTIME_DIR" "/tmp"
"/usr/bin/b2qt" ()
Failed to start
Binary does not exist.
/etc/systemd/system/multi-user.target.wants# cat qtlauncher.service
[Unit]
Description=B2Qt Launcher Demo
After=systemd-user-sessions.service
ConditionPathExists=!/usr/bin/b2qt
[Service]
ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt
[Install]
WantedBy=multi-user.target
/etc/systemd/system/multi-user.target.wants# /usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt
"QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
"QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER" "1"
"QT_GSTREAMER_CAMERABIN_VIDEOSRC" "mxc_v4l2=imxv4l2videosrc,v4l2src"
"QT_IM_MODULE" "qtvirtualkeyboard"
"QT_QPA_EGLFS_HEIGHT" "1080"
"QT_QPA_EGLFS_WIDTH" "1920"
"QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS" "/dev/input/event0"
"QT_QPA_PLATFORM" "eglfs"
"QT_QPA_PLATFORM_PLUGIN_PATH" "/usr/lib/plugins/platforms"
"QT_QUICK_CONTROLS_STYLE" "Flat"
"XDG_RUNTIME_DIR" "/tmp"
"/usr/bin/qtlauncher" ("--applications-root", "/data/user/qt")
Could not open egl display
Application crashed: /usr/bin/qtlauncher
Process stopped
quit
Bookmarks