Open gorka3reta opened 2 years ago
Are you running weston? If so, you might need to run pylon with a non-root user, e.g. weston
, this depends on your platform
What do u mean with "running weston"? I'm a newbie in yocto as I may have noticed. I'm running the "pylon" command directly in the terminal, which has root priviledge I suppose.
At one point I had to use su -c /usr/bin/pylon - weston
to run pylon as user weston
. But this might be due to configuration/setup problems
Where is it specified that I have to switch user in order to run the command? U mean that "Wayland terminal window" means to switch user? Anyway, is it a "weston" user in the system?
Finally I managed to solve the issue. When it says that u have to execute pylon in the "Wayland Terminal Window" it doesn't refer to the debug serial port. U have to connect an HDMI display to the DSI port (with a DSI HDMI bridge) and the boot the system. It should appear a kind of a desktop where and icon on the top left besides the NXP logo appears. That is the "Wayland Terminal Window". I execute pylon there and it works, though I am unable to open the camera device in order to stream, but at least now it works the command. I think that the "Wayland Terminal Window" should be a little bit better explained.
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.