Tool/software: Linux
Hi.
I have 2 AM335 SK EVM.
Both of them are tested with SDK5.0.3.
The QT icon GUI is almost having very slow response.
CAn you tell me how to trigger / activate the GUI ICON from the Command line Console?
Thanks.
BR Rio
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi.
I have 2 AM335 SK EVM.
Both of them are tested with SDK5.0.3.
The QT icon GUI is almost having very slow response.
CAn you tell me how to trigger / activate the GUI ICON from the Command line Console?
Thanks.
BR Rio
Hello,
Do you mean that you are trying to launch the qt icon from Matrix GUI and you are observing this issue?
Here is the guide how you could execute qt demos from console and matrix gui guide:
software-dl.ti.com/.../Foundational_Components_Graphics.html
http://software-dl.ti.com/processor-sdk-linux/esd/docs/05_03_00_07/linux/Examples_and_Demos_Matrix_User_Guide.html
Do you observe the same problem when mouse is connected to the board?
Best Regards,
Margarita
Hi M:
Thanks for helping.
I did see some examples from here:
/usr/share/qt5/examples
My purpose is how to active / run those examples from the command line.
I cannot use the USB mouse here due to I need to adapt the USB camera for running DeepLearning APP.
Since SK EVM only have 1 USB - type A socket....
THanks.
BR Rio
Hello,
Refer this guide:
For example you could run qt calculator by :
cd /usr/share/qt5/examples/widgets/widgets/calculator
./calculator
The QT5 within PSDK is prebuilt with Wayland enabled and therefore wayland-egl is the default QPA. Hence all QT applications should be run on top of Weston. To run QT application without Weston, the user can use “- platform” option to specify the desired QPA as “linuxfb” or “eglfs”.
Hope this helps.
BR
Margarita
Hi M:
Thanks for the helping.
My directly answer is : I tried to run the "ArmNN" demo application on the AM335 + SDK503.
Due to the GUI is too slow, may you tell me how to execute the ArmNN demo app from the command line?
There is no file like the ./Calculator as your previous reply.
Thanks.
BR Rio
Hi M:
I found the runArnnnLiveCam.sh.
However, my external Camera USB for AM335 seems not working.
How to solve this?
BR Rio
root@am335x-evm:~# [ 92.364476] usb 2-1: USB disconnect, device number 2
[ 94.134348] usb 2-1: new high-speed USB device number 3 using musb-hdrc
[ 94.330467] usb 2-1: New USB device found, idVendor=045e, idProduct=075d
[ 94.337301] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 94.349490] usb 2-1: Product: Microsoft?LifeCam Cinema(TM)
[ 94.363436] usb 2-1: Manufacturer: Microsoft
[ 94.386099] uvcvideo: Found UVC 1.00 device Microsoft?LifeCam Cinema(TM) (045e:075d)
[ 94.425792] uvcvideo 2-1:1.0: Entity type for entity Extension 5 was not initialized!
[ 94.433764] uvcvideo 2-1:1.0: Entity type for entity Processing 4 was not initialized!
[ 94.476600] uvcvideo 2-1:1.0: Entity type for entity Selector 3 was not initialized!
[ 94.499760] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 94.531096] input: Microsoft?LifeCam Cinema(TM): as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb2/2-1/2-1:1.0/input/input3
[ 147.574793] NET: Registered protocol family 15
[ 150.221524] Initializing XFRM netlink socket
root@am335x-evm:~# cd /usr/share/
root@am335x-evm:/usr/share# cd ..
root@am335x-evm:/usr# cd bin
root@am335x-evm:/usr/bin# ./runArmnnLiveCam.sh
ArmNN v20190200
VIDEOIO ERROR: V4L: index 1 is not correct!
more Detail Logs as the below :(.
I dont have any idea to solve this ...
root@am335x-evm:~# [ 92.364476] usb 2-1: USB disconnect, device number 2
[ 94.134348] usb 2-1: new high-speed USB device number 3 using musb-hdrc
[ 94.330467] usb 2-1: New USB device found, idVendor=045e, idProduct=075d
[ 94.337301] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 94.349490] usb 2-1: Product: Microsoft?LifeCam Cinema(TM)
[ 94.363436] usb 2-1: Manufacturer: Microsoft
[ 94.386099] uvcvideo: Found UVC 1.00 device Microsoft?LifeCam Cinema(TM) (045e:075d)
[ 94.425792] uvcvideo 2-1:1.0: Entity type for entity Extension 5 was not initialized!
[ 94.433764] uvcvideo 2-1:1.0: Entity type for entity Processing 4 was not initialized!
[ 94.476600] uvcvideo 2-1:1.0: Entity type for entity Selector 3 was not initialized!
[ 94.499760] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 94.531096] input: Microsoft?LifeCam Cinema(TM): as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb2/2-1/2-1:1.0/input/input3
[ 147.574793] NET: Registered protocol family 15
[ 150.221524] Initializing XFRM netlink socket
root@am335x-evm:/usr/share/qt5/examples/multimediawidgets/camera# v4l2-ctl -D
Driver Info (not using libv4l2):
am3Driver name : uvcvideoxamples/multimediawidgets/camera# v4l2-ctl --get-
Card type : Microsoft?LifeCam Cinema(TM):
Bus info : usb-musb-hdrc.1-1
Driver version: 4.14.79
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Hello Rio Chan,
I see that you are running multimediawidgets/camera demo.
I guess you are observing black screen with QT camera demo.
Please refer the below thread:
https://e2e.ti.com/support/processors/f/791/t/605939
We do not support QT demos for camera capture.
You could use v4l2 for capture.
In additional you could open a new thread about USB capture.
Hope this helps.
Best Regards,
Margarita
Hi M:
It's very strange, I also test the SDK5.0.3 on the AM5 EVM.
The Camera demo is good, and the ArmnnLiveCam demo is good.
Why the Camera is not working on AM335 SK EVM? I don't get it.
BR Rio
Hello,
I have tested ./runArmnnLiveCam.sh on Am572x with camera module and it is working. The camera module is detected as /dev/video1.
software-dl.ti.com/.../Foundational_Components_ArmNN.html
"
... I need to adapt the USB camera for running DeepLearning APP.
"
I would recommend you to open a new thread about USB camera and DeepLearning App.
Best Regards,
Margarita
Hi M:
My E2E post for USB Camera is here:
https://e2e.ti.com/support/processors/f/791/t/818643
BR Rio
Hi Rio,
The armnn example source code file has hard coded V4L video port number. Currently it is set to 1, while I think in your AM335x board, the USB camera is mounted at port 0. If you change the port number to 0 in line #340 and rebuild the binary using Yocto build, the LiveCamera demo can work for you.
337 + size_t i = filename.rfind("camera_live_input", filename.length());
338 + if (i != string::npos)
339 + {
340 + cap = VideoCapture(1);
341 + namedWindow("ARMNN MobileNet Example", WINDOW_AUTOSIZE | CV_GUI_NORMAL);
342 + input_type = INPUT_CAMERA; //camera input
343 + }
Hi Manisha:
You mean the file system needs to rebuild?
Sorry, do we have the FileSystem Rebuild by using Yacto instruction?
BR Rio
Hi Rio,
You do not need to build entire filesystem in Yocto but just the ArmNN application. Check this link on building through Yocto. Search for armnn recipe and rebuild that.

Hi Manisha:
Sorry, I'm not familiar with the Yocto build.
Please review my SOP attached here.
Do you think it's correct procedure to build the TI_SDK (not Arago) file system?
I think my Page 3 should be changed according the TI SDK file system? ==> : git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
What's the Git link for TI SDK file system as the the Line of above shows?
BR Rio
Hi Manisha:
How to let the bitback know I'm having the Python3.4?
Please see my console as the below.
BR Rio
root@ubuntu:/opt/tisdk# MACHINE=am335x-evm bitbake tisdk-rootfs-image
Sorry, python 3.4.0 or later is required for this version of bitbake
root@ubuntu:/opt/tisdk# python -V
Python 2.7.3
root@ubuntu:/opt/tisdk# alias python='/usr/bin/python3.4'
root@ubuntu:/opt/tisdk# MACHINE=am335x-evm bitbake tisdk-rootfs-image
Sorry, python 3.4.0 or later is required for this version of bitbake
root@ubuntu:/opt/tisdk# alias python='/usr/bin/python3.4'
root@ubuntu:/opt/tisdk# python -V
Python 3.4.5
root@ubuntu:/opt/tisdk#
Hello Rio,
As Manisha said there is no need to build the entire rootfs.
Please make sure that you follow this guide:
Please execute the steps from "Host Setup - Ubuntu (Recommended)"
I would recommend you to check "1.2.3.4 Recipes" chapter also.
It seems to me like you are executing bitbake command in the main tisdk folder not in build folder. Please check the Build steps chapter.
Hope this helps.
BR
Margarita
Hi M:
Yes, I know the "Recipes". for partial building.
But , before that, I have the problem for using Python3.4 for building.
Please check my log as the below.
Step1: I have met the bitback issue for using Python3.4.
root@ubuntu:/opt/tisdk# MACHINE=am335x-evm bitbake tisdk-rootfs-image
Sorry, python 3.4.0 or later is required for this version of bitbake
Step2: I make the system to find the 3.4.
root@ubuntu:/opt/tisdk# alias python='/usr/bin/python3.4'
root@ubuntu:/opt/tisdk# python -V
Python 3.4.5
Step3: It still told me it cannot find the 3.4.
root@ubuntu:/opt/tisdk# MACHINE=am335x-evm bitbake tisdk-rootfs-image
Sorry, python 3.4.0 or later is required for this version of bitbake
So, what's wrong here?
How to solve this?
BR Rio
Hello Rio,
I tried on my side. I am using Ubuntu 14.04.
If I execute these steps :
./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-05.03.00.07-config.txt
cd build
. conf/setenv
export TOOLCHAIN_PATH_ARMV7=/home/mms/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
export TOOLCHAIN_PATH_ARMV8=/home/mms/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
/tisdk/build$ MACHINE=am335x-evm bitbake tisdk-rootfs-image
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 514 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:04:58
Parsing of 3277 .bb files complete (442 cached, 2835 parsed). 4201 targets, 499 skipped, 0 masked, 0 errors.
....
I do not see python error.
mms@ubuntu:~/tisdk/build$ bitbake --version
BitBake Build Tool Core version 1.36.0
You could check
cd /usr/bin
/usr/bin$ ls -al pyth*
lrwxrwxrwx 1 root root 9 Dec 21 2013 python -> python2.7
lrwxrwxrwx 1 root root 9 Dec 21 2013 python2 -> python2.7
-rwxr-xr-x 1 root root 3345416 Jun 22 2015 python2.7
lrwxrwxrwx 1 root root 9 Sep 2 2015 python3 -> python3.4
-rwxr-xr-x 2 root root 4061272 Jun 19 2015 python3.4
-rwxr-xr-x 2 root root 4061272 Jun 19 2015 python3.4m
lrwxrwxrwx 1 root root 10 Sep 2 2015 python3m -> python3.4m
The python3 installation should have created a python3 symlink to python3.4. If this didn't happen, create it yourself.
Search in the internet how you could create symbolic link or symlink .
I would recommend you if you still have problem with bitbake to open a new thread.
Hope this helps.
Best Regards,
Margarita