<div dir="ltr">Hi Daniel,<div>Thanks for your inputs.</div><div>Yes will look into the dependencies.</div><div><br></div><div>And for the first screen rendering sequence would be like,</div><div><br></div><div>1. weston init.</div><div>2. Create a window from the user application process and render the content.</div><div>3. Layer manager needs to react to the window creation and the render order configuration.</div><div>4. then only rendered content can be seen.</div><div><br></div><div>This is the sequence to render the first screen. from point 1 to point 4 taking ~500ms to 1 Sec.</div><div>So during this initialization period, when weston clears the first screen with glclear, we wanted to display the static image as background. This will solve our problem.</div><div><br></div><div>But as per your input if we revisit reducing the weston size and bringing into initramfs that will be good actually. </div><div>if this works we won't bother about the above said blank issue.<br></div><div><br></div><div>If I get any stripped weston dependencies that will be good.</div><div><br></div><div>Thanks,</div><div>Arunkumar R</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 3:32 PM Daniel Stone <<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Arunkumar,<br>
<br>
On Mon, 27 Jul 2020 at 06:59, arunkrish20 <<a href="mailto:arunkrish20@gmail.com" target="_blank">arunkrish20@gmail.com</a>> wrote:<br>
> We are working with the i.MX8 platform. We are working with weston and DRM backend. Below are the version details.<br>
><br>
> NXP BSP Version: 4.14.98_2.0.0_ga<br>
> SC Firmware Version : 1.3.1<br>
> wayland version 1.16 am<br>
> weston- ivi - 5.0.0<br>
<br>
We are currently working our way towards releasing Weston 9.0.0, so<br>
this version is quite old.<br>
<br>
> Our requirement is to display the first screen in 2 Seconds.<br>
><br>
> In the current environment we are able to see the first screen in the 6th seconds.<br>
<br>
Ouch, that's quite long.<br>
<br>
> We tried to boot the weston in initramfs. But due to size constraints we are not able to. Size comes around 65MB.<br>
><br>
> Is there any possibility for reducing the size of weston?<br>
<br>
Weston itself with the DRM + GL backends only takes around 750kB once<br>
installed. I assume the 65MB comes from extra dependencies, but that<br>
is something you would have to investigate and configure in your Yocto<br>
build. Weston itself does not have many dependencies, and those<br>
dependencies are not large.<br>
<br>
> Weston taking 500ms to complete the initialization. Can we reduce this timing? e.g if we block unwanted device probing etc, any idea?<br>
><br>
> In case if we use separate drm based rendering application for the first screen and switching to weston are seeing blank. Instead of clearing the weston screen buffer can we have a logo on first rendering. so that blank can be avoided between the first drm application to weston rendering.<br>
<br>
NXP has forked Weston and written their own backend, which is<br>
responsible for the initialisation (both the time and the blank<br>
screen). The default DRM backend is quite quick to come up and be<br>
responsive, and doesn't blank the screen. So both these issues are<br>
something you'd need to raise with NXP support, as they are due to<br>
NXP's changes to our code.<br>
<br>
Cheers,<br>
Daniel<br>
</blockquote></div>