We are working on enabling the GNOME Window with Wayland on the RISC-V platform. We have installed GNOME that was available in the Ubuntu APT Server (GNOME v42.9) and we’ve also successfully enabled Wayland which supports GPU HW Acceleration, When trying to attempt to launch GNOME (using ‘gnome-session’ cmd). We are able to execute applications like GNOME Calculator, Terminal, and a few others gnome apps without any issues over Weston been executing. But, the main issue is we are unable to get the GNOME desktop window to load properly, and we are encountering error as “Oh no! Something has gone wrong” error message at the GNOME login prompt. It seems we are missing something to include/integrate into out desktop window.
Below are the commands we used to install and enable Wayland and GNOME on the RISC-V platform. We are also attach a screenshot of the login window error for your reference:
Any reason not to use a recent GNOME (/Ubuntu) release?
Currently we are using Ubuntu 22.04 distribution, whatever GNOME version is been packaged with Ubuntu apt we are using same(v42.9). We did not tried with latest version of GNOME.
Please find the journalctl logs (As a new user I am not able to attach complete log).
gnome-session-binary tries to start the Gnome Shell (org.gnome.Shell.desktop) which immediately exits - probably because Gnome Shell is the Wayland compositor for the Gnome desktop and you’re already running another Wayland compositor (weston).
I understand that GNOME shell itself is wayland compositor for GNOME-desktop and even when i am not launching along with GNOME desktop, I only see the GNOME desktop launching successfully and requesting user login, which i am unable to successfully authenticate even with system root credentials.
There should be no reason to start the Gnome desktop explicitly (gnome-session etc). You did
$ apt-get install ubuntu-desktop-minimal
Among others, this installed package gdm3 which installed a systemd unit that would automatically start a Gnome login screen like the one shown in your screenshot.
What does
$ systemctl status gdm
report?
Usually the login password of the user you chose (on the first login prompt) should be sufficient. It depends on your PAM setup for gdm (/etc/pam.d/gdm-password), journalctl -b should probably show more information.
After creating a new user account we’re now successfully able to login into GNOME-Desktop. But the main issues we notice is that the GNOME Desktop is working with the ‘softpipe’ Graphics Setting, However our Platform supports IMG-GPU, and we’re trying to enable the GPU Hardware Accelerator for GNOME-Desktop.
Could you please guide us on how to configure the GNOME to use the GPU hardware accelerator?