SUMMARY Since the upgrade to 5.27.7, using any KDE Plasma based GPU monitoring applet, System Monitor page, or GPU sensor desktop widgets, now report incorrect or incomplete values when 2 dedicated nvidia GPUs are installed. GPU 1 reports wrong values, and GPU 2 reports no values. The sensors displayed correct information prior to the upgrade to Plasma 5.27.7. $nvidia-smi reports correct values. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION NVidia Display Driver 525 or 535 Linux Kernel 6.2.26 AMD Ryzen 2600x, MSI X470, Kingston Hyper X 3200MT. There was a known bug that is, as of last checking, marked as solved where this problem occurred with Nvidia driver 525 and was due to white spaces in $nvidia-smi output. It was reported as solved for 5.27.3 I think. It seems it is back.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/ksystemstats/-/merge_requests/64
UPDATE: With more testing I have determined that what is happening is System Monitor GPU sensors show the nvidia-smi output from GPU2 in GPU1s sensor output. It is not showing GPU1 output at all.
I have now tested and confirmed this on both Kubuntu 23.04, and Neon 5.27.
Git commit e705ce96e16bcc311eab10ba8284d72a908fe270 by Oliver Beard. Committed on 24/08/2023 at 13:14. Pushed by olib into branch 'master'. NvidiaSmiProcess: Fix missing data for GPU 2+ M +1 -1 plugins/gpu/NvidiaSmiProcess.cpp https://invent.kde.org/plasma/ksystemstats/-/commit/e705ce96e16bcc311eab10ba8284d72a908fe270
Git commit ddce29082e9955331c4ba0e1561cc66fe54dce6c by Oliver Beard. Committed on 24/08/2023 at 16:20. Pushed by olib into branch 'Plasma/5.27'. NvidiaSmiProcess: Fix missing data for GPU 2+ (cherry picked from commit e705ce96e16bcc311eab10ba8284d72a908fe270) M +1 -1 plugins/gpu/NvidiaSmiProcess.cpp https://invent.kde.org/plasma/ksystemstats/-/commit/ddce29082e9955331c4ba0e1561cc66fe54dce6c