** Description changed:

- 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.
+ 
+ [ 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.

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

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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to