Enabling GNOME Desktop Support on RISC-V on GPU

Hello All,

We have been working on enabling to support for GNOME Desktop (with Wayland) over Imagination GPU (which does supports for X & Wayland Window System) on our RISC-V Platform by installing the necessary Gnome packages (ubuntu-desktop-minimal) on Ubuntu 22.04 distribution. I noticed, i was able to successfully launch the gnome-session on CPU (without setting LD_LIBRARY_PATH) while the performance of the GNOME Desktop environment is very poor (as it’s handles over CPU). But noticing a below issue after setting the ‘LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib’ (to configure it to work with GPU) upon launching the gnome-session as below:

root@Ubuntu-riscv64: gnome-session
/usr/libexec/gnome-session-binary: symbol lookup error: /lib/riscv64-linux-gnu/libpangocairo-1.0.so.0: undefined symbol: cairo_ft_font_options_substitute

I’m on Ubuntu 22.04, which provides Gnome Shell v42.9 with ubuntu-desktop-minimal package from their official APT.

I tried finding if there any necessary packages which can fix this issue, but still no luck yet. It’ll be highly appreciated if you could provide us with some details which will help us fix this.

Regards,
Ravi Kiran

2 Likes

Looks like you accidentally built cairo without freetype support.

Hello @mcatanzaro , Thanks for your reply.

I’m quite new to this. Can you please share more details on this? So i can check further.

I’m currently using is the Cairo 1.16 (Cairo-1.16.0) and FreeType 2.11.1 (FreeType-2.11.1)

Thanks…

Review your meson build options used when building cairo (see cairo’s meson.options).

1 Like

Feel free to hang out in the GNOME OS channel. Sometimes we talk RISCV enabling. Good to get your experience as we try to build GNOME OS on RISCV.

Please use jhbuild or some other supported building mechanism if you haven’t already done so.

1 Like

Hello Sri, Thanks for you reply. Please share me the link for the same. So i can look into it?

Thanks…

Here is the link to the GNOME OS channel - https://matrix.to/#/#gnome-os:gnome.org

jhbuild docs is here - JHBuild Manual — JHBuild documentation