Bug 474239 - GPU name changes in system monitor when switching kernel.
Summary: GPU name changes in system monitor when switching kernel.
Status: CONFIRMED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 5.27.7
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-06 20:51 UTC by pete
Modified: 2023-09-10 16:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pete 2023-09-06 20:51:37 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. setup sensor in plasma-systemmonitor for gpu (my 6750 xt appeared as GPU 1) using linux-tkg-pds
2. restart into default Arch kerne and check for sensor readings.
3. restart back into linux-tkg-pds and check for sensor readings.

OBSERVED RESULT
When I boot into the vanilla Arch kernel, all my sensors go blank and I have to replace all the sensors with ones from "GPU 2" rather than "GPU 1". Its the same amd 6750xt card, standard mesa/radv drivers, and there are no other GPUs or APUs in my system.

EXPECTED RESULT
name of GPU should stay the same regardless of kernel. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.4
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 pete 2023-09-06 21:00:27 UTC
I should note, linux-tkg-pds is currently at 6.4.10, whereas both the vanilla Arch kernel and linux-zen are at 6.4.12. The latter two both show the GPU name as GPU 2, while only tkg-pds shows GPU 1.
Comment 2 David Redondo 2023-09-08 06:37:10 UTC
we use the order in which the kernel reports GPUs as our order not sure what else we can do here.
Comment 3 Nate Graham 2023-09-08 16:55:24 UTC
Could we sort them by name?
Comment 4 pete 2023-09-10 16:07:35 UTC
(In reply to Nate Graham from comment #3)
> Could we sort them by name?

I think it might be card-related because my old card was listed as an RX580 in systemmonitor, whereas this new 6750XT is listed as either GPU1 or GPU2.