https://bugs.kde.org/show_bug.cgi?id=481815

--- Comment #2 from Arjen Hiemstra <ahiems...@heimr.nl> ---
So to a certain extent this is intentional: The GPU plugin uses the DRM device
number to determine what each device is. This is because of a previous bug
where just blindly iterating "/dev/drm/card*" resulted in cards changing across
reboots because the order wasn't necessarily fixed. See
https://invent.kde.org/plasma/ksystemstats/-/blob/master/plugins/gpu/LinuxBackend.cpp?ref_type=heads#L35
for the relevant code. The reason you end up with card 2 is most likely that
there's an iGPU as card 1 that we don't support.

Ultimately I think the way to solve this isn't to change the indexes or some
such, but rather come up with a better way of naming these devices. It's
actually rather ugly that we have "GPU x" as names and I'd prefer it if we
could instead have something more like a proper device name. We do have a
sensor exposing the device name from udev, but I seem to recall we don't use it
because it can be rather lengthy. So it might need some extra work to come up
with a scheme, but I think it would be a more proper solution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to