Hi Daniel,

We continued debugging the issue further, and as you suggested, we were
able to identify the root cause. After installing the Xorg server which
as pvr support, we successfully launched GNOME-Shell using Xorg with GPU
acceleration by running startx and we are able to run gnome-shell.

However, we installing LightDM  and make use of complete gnome-session and 
configuring it to use Xorg for a multi-user environment, we started observing 
inconsistent behaviour. While LightDM is sometimes able to launch GNOME 
sessions with hardware acceleration successfully, other times it fails to do 
so, and GNOME falls back with the error message:
"Oh no! Something gone wrong."

We also noticed that after installing the Mesa drivers with pvr support,
GNOME sessions occasionally launch successfully via LightDM, but not
consistently. This intermittent behaviour is causing usability issues.

Additionally, we observed errors in the logs using "journalctl --user -b
| grep gnome-session" , indicating that GNOME is still attempting to
load software rendering binaries, as shown in the following log entries:


Apr 21 11:49:23 Ubuntu-riscv64 gnome-session[2090]: gnome-session-binary[2090]: 
WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Apr 21 11:49:23 Ubuntu-riscv64 gnome-session-binary[2090]: WARNING: App 
'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1
Apr 21 11:54:58 Ubuntu-riscv64 gnome-session[2484]: 
gnome-session-check-accelerated: GL Helper exited with code 256
Apr 21 11:54:58 Ubuntu-riscv64 gnome-session[2486]: libEGL warning: 
MESA-LOADER: failed to open swrast: libLLVM-14.so.1: cannot open shared object 
file: No such file or directory (search paths /usr/lib/riscv64-linux-gnu/dri, 
suffix _dri)


So I am unable to make sure what to makeup with this issue, could you please 
provide us more suggestions or feedback here.


Regards,
Sharan

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2105985

Title:
  Issue with enabling harware acceleration support on Ubuntu 24[RISCV64]

Status in linux package in Ubuntu:
  Incomplete
Status in linux-riscv package in Ubuntu:
  Incomplete
Status in mesa package in Ubuntu:
  Incomplete

Bug description:
  We are currently working on enabling GNOME (Wayland) to run on top of
  a Imagination GPU hardware accelerator for RISCV64. Initially, we
  tested this on Ubuntu 22.04 LTS, but after receiving suggestions from
  the GNOME forum, we decided to switch to Ubuntu 24.04 LTS. Since
  upgrading, we’ve noticed significant improvements, and GNOME is
  running more smoothly than expected. However, the graphics
  configuration still shows “Software Rendering” instead of utilising
  hardware acceleration. Despite configuring the Imagination GPU, we are
  unable to enable hardware acceleration for GNOME, which is impacting
  3D rendering performance.

  Please find the below EGL logs details for Imagination GPU as below:

  OpenGL ES profile vendor: Imagination Technologies
  OpenGL ES profile renderer: PowerVR Rogue GE8300
  OpenGL ES profile version: OpenGL ES 3.2
  OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
  OpenGL ES profile extensions:

  After several attempts and experiments running GPU computing tests,
  such as OpenCL tests on the Imagination GPU, an issue arises when
  attempting to execute 3D programs[opengles], as they are being
  executed on the CPU instead of the imagination GPU.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: mutter (not installed)
  Uname: Linux 5.10.41 riscv64
  ApportVersion: 2.28.1-0ubuntu3.5
  Architecture: riscv64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr  2 09:12:29 2025
  SourcePackage: mutter
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2105985/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to