Re: [webkit-gtk] WPEWebKit goes half speed
Dear all, I have finally solved the problem, or better, Zan found what was causing the performance drop, and turned out ICU was constantly querying the FS in search for /etc/localtime which, if not present, was causing a lot of back and forth, degrading performance. The solution, which has been updated in my ArchLinux kiosk installer for the Pi, was to use timedatectl [1] and be sure such a symlink was there. sudo timedatectl set-timezone "$(curl --fail https://ipapi.co/timezone)" Thanks to Zan in particular, and thanks to this ML too. Have a lovely weekend [1] https://wiki.archlinux.org/title/System_time#Update_timezone_every_time_NetworkManager_connects_to_a_network On Mon, Aug 9, 2021 at 3:48 PM wrote: > On Sun, Aug 8, 2021, at 11:11 AM, Andrea Giammarchi wrote: > > cog 0.6 and 2.28 (IIRC) were just fine ... the raspbian image from the > wpewebkit site, which has cog 0.6, goes, on the same hardware, more than > twice as fast. > > Meanwhile, weston 9 happened, mesa brought GLES 3.1 in the game, so it's > hard to tell, in isolation, what is causing such drop, but I guess there's > nothing bad in the way I build WPEWebKit there, right? > > Thanks for the reply though. > > > No, you build it just fine. > > Removal of ACCELERATED_2D_CANVAS option shouldn't have any effect on WebGL > content. It was only ever used for 2D canvas, and even there it had varying > performance with stability/quality problems. I don't know what the state of > it was in 2.28 but when I was removing the feature it wasn't really working > anyway. > > On Wed, Aug 4, 2021 at 9:58 PM Fujii Hironori > wrote: > > > On Tue, Aug 3, 2021 at 6:57 PM Andrea Giammarchi < > andrea.giammar...@gmail.com> wrote: > > Dear list, > I've recently built wpewebkit 2.32.3 [1] and cog 0.10 [2] and it > starts/runs fine on weston in both Pi 4 32bit, Pi4 64bit, and Pi3 64bit. > > However, the jellyfish demo [3] that once run at ~60fps [4] is now ~24FPS > on Pi 4, and ~15FPS on Pi 3. I am not using dedicated cairo glesv2 builds, > just regular cairo, latest mesa drivers, vulkan, and so on. > > > Which version was previously working fine? > > ___ > webkit-gtk mailing list > webkit-gtk@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-gtk > > > ___ > webkit-gtk mailing list > webkit-gtk@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-gtk > ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk
Re: [webkit-gtk] WPEWebKit goes half speed
On Sun, Aug 8, 2021, at 11:11 AM, Andrea Giammarchi wrote: > cog 0.6 and 2.28 (IIRC) were just fine ... the raspbian image from the > wpewebkit site, which has cog 0.6, goes, on the same hardware, more than > twice as fast. > > Meanwhile, weston 9 happened, mesa brought GLES 3.1 in the game, so it's hard > to tell, in isolation, what is causing such drop, but I guess there's nothing > bad in the way I build WPEWebKit there, right? > > Thanks for the reply though. No, you build it just fine. Removal of ACCELERATED_2D_CANVAS option shouldn't have any effect on WebGL content. It was only ever used for 2D canvas, and even there it had varying performance with stability/quality problems. I don't know what the state of it was in 2.28 but when I was removing the feature it wasn't really working anyway. > On Wed, Aug 4, 2021 at 9:58 PM Fujii Hironori > wrote: >> >> On Tue, Aug 3, 2021 at 6:57 PM Andrea Giammarchi >> wrote: >>> Dear list, >>> I've recently built wpewebkit 2.32.3 [1] and cog 0.10 [2] and it >>> starts/runs fine on weston in both Pi 4 32bit, Pi4 64bit, and Pi3 64bit. >>> >>> However, the jellyfish demo [3] that once run at ~60fps [4] is now ~24FPS >>> on Pi 4, and ~15FPS on Pi 3. I am not using dedicated cairo glesv2 builds, >>> just regular cairo, latest mesa drivers, vulkan, and so on. >>> >> >> Which version was previously working fine? >> > ___ > webkit-gtk mailing list > webkit-gtk@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-gtk > ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk
Re: [webkit-gtk] WPEWebKit goes half speed
cog 0.6 and 2.28 (IIRC) were just fine ... the raspbian image from the wpewebkit site, which has cog 0.6, goes, on the same hardware, more than twice as fast. Meanwhile, weston 9 happened, mesa brought GLES 3.1 in the game, so it's hard to tell, in isolation, what is causing such drop, but I guess there's nothing bad in the way I build WPEWebKit there, right? Thanks for the reply though. On Wed, Aug 4, 2021 at 9:58 PM Fujii Hironori wrote: > > On Tue, Aug 3, 2021 at 6:57 PM Andrea Giammarchi < > andrea.giammar...@gmail.com> wrote: > >> Dear list, >> I've recently built wpewebkit 2.32.3 [1] and cog 0.10 [2] and it >> starts/runs fine on weston in both Pi 4 32bit, Pi4 64bit, and Pi3 64bit. >> >> However, the jellyfish demo [3] that once run at ~60fps [4] is now ~24FPS >> on Pi 4, and ~15FPS on Pi 3. I am not using dedicated cairo glesv2 builds, >> just regular cairo, latest mesa drivers, vulkan, and so on. >> >> > Which version was previously working fine? > > ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk
Re: [webkit-gtk] WPEWebKit goes half speed
On Tue, Aug 3, 2021 at 6:57 PM Andrea Giammarchi < andrea.giammar...@gmail.com> wrote: > Dear list, > I've recently built wpewebkit 2.32.3 [1] and cog 0.10 [2] and it > starts/runs fine on weston in both Pi 4 32bit, Pi4 64bit, and Pi3 64bit. > > However, the jellyfish demo [3] that once run at ~60fps [4] is now ~24FPS > on Pi 4, and ~15FPS on Pi 3. I am not using dedicated cairo glesv2 builds, > just regular cairo, latest mesa drivers, vulkan, and so on. > > Which version was previously working fine? ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk