Identify APUs from hardware
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| libdrm (Ubuntu) | Status tracked in Resolute | |||||
| Noble |
Fix Released
|
Undecided
|
Unassigned | |||
| Plucky |
Won't Fix
|
Undecided
|
Unassigned | |||
| Questing |
Fix Released
|
Undecided
|
Unassigned | |||
| Resolute |
Fix Released
|
Undecided
|
Unassigned | |||
Bug Description
[Impact]
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 fall back to this string when working on an APU and nothing is found in amdgpu.ids file.
[Where problems could occur]
Problems would be localized to exposing the strings that came from /proc/cpuinfo.
[Test Plan]
* Verify dGPU string in amdgpu.ids shows up properly in GNOME / Settings / About
* Verify on an unknown APU string matches substring from /proc/cpuinfo in GNOME / Settings / About (or modify amdgpu.ids locally to prove this out).
[Other Info]
Actual patches: https:/
https:/
https:/
| description: | updated |
| description: | updated |
| description: | updated |
| Changed in libdrm (Ubuntu Plucky): | |
| status: | New → Won't Fix |
| Changed in libdrm (Ubuntu Questing): | |
| status: | New → In Progress |
| Changed in libdrm (Ubuntu Noble): | |
| status: | New → In Progress |

Is there going to be any way to override this like you can with amdgpu.ids?
amdgpu.ids lacked an entry for my 5600G, so it defaulted to generic "Radeon Graphics". I added a "Radeon Vega 7" entry. (I also suggested that libdrm add this, but was told that "Radeon Graphics" was the official marketing name.)
cpuinfo gives "AMD Ryzen 5 5600G with Radeon Graphics", which is more specific than "Radeon Graphics", but that's the CPU name and not the name of the GPU within.
Thanks