← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2116763] Re: AArch64: Processor Name in GNOME System Info is blank

 

I added a merge proposal for plucky too. This was missing due to a
misunderstanding on my end. I also went ahead and subscribed ubuntu-
sponsors to this proposal as well. Sorry for the confusion I introduced.

** Merge proposal linked:
   https://code.launchpad.net/~aglinserer/ubuntu/+source/libgtop2/+git/libgtop2/+merge/493107

** Changed in: libgtop2 (Ubuntu Plucky)
     Assignee: (unassigned) => Andreas Glinserer (aglinserer)

** Changed in: libgtop2 (Ubuntu Plucky)
       Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libgtop2 in Ubuntu.
https://bugs.launchpad.net/bugs/2116763

Title:
  AArch64: Processor Name in GNOME System Info is blank

Status in libgtop2 package in Ubuntu:
  Fix Released
Status in libgtop2 source package in Noble:
  In Progress
Status in libgtop2 source package in Plucky:
  In Progress

Bug description:

  [ Impact ]

   * No information is shown on the Gnome System About page. This results in a
     not-well versed person to now know what CPU their system is running on.

   * This is because ARM systems do not offer an interface for readable names as
     x86_64 does. The readable names have to be inserted by some means of mapping
     the CPU implementer and part to a readable. Other programs such as lscpu do
     this by inserting a mapping table in the code. This patch extends the created
     data structure from libgtop by executing lscpu and parsing the relevant
     information. Only the requested readable name is added to the libgtop
     structure.

  [ Test Plan ]

   * Open the About page on a gnome ubuntu system - if you are on an arm64 system
     the `Processor` field is empty.

   * With the patch applied the Processor field is now filled with the readable
     name of the CPU and the amount of the cores.

  [ Where problems could occur ]

   * This patch touches the system information gathering for the cpu. So any
     program relying on this structure might end up with invalid data if they are
     relying on a fixed size. In the case of the about page it would show no
     information.

  [ Other Info ]

   * There is currently a merge request open for this change upstream, but
     upstream is blocked due to problems in the ci/cd pipeline:
     https://gitlab.gnome.org/GNOME/libgtop/-/merge_requests/51

   * The patch has gone through a first review already

  [Original report]
  Per upstream bugs https://gitlab.gnome.org/GNOME/libgtop/-/issues/60 and https://gitlab.gnome.org/GNOME/libgtop/-/issues/66, libgtop (used by GNOME and Xfce) doesn't know how to read the processor name on non-x86 systems.

  /proc/cpuinfo which it uses doesn't contain the processor name on
  AArch64 systems. Instead it should read output from `lscpu`, or the
  SMBIOS processor table.

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