Thanks. The main issue seems to be our build of Mesa is missing the
imagination/pvr driver (even though we do have the source code).

Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Added device '/dev/dri/card0' 
(NB2) using atomic mode setting.
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: libEGL warning: MESA-LOADER: 
egl: failed to open pvr: driver not built!
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Added device '/dev/dri/card1' 
(pvr) using non-atomic mode setting.
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Failed to initialize 
accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Created gbm renderer for 
'/dev/dri/card0'
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Failed to initialize 
accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Created gbm renderer for 
'/dev/dri/card1'
Jan 06 06:29:32 Ubuntu-riscv64 gnome-shell[1389]: Integrated GPU /dev/dri/card0 
selected as primary

There is a secondary issue though, in that two different graphics cards
are detected. So if you had any displays connected to 'pvr' instead of
'NB2' those displays would take the slow path of copying between GPUs
(assuming they are compatible with each other at all).


** Package changed: mutter (Ubuntu) => mesa (Ubuntu)

** Changed in: mesa (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mesa (Ubuntu)
       Status: Incomplete => Triaged

** Tags added: riscv

-- 
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-riscv package in Ubuntu:
  New
Status in mesa package in Ubuntu:
  Triaged

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-riscv/+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