SUMMARY KDE info center 5.15.4 shows that I have only 3.7 GiB, but my computer have almost 16 GiB STEPS TO REPRODUCE 1. In computer with more than 4 GiB RAM install openSUSE Tumbleweed Linux 32 bit system 2. Install kernel-pae 3. Boot with /boot/vmlinuz-*-pae kernel and /boot/initrd-*-pae initrd 4. Open KDE info center OBSERVED RESULT KDE info center 5.15.4 shows that computer has only 3.7 GiB RAM See https://bugzilla.opensuse.org/attachment.cgi?id=802356 image EXPECTED RESULT KDE info center 5.15.4 shows that computer has about 15.7 GiB RAM SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20190403 KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 Kernel Version: 5.0.5-1-pae OS Type: 32-bit ADDITIONAL INFORMATION KSysGuard shows info correctly. K Info center in memory tab shows info about RAM correctly, see https://bugzilla.opensuse.org/attachment.cgi?id=802419 image
Needs to use 64-bit multiplication even on 32-bit systems in https://cgit.kde.org/kinfocenter.git/tree/Modules/about-distro/src/Module.cpp#n59 A cast for one of the operands should help.
Git commit 10d60170eaa46c3e4233c4eef966418d0065754d by Christoph Feck. Committed on 29/04/2019 at 22:55. Pushed by cfeck into branch 'master'. Correctly show memory sizes > 4 GiB on 32 bit Linux FIXED-IN: 5.16.0 Differential Revision: https://phabricator.kde.org/D20828 M +1 -1 Modules/about-distro/src/Module.cpp https://commits.kde.org/kinfocenter/10d60170eaa46c3e4233c4eef966418d0065754d