My computer have 8gb of ram. But, fedora desktop shows only 5.8gb ram. Why is that? Also, on a fresh boot, the ram used 1.2gb, which in general remains around 700mb? What to do?
Hi @mayank , welcome to the forum. Please take a minute to go through the introductory posts in the #start-here category if you’ve not had a chance to do so yet.
Could you please paste the output of fpaste --sysinfo --printonly
? That includes lots of system information including memory usage.
For onboard / oncpu graphics, some system will reserve certain amount of memory for graphics’ use. So Linux will see less memory than physical.
is not also the new way of swapping taking memory space? Is this active by a default installation?
In my computer, lsmem
shows 15.5GB Total Onlione (16 physical , 0.5 for graphics, so correct for me)
But in Gnome-Settings-About, it only shows 15.1GB.
So why 0.4GB are “missing” ?
When considering free vs used RAM in Linux be sure to consider this as well:
This might be the difference of GiB and GB, meaning GibiByte and GigaByte.
https://www.gbmb.org/gb-to-gib
But this should result in round about 1 GB Difference.
Someday they changed the measures. I long believed that 1 GB has 1024 MB. Once true (not sure however to when, 1996?), this today is wrong, for quite some time now. So 1 GB has 1000 MB. But 1 GiB has 1024 MiB.
https://en.wikipedia.org/wiki/Byte#Multiple-byte_units
Sometimes it is a mess what is shown, GiB or GB regularly changes depending on what tool is being used. Adds to the confusion.
10^3 Vs 2^10 is mainly happening in Disk space discussion.
For memory, I do not aware 10^3 is being used.
[mayank@fedora ~]$ fpaste --sysinfo --printonly
=== fpaste 0.4.2.0 System Information ===
* OS Release (lsb_release -ds):
"Fedora release 34 (Thirty Four)"
* Kernel (uname -r ; cat /proc/cmdline):
5.12.9-300.fc34.x86_64
BOOT_IMAGE=(hd1,gpt2)/vmlinuz-5.12.9-300.fc34.x86_64 root=UUID=a778814f-0d90-4896-95b1-6fba2caea8cb ro rootflags=subvol=root rhgb quiet
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon|lxdm-session)' ):
gnome-session-b
gnome-session-c
gnome-session-b
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
gnome-classic, gnome, gnome-xorg
* SELinux Status (sestatus):
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33
* SELinux Errors (selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn):
9 comm="systemd-udevd"
9 comm="systemd"
9 comm="ibus-x11"
9 comm="gsd-wacom"
9 comm="gsd-power"
9 comm="gsd-media-keys"
9 comm="gsd-keyboard"
9 comm="gsd-color"
9 comm="gnome-shell"
* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
sed -re 's/^ +//' ):
8 AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
Yes
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
Yes
* Load average (uptime):
09:38:00 up 1:01, 1 user, load average: 0.62, 0.91, 1.24
* Memory usage (free -m):
total used free shared buff/cache available
Mem: 5872 1939 1335 79 2597 3590
Swap: 5871 0 5871
* Top 5 CPU hogs (ps axuScnh | awk '$2!=11580' | sort -rnk3 | head -5):
1000 2115 32.9 0.2 23024 14808 ? Ss 08:36 20:10 systemd
1000 2239 17.7 5.6 6087680 337740 ? Ssl 08:36 10:51 gnome-shell
1000 11462 16.2 3.0 42687920 181520 ? Sl 09:35 0:22 brave
1000 11043 11.1 5.2 34617504 314916 ? SLl 09:33 0:29 brave
1000 11073 9.9 2.5 34457384 155752 ? Sl 09:33 0:26 brave
* Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
1000 2239 17.7 5.6 6087680 337740 ? Ssl 08:36 10:51 gnome-shell
1000 11043 11.1 5.2 34617504 314916 ? SLl 09:33 0:29 brave
0 1532 0.1 3.7 791268 225592 ? Ssl 08:36 0:06 packagekitd
1000 2600 0.4 3.1 1585600 188032 ? Sl 08:36 0:15 gnome-software
1000 11462 16.2 3.0 42687920 181520 ? Sl 09:35 0:22 brave
* Disk space usage (df -hT):
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 2.9G 0 2.9G 0% /dev
tmpfs tmpfs 2.9G 63M 2.9G 3% /dev/shm
tmpfs tmpfs 1.2G 1.8M 1.2G 1% /run
/dev/nvme0n1p3 btrfs 118G 4.7G 113G 4% /
tmpfs tmpfs 2.9G 1.9M 2.9G 1% /tmp
/dev/nvme0n1p3 btrfs 118G 4.7G 113G 4% /home
/dev/nvme0n1p2 ext4 976M 262M 648M 29% /boot
/dev/nvme0n1p1 vfat 599M 17M 583M 3% /boot/efi
/dev/sda1 btrfs 479G 1.7G 476G 1% /home/mayank/Mayank
/dev/sda2 btrfs 453G 118M 451G 1% /home/mayank/Vansh
tmpfs tmpfs 588M 136K 588M 1% /run/user/1000
* Block devices (without results: "blkid" AND "/sbin/blkid"):
N/A
* PCI devices (lspci -nn):
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex [1022:15d0]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU [1022:15d1]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A [1022:15db]
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B [1022:15dc]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0 [1022:15e8]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1 [1022:15e9]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2 [1022:15ea]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3 [1022:15eb]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4 [1022:15ec]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5 [1022:15ed]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6 [1022:15ee]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7 [1022:15ef]
01:00.0 Non-Volatile memory controller [0108]: SK hynix BC501 NVMe Solid State Drive 512GB [1c5c:1327]
02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2)
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
03:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
03:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e0]
03:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e1]
03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2]
03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
04:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 61)
* USB devices (lsusb):
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0cf3:e300 Qualcomm Atheros Communications QCA61x4 Bluetooth 4.0
Bus 003 Device 004: ID 5986:1135 Acer, Inc Integrated Camera
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
* DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
[drm] amdgpu kernel modesetting enabled.
fb0: switching to amdgpudrmfb from EFI VGA
[drm] initializing kernel modesetting (RAVEN 0x1002:0x15D8 0x17AA:0x3805 0xC2).
[drm] register mmio base: 0xD0800000
[drm] register mmio size: 524288
[drm] add ip block number 0 <soc15_common>
[drm] add ip block number 1 <gmc_v9_0>
[drm] add ip block number 2 <vega10_ih>
[drm] add ip block number 3 <psp>
[drm] add ip block number 4 <gfx_v9_0>
[drm] add ip block number 5 <sdma_v4_0>
[drm] add ip block number 6 <powerplay>
[drm] add ip block number 7 <dm>
[drm] add ip block number 8 <vcn_v1_0>
[drm] VCN decode is enabled in VM mode
[drm] VCN encode is enabled in VM mode
[drm] JPEG decode is enabled in VM mode
[drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[drm] Detected VRAM RAM=2048M, BAR=2048M
[drm] RAM width 128bits DDR4
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] Found VCN firmware Version ENC: 1.12 DEC: 2 VEP: 0 Revision: 1
[drm] PSP loading VCN firmware
[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[drm] kiq ring mec 2 pipe 1 q 0
[drm] DM_PPLIB: values for F clock
[drm] DM_PPLIB: 400000 in kHz, 2874 in mV
[drm] DM_PPLIB: 933000 in kHz, 3224 in mV
[drm] DM_PPLIB: 1067000 in kHz, 3924 in mV
[drm] DM_PPLIB: 1200000 in kHz, 4074 in mV
[drm] DM_PPLIB: values for DCF clock
[drm] DM_PPLIB: 300000 in kHz, 2874 in mV
[drm] DM_PPLIB: 600000 in kHz, 3224 in mV
[drm] DM_PPLIB: 626000 in kHz, 3924 in mV
[drm] DM_PPLIB: 654000 in kHz, 4074 in mV
[drm] Display Core initialized with v3.2.122!
[drm] VCN decode and encode initialized successfully(under SPG Mode).
[drm] fb mappable at 0x1BFBCE000
[drm] vram apper at 0x1BF000000
[drm] size 8294400
[drm] fb depth is 24
[drm] pitch is 7680
fbcon: amdgpudrmfb (fb0) is primary device
amdgpu 0000:03:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.40.0 20150101 for 0000:03:00.0 on minor 0
[drm] free PSP TMR buffer
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] PSP is resuming...
[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[drm] kiq ring mec 2 pipe 1 q 0
[drm] VCN decode and encode initialized successfully(under SPG Mode).
[drm] free PSP TMR buffer
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] PSP is resuming...
[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[drm] kiq ring mec 2 pipe 1 q 0
[drm] VCN decode and encode initialized successfully(under SPG Mode).
[drm] free PSP TMR buffer
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] PSP is resuming...
[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[drm] kiq ring mec 2 pipe 1 q 0
[drm] VCN decode and encode initialized successfully(under SPG Mode).
[drm] free PSP TMR buffer
[drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[drm] PSP is resuming...
[drm] reserve 0x400000 from 0xf47fc00000 for PSP TMR
[drm] kiq ring mec 2 pipe 1 q 0
[drm] VCN decode and encode initialized successfully(under SPG Mode).
* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
OpenGL renderer string: AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.40.0, 5.12.9-300.fc34.x86_64, LLVM 12.0.0)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.1
* Xorg errors (without results: "grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- "):
N/A
* Kernel buffer tail (dmesg | tail):
[ 2023.234239] wlp2s0: RX AssocResp from a8:da:0c:3a:a6:9a (capab=0x1011 status=0 aid=1)
[ 2023.237218] wlp2s0: associated
[ 2023.237430] ath: EEPROM regdomain: 0x8164
[ 2023.237434] ath: EEPROM indicates we should expect a country code
[ 2023.237436] ath: doing EEPROM country->regdmn map search
[ 2023.237437] ath: country maps to regdmn code: 0x5b
[ 2023.237439] ath: Country alpha2 being used: IN
[ 2023.237441] ath: Regpair used: 0x5b
[ 2023.237443] ath: regdomain 0x8164 dynamically updated by country element
[ 2023.459520] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
* Last few reboots (last -x -n10 reboot runlevel):
runlevel (to lvl 5) 5.12.9-300.fc34. Wed Jun 9 08:36 still running
reboot system boot 5.12.9-300.fc34. Wed Jun 9 08:36 still running
runlevel (to lvl 5) 5.12.9-300.fc34. Wed Jun 9 07:14 - 14:06 (06:51)
reboot system boot 5.12.9-300.fc34. Wed Jun 9 07:13 - 14:06 (06:52)
runlevel (to lvl 5) 5.12.9-300.fc34. Tue Jun 8 18:58 - 23:27 (04:28)
reboot system boot 5.12.9-300.fc34. Tue Jun 8 18:58 - 23:27 (04:29)
runlevel (to lvl 5) 5.12.9-300.fc34. Tue Jun 8 14:27 - 18:34 (04:07)
reboot system boot 5.12.9-300.fc34. Tue Jun 8 14:27 - 18:34 (04:07)
runlevel (to lvl 5) 5.12.9-300.fc34. Tue Jun 8 13:25 - 13:53 (00:27)
reboot system boot 5.12.9-300.fc34. Tue Jun 8 13:25 - 13:53 (00:28)
wtmp begins Mon Jun 7 20:17:04 2021
* DNF Repositories (dnf repolist):
repo id repo name
brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
fedora Fedora 34 - x86_64
fedora-cisco-openh264 Fedora 34 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 34 - x86_64
rpmfusion-free RPM Fusion for Fedora 34 - Free
rpmfusion-free-updates RPM Fusion for Fedora 34 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 34 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 34 - Nonfree - Updates
sublime-text Sublime Text - x86_64 - Stable
updates Fedora 34 - x86_64 - Updates
updates-modular Fedora Modular 34 - x86_64 - Updates
* DNF Extras (dnf -C list extras):
Last metadata expiration check: 0:48:25 ago on Wednesday 09 June 2021 08:49:36 AM.
* Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
gimp-2.10.24-1.fc34.x86_64 Wednesday 09 June 2021 08:52:19 AM
python2-cairo-1.18.2-8.fc34.x86_64 Wednesday 09 June 2021 08:52:09 AM
python2.7-2.7.18-11.fc34.x86_64 Wednesday 09 June 2021 08:52:09 AM
pygtk2-2.24.0-34.fc34.x86_64 Wednesday 09 June 2021 08:52:09 AM
pygobject2-2.28.7-12.fc34.x86_64 Wednesday 09 June 2021 08:52:09 AM
aalib-libs-1.4.0-0.41.rc5.fc34.x86_64 Wednesday 09 June 2021 08:52:09 AM
redhat-rpm-config-182-1.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
python-srpm-macros-3.9-36.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
mypaint-brushes-1.3.1-3.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
lua-srpm-macros-1-4.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
libwmf-0.2.12-5.fc34.x86_64 Wednesday 09 June 2021 08:52:02 AM
libmypaint-1.6.1-3.fc34.x86_64 Wednesday 09 June 2021 08:52:02 AM
libmng-2.0.3-13.fc34.x86_64 Wednesday 09 June 2021 08:52:02 AM
kernel-srpm-macros-1.0-4.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
go-srpm-macros-3.0.10-1.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
gnat-srpm-macros-4-13.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
gimp-libs-2.10.24-1.fc34.x86_64 Wednesday 09 June 2021 08:52:02 AM
ghc-srpm-macros-1.5.0-4.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
fpc-srpm-macros-1.3-3.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
fonts-srpm-macros-2.0.5-5.fc34.noarch Wednesday 09 June 2021 08:52:02 AM
* EFI boot manager output (efibootmgr -v):
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0013,0014,0015,0016,0017,0018
Boot0000* Fedora HD(1,GPT,97d03b46-606d-4ae8-a547-0b70a41fca90,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)
Boot0001* Windows Boot Manager HD(1,GPT,470a9e47-29b0-4548-b496-d72e38ccb151,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....%...............
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012 Diagnostic Splash FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* NVMe: HFM128GDHTNG-8310A PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)....2.LN........
Boot0014* ATA HDD: ST1000LM035-1RK172 PciRoot(0x0)/Pci(0x8,0x2)/Pci(0x0,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0015* USB HDD: SanDisk Cruzer Blade PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x3)/USB(1,0)3.!..3.G..A.....
Boot0016* USB LAN: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,e854bca4cae7704ca322b00da0376322)
Boot0017* USB FDD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0018* USB CD: VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Gathering system info ............................
Hrm, can you also paste the output of these commands too please?
lsmem
sudo dmidecode -tmemory
You may need to install these pacakges:
sudo dnf install dmidecode util-linux
A distinct possibility here is that your RAM sticks are faulty. See here for example:
[mayank@fedora ~]$ lsmem
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x00000000bfffffff 3G online yes 0-23
0x0000000100000000-0x00000001bfffffff 3G online yes 32-55
Memory block size: 128M
Total online memory: 6G
Total offline memory: 0B
[mayank@fedora ~]$ sudo dmidecode -tmemory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.
Handle 0x0001, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 12 GB
Error Information Handle: 0x0000
Number Of Devices: 2
Handle 0x0008, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0001
Error Information Handle: 0x0007
Total Width: 64 bits
Data Width: 64 bits
Size: 4 GB
Form Factor: SODIMM
Set: None
Locator: DIMM 0
Bank Locator: P0 CHANNEL A
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: Ramaxel Technology
Serial Number: 11441C6B
Asset Tag: Not Specified
Part Number: RMSA3310MJ86H9F-3200
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Handle 0x000B, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0001
Error Information Handle: 0x000A
Total Width: 64 bits
Data Width: 64 bits
Size: 4 GB
Form Factor: SODIMM
Set: None
Locator: DIMM 0
Bank Locator: P0 CHANNEL B
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: Samsung
Serial Number: 00000000
Asset Tag: Not Specified
Part Number: M471A5244CB0-CTD
Rank: 1
Configured Memory Speed: 2400 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Are you sure that 2GB isn’t shared memory being reserved for GPU?
while using lshw, the output for memory is:
*-memory
description: System Memory
physical id: 1
slot: System board or motherboard
size: 8GiB
*-bank:0
description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: RMSA3310MJ86H9F-3200
vendor: Ramaxel Technology
physical id: 0
serial: 11441C6B
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-bank:1
description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: M471A5244CB0-CTD
vendor: Samsung
physical id: 1
serial: 00000000
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
Please post your result of below command: mine shows 512MB.
glxinfo | grep "Video memory"
Video memory: 512MB
[mayank@fedora ~]$ glxinfo | grep "Video memory"
Video memory: 2048MB
So yes, you machine reserved lots of ram for video use.
Normally, you can boot into System Firmware (BIOS) to change the amount to be reserved.
Ok.
How much video memory is appropriate?
It really depends on your usage pattern.
What I find so far, for normal desktop usage, single monitor at 1920x1080 resolution, 512MB is needed.
@mayank : just a quick note, please use the formatting tools to correctly format command outputs etc. it just makes your posts much easier to read. I’ve edited your posts here for the moment.