← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2127944] [NEW] Identify APUs from hardware

 

Public bug reported:

libdrm has an interface that is used by a variety of software (such as
GNOME about dialog, nvtop, rocminfo etc) to describe the GPU connected
to the system.

libdrm by default will try to match an AMD GPU to lines in amdgpu.ids.
If there is no match it will fall back to "Radeon Graphics".

This is a constant game of cat and mouse because every single SKU of a
new product needs a line added.

On APUs this is unnecessary though.  The string that comes from
/proc/cpuinfo describing the model comes from the hardware itself.

A change has been made in upstream libdrm that will prefer this string
when working on an APU instead of the amdgpu.ids file.

Can you please bring this patch into a future upload for libdrm ?

https://gitlab.freedesktop.org/mesa/libdrm/-/commit/2c1d39eff8b9c8296b57212bffd031029ce74491

** Affects: libdrm (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Identify APUs from hardware

Status in libdrm package in Ubuntu:
  New

Bug description:
  libdrm has an interface that is used by a variety of software (such as
  GNOME about dialog, nvtop, rocminfo etc) to describe the GPU connected
  to the system.

  libdrm by default will try to match an AMD GPU to lines in amdgpu.ids.
  If there is no match it will fall back to "Radeon Graphics".

  This is a constant game of cat and mouse because every single SKU of a
  new product needs a line added.

  On APUs this is unnecessary though.  The string that comes from
  /proc/cpuinfo describing the model comes from the hardware itself.

  A change has been made in upstream libdrm that will prefer this string
  when working on an APU instead of the amdgpu.ids file.

  Can you please bring this patch into a future upload for libdrm ?

  https://gitlab.freedesktop.org/mesa/libdrm/-/commit/2c1d39eff8b9c8296b57212bffd031029ce74491

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



Follow ups