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

Wadlax <wad...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wad...@mail.ru

--- Comment #2 from Wadlax <wad...@mail.ru> ---
I confirm, i have the same issue.
Proc Ryzen 3900x, 24 "CPUs"

KSysGuard shows CPUs load.
.

As i see in "SystemLoadViewer.qml" plasmoid use sensor "system/cores" to get
cores amount and get cores load.
But i don't see this sensor in KSysGuard's Sensor Browser
.

I think the problem may be in buffer size :)

File "ksysguardd/Linux/cpuinfo.c":

Procedure "processCpuInfo" calculates cores number.

Procedure "initCpuInfo" outputs monitor "system/cores" if result of
"updateCpuInfo" is good.
  ( registerMonitor( "system/cores", "integer" ... )

Function "updateCpuInfo" has a check "Internal buffer too small to read ..."
and  #define CPUINFOBUFSIZE (32 * 1024)

.

With my 24 cpus, command "cat /proc/cpuinfo > 1.txt" creates a file 35,982
bytes

I will try to patch that file (i use Gentoo) and build corrected
"kde-plasma/ksysguard"

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

Reply via email to