Hi , I am using Asrock Fatal1ty X399 Professional Gaming motherboard with an AMD Threadripper 1950X and I dont get any indications of the CPU or memory using system load viewer. (motherboard web site: https://www.asrock.com/mb/AMD/Fatal1ty%20X399%20Professional%20Gaming/index.asp ) However other addons like CPU Load monitor is working fine and also Thermal Monitor addon is displaying the temperatures correctly. Also Psensor is working fine and is displaying all the values correctly so I guess is something with the System Load Viewer addon.
Does it show in ksysguard?
(In reply to Kai Uwe Broulik from comment #1) > Does it show in ksysguard? Yeap!
I had the same problem, and have found the source. In ksysguard, in ksysguardd/Linux/cpuinfo.c, there is a buffer meant to hold /proc/cpuinfo. It has a fixed size of 32 * 1024. This size is too small for some modern, multi-core systems. I have a 24-core system, and each entry in /proc/cpuinfo takes up around 1500 bytes. My entire /proc/cpuinfo is 35982 bytes, meaning it won't fit into the buffer, and as a result, ksysguardd doesn't register monitors like system/cores, which causes the system load viewer to fail. I don't know the right size for the buffer, but I'd say "significantly larger" is proper. I can't imagine (for example) 128K being onerous at all, and it'd allow for significantly larger /proc/cpuinfo files. But that might not even work, given that apparently AMD is coming out with 64-core/128-thread systems... It should probably just be a megabyte or something, so you never have to worry agin. Or just allocate dynamically, with a gigantic ceiling. Anyway, the fix is to increase the size of the buffer one way or another.
Created attachment 130695 [details] some screens
Hello! I have a similar problem. Processor Threadripper 3970x. plasmashell 5.12.9, Kubuntu 18.04. The SystemLoadViewer widget shows nothing. But ksysguard after recompilation with the fix "#define CPUINFOBUFSIZE (128 * 1024)" correctly shows the number of cores. When I add the SystemLoadViewer widget to the taskbar, it doesn't show anything. But if you run the widget using "plasmoidviewer --applet /usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/" - all information is displayed perfectly. See screenshots. Using the virtual machine, I found out that the "SystemLoadViewer" widget stops working if the processor has more than 31 cores. In the last stable KDE Neon, there is no such problem. Can I somehow fix a complete KDE update?
Created attachment 130696 [details] plasmoidviewer --applet
Is this still relevant for the new System Monitor applet?
Good day. Widget suddenly started working after some of the automatic updates to Kubuntu 18.04. :) I was unable to track this update. Now I have no problems - the widget is working properly. I don’t know how the widget works in other systems. Thanks.
Oh good! Thanks for confirming.