[wpe-webkit] WPE webkit for nvidia jetson devices

zan at falconsigh.net zan at falconsigh.net
Wed May 8 12:18:27 PDT 2019


On Mon, May 6, 2019, at 4:04 PM, Jan Egger wrote:
> Hi all,
> 
> I would like to use WPE webkit on a Nvidia Jetson Nano device but I 
> have some issues with building / installing WPE on the device. Has 
> anyone managed to run WPE on a Jetson device?
> 
> Any help would be highly appreciated!
> 

Hi,

I had some mediocre success building and running it on Jetson devices, but it was some time ago.


As far as base platform support goes, there's a few options. One is sticking to the NVIDIA's JetPack suite and using that toolchain and rootfs. While the installation of the suite is automated, I suppose most of the cross-compilation would have to be done manually. Alternatively, there's apparently Yocto layers readily available to build JetPack-based systems and with which the meta-webkit layer could be paired.
https://github.com/madisongh/meta-tegra
https://github.com/igalia/meta-webkit

With this option, one would end up using the NVIDIA-provided graphics drivers (still of proprietary nature, I think). Last time I worked with these drivers, I believe there was some Wayland support provided by those drivers, but AFAIR it was all implemented on top of EGL streams extension.

If the Wayland support there is useful enough, then it should be possible to leverage the WPEBackend-fdo implementation in order to glue WPEWebKit to the platform GL capabilities. Otherwise, I can provide a prototype backend implementation that used EGL streams to enable rendering on that software stack.


The other option, if it's still around, is the open-source graphics stack. I ran this on the old Jetson TK1 board some years ago. It was possible to build a mainline Linux kernel along with Mesa's nouveau driver for this board, and it ran quite OK. Here's more detail on that setup:
https://elinux.org/Tegra/Mainline_SW/Nouveau

But that was some years ago, and I don't know what the state of support for this open-source stack is nowadays. If it's still alive and can run on these boards, then the already-mentioned WPEBackend-fdo implementation should work well there, since it'd be running against Mesa.


Hope that helps in some ways.

Regards,
Zan

> Thanks,
> Jan
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> webkit-wpe mailing list      (webkit-wpe at lists.webkit.org)
> Help/Unsubscribe/Update your Subscription:
> https://lists.webkit.org/mailman//listinfo/webkit-wpe
>


More information about the webkit-wpe mailing list