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.

PROCESSOR-SDK-AM62X: Bad performance chromium-ozone-wayland with wayland/weston

Part Number: PROCESSOR-SDK-AM62X
Other Parts Discussed in Thread: SK-AM62

Hello,

I integrated the chromium-ozone-wayland recipe using the advises from TI team.
I added the following lines in the processor-sdk-08.04.01.04-config.txt files:

meta-browser,github.com/.../meta-browser.git,master,5f365ef0f842ba4651efe88787cf9c63bc8b6cb3,layers=
meta-python2,git.openembedded.org/meta-python2,dunfell,HEAD,layers=
OECORELAYERCONF=./sample-files/bblayers-dunfell-browser.conf.sample

I add chromium recipe to conf/local.conf:

DISTRO_FEATURES_append = " wayland"
CORE_IMAGE_EXTRA_INSTALL += "wayland weston weston-init"
IMAGE_INSTALL_append = " xenomai chromium-ozone-wayland"

1/ I launch weston with a non-root user from a systemd service at boot
2/ I launch my nginx server and my application from a systemd service
3/ I launch chromium pointing on the local nginx server from a systemd service.

The performances a really bad, the HTML app is not usable CSS animation are blinking.

So I stop all application and nginx server and add a simple html file with a simple CSS animation on the file system.
1/ I launch manually weston
2/ I launch chromium pointing on the local file
3/ CSS animation is blinking, the image is not fully refreshed, some white line appear.
4/ I open a terminal and check with top command to see the CPU usage.
- I saw that weston and chromium is using the most CPU ressources.
- But chromium is not using more than 40% of the CPU
- The animation is not displayed correctly weston use more than 60% of the CPU.
- So I check the linux journal and log messages but there is no error raised.

So I decided to use a lower resolution and go to 800x600 in weston.ini configuration file.
1/ I launch manually weston
2/ I launch chromium pointing on the local file

But the bug occurs less times but is still their.

So I tried to give a try to matrix-browser
1/ I launch matrix-browser from TI default image, after stop 3D demos.
2/ The HTML app is not displayed, the CSS animation is better, but I have blank pages instead of the app GUI.

A/ Could you help me to identify the issue, is the AM62x processor is not powerfull enough to make a CSS animation displayed correctly ?
B/ Is there some optimisation to apply to wayland/weston ?
C/ Is there an alternative to weston compositor ?
D/ Could help to chromium with xwayland
E/ The X11 feature is mentioned as experimental, is X11 is be supported by the SDK ?

Our product need a HTML5 compatible browser to display our HTML app, it a blocking point.
Could you provide us a solution ?


Have a nice day.

Regards,

Alexis.