<div dir="auto">Thanks for your suggestions Andrea.<div dir="auto">I followed up on your WPE comment and found out that there is a build switch called "-DUSE_WPE_RENDERER" to let webkitgtk use the WPE renderer.</div><div dir="auto"><br></div><div dir="auto">In my buildroot configuration file, this switch is off, but further reading revealed that upstream recommends the use of this option.</div><div dir="auto"><br></div><div dir="auto">I am away from my build system currently, but will give it a try (turn on wpe renderer switch) when i get back</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Cerezo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 7, 2021, 8:44 AM Andrea Giammarchi <<a href="mailto:andrea.giammarchi@gmail.com">andrea.giammarchi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Not sure if relevant, or a proper answer, 'cause I think there are no bindings for Gtk (or maybe there are?) but the fastest browser for the Pi (2, 3, 4) is WPEWebKit, which is HW accelerated.</div><div>To date, I've never managed to get nearly similar performance via WebKit2-GTK: not CSS, not Canvas, even less WebGL, video are slow.<br></div><div><br></div><div>Maybe you can bootstrap COG and WPE a part? For all those cases I've mentioned, it does an excellent job (30fps+ stable on full screen WebGL, and excellent video playback + smooth CSS animations).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 7, 2021 at 1:08 AM C Larbi <<a href="mailto:pkl2000us@gmail.com" target="_blank" rel="noreferrer">pkl2000us@gmail.com</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"><div dir="auto">I am working on an information display screen using webkitgtk.<div dir="auto"><br></div><div dir="auto">The system was put together using buildroot.</div><div dir="auto"><br></div><div dir="auto">The display screen uses some javacript to manipulate the DOM to create some effects. </div><div dir="auto"><br></div><div dir="auto">So far everthing seems to be working perfectly except that it seems rendering the effects seem to be slow.</div><div dir="auto"><br></div><div dir="auto">Some of these effects are to give smooth transitions, but on my pi 4, these transitions are seen as visible STEPS instead of being smooth.</div><div dir="auto"><br></div><div dir="auto">I am no expert in GPUs but it seems the gpu is not being utilized in rendering.</div><div dir="auto"><br></div><div dir="auto">When i set the environment variable "WEBKIT_FORCE_COMPOSITING_MODE" to 1, the whole screen gets garbled. </div><div dir="auto"><br></div><div dir="auto">I will appreciate any pointers in getting this fixed</div><div dir="auto"><br></div><div dir="auto">Below are some details of my system:</div><div dir="auto"><br></div><div dir="auto">webkitgtk version = 2.30.2</div><div dir="auto">Mesa3d version = 20.2.2</div><div dir="auto">Opengl es and opengl egl are enabled</div><div dir="auto">Using wayland compositor (weston)</div><div dir="auto">Using the vc4-fkms-v3d on pi 4</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Cerezo</div><div dir="auto"><br></div></div>
_______________________________________________<br>
webkit-gtk mailing list<br>
<a href="mailto:webkit-gtk@lists.webkit.org" target="_blank" rel="noreferrer">webkit-gtk@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-gtk" rel="noreferrer noreferrer" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-gtk</a><br>
</blockquote></div>
</blockquote></div>