basler / meta-basler-imx8 Goto Github PK
View Code? Open in Web Editor NEWOpenEmbedded/Yocto layer for Basler Mipi Cameras on the i.MX8 platform
License: Other
OpenEmbedded/Yocto layer for Basler Mipi Cameras on the i.MX8 platform
License: Other
Hi,
I've followed the steps but I get an error when I execute "pylon" command (same for # GENICAM_GENTL64_PATH=/opt/dart-bcon-mipi/lib /opt/pylon6/bin/pylonviewer though I have hanged pylon6 for pylon, otherwise I doesn't work). This is what I get:
root@imx8mmevk:~# pylon
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
qt.[ 184.916384] audit: type=1701 audit(1616581699.048:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=760 comm="pylonviewer" exe="/opt/pylon/bin/pylonviewer" sig=6 res=1
qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, webgl, xcb.
Aborted
Host Linux distro: Ubuntu 20.04 (Focal Fossa)
Yocto version: Hardknott
Board: imx8mmevk
Camera: da4200-30mci
Image: imx-image-multimedia
If more info is needed please tell me. I know that the issue is related to Qt but I'm unable to solve it by my own.
See https://bye.codeaurora.org/
Solution found for Kirkstone release and step 2:
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml
Hi!
I'm currently working with the evaluation board of the imx8mp SoC from NXP and Basler DAA2500-60mc Camera.
I have built the yocto images Zeus 5.4.70-2.3.2 and Hardknott 5.10.72-2.2.0 which includes basler layers.
I'am trying to run the camera at 60 FPS. For this, I have modified /etc/default/imx8-isp and Sensor_DAA2500_60MC_500_setup.sh files to work in 1080P60 mode (MODE_DAA2500_60MC_500=1080P60).
I have used the following command to check camera's framerate:
gst-launch-1.0 v4l2src device=/dev/video2 ! "video/x-raw,width=640,height=480" ! fpsdisplaysink text-overlay=true
The problem is that in yocto Zeus 5.4.70-2.3.2 runs at 60 FPS (maximum) but when I upgrade yocto version to Hardknott 5.10.72-2.2.0 runs at 30 FPS (maximum), even making the same changes in the two yoctos.
Hi,
Script run.sh references script Sensor_${ISP_CONFIG_0}_setup.sh, but it is not installed by any recipe. Is this file mandatory to use the camera ?
best regards,
Hi!
I'm currently working with the evaluation board of the imx8mp SoC from NXP (Link).
I have built the yocto image following the instructions of the readme in this repository and I have changed the fdtfile in uboot from the default one to the "imx8mp-evk-basler.dtb".
The problem is that the camera is being detected (in dmesg and using detect_cameras.sh it shows the model and the serial number), but no device is registered when the board boots up.
If I set up the fdtfile in uboot for any of the ones using a isp, a device is registered (I don't understand why this happens) but the camera, as it does not have isp capabilities, does not work. When I launch pylon, no camera is listed.
Any help would be much appreciated.
Carlos.
Description
I'm running a Yocto Hardknott with basler meta layer and a Basler A2500-60mci.
Everything is working just fine, i was able to create my application easily.
When I tested it using Valgrind though, I noticed some memory leaks on basler library (total of 616KB),
and I wanted to ask if this could be false positive or something else.
Thank you
==23755== Thread 4:
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51A150: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51A7E7: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD518CCF: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D74F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== by 0x8DFDB63: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD51A780: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51A310: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51A83F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD518CCF: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D74F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== by 0x8DFDB63: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD51A780: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51A31C: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51A83F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD518CCF: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D74F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== by 0x8DFDB63: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD51A780: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Syscall param ioctl(VKI_V4L2_S_EXT_CTRLS).controls[].ptr[] points to uninitialised byte(s)
==23755== at 0x642C750: ioctl (ioctl.S:26)
==23755== by 0xD50B9F3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50BCF3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD509FE7: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD4EEE7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338027: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50E46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50F7EF: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D78F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== Address 0x8312088 is on thread 4's stack
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51BA18: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD527AFB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51903F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D7A3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== by 0x8DFDB63: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51B9BC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51BA97: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD527AFB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51903F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D7A3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51B9CC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51BA97: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD527AFB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51903F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D7A3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0x8E034BB: ??? (in /opt/pylon/lib/libpylon_TL_gtc-6.2.0.so)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51D720: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51D973: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD553C57: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD5279D3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51903F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D7A3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755==
==23755== Conditional jump or move depends on uninitialised value(s)
==23755== at 0xD51D760: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51D973: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD553C57: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD5279D3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD51903F: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D7A3: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD50D837: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD338B7B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD316A6B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD3128EB: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD2EB46B: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== by 0xD303013: IFOpenDevice (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
==23755== Uninitialised value was created by a stack allocation
==23755== at 0xD518CAC: ??? (in /opt/dart-bcon-mipi/lib/basler-daA2500-60mci-imx8.cti)
After cloning basler's repos I have realised that that my "sources" directory is slightly different than the README's one. While I get this:
.
├── base
├── meta-basler-imx8
├── meta-basler-tools
├── meta-browser
├── meta-clang
├── meta-freescale
├── meta-freescale-3rdparty
├── meta-freescale-distro
├── meta-imx
├── meta-nxp-demo-experience
├── meta-openembedded
├── meta-python2
├── meta-qt5
├── meta-timesys
├── meta-virtualization
└── poky
there is no meta-virtualization in the original and I dunnot have the meta-rust folder. I have followed the instructions carefully.
I'm posting this cause it may be the cause that I cannot run "pylon" successfully after building the imx-image-full. The error of running "pylon" persists:
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the[ 108.521941] audit: type=1701 audit(1655714451.990:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=763 comm="pylonviewer" exe="/opt/pylon/bin/pylonviewer" sig=6 res=1
Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, webgl, xcb.
Aborted
My host machine is Debian 11.3.
The board is imx8mminilpd4
I have 2 cameras, daa2500-60mci and daa4200-30mci
Good morning,
there is any ETA for the Basler meta layer to be released on Yocto Kirkstone?
I have a Variscite IMX8MP board, and I need to use NPU power to inference on Basler camera images. The problem is that Variscite has released Hardknott Yocto on the 5.10.72 kernel, which as NXP told me does not support some more complex networks like YOLO.
The last revision of Variscite is on the new LTS Yocto version Kirkstone (kernel 5.15.71), that on the other side does not have Basler support.
Or do you know if I can convert the actual Basler honister (5.15.x) layer to be used also on Kirkstone?
Thank you,
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.