LVDS V1.0A capacitive display

I was able to reproduce the screen freezing while trying to deploy the Python QML sample project.

A possible cause for it could be related to this: When you run the Python GUI QML example the IDE Extension deploys two containers into the module: One with your Python app, and another with Weston, the graphical interface that takes care of displaying everything on screen.

In the evaluation containers that come with TorizonCore you have one running Portainer, and another running Weston as well.

So the screen freezing could be due to conflicts between the two Weston containers trying to control the display at the same time.

To avoid this you can stop all running containers in the module by running docker stop $(docker ps -a -q).

You can also create a script that does this every time you deploy the QML containers. To do this:

  • Create a text file with the following content:
#!/bin/sh
echo "Killing docker processes"
docker stop $(docker ps -a -q)
echo "Killed"

This is the script itself.

  • Name it like for example stop_containers.sh and save it in <path-to-your-vscode-project>/appconfig-0/;

  • In our extension configurations edit the startupscript field and put the name of your script as value e.g. stop_containers.sh;

  • Now every time you press F5 VSCode will run the script, stopping any running containers in the device before deploying.

Try doing the above suggestions and see it helps you.

Best regards,
Lucas Akira