I moved over to openSuSE slowroll on my laptop a few months ago and everything is going great.
Until I opened htop one day and saw that apparently, my system only had 5.67G.
I tried the following things to try figure out where the problem is.
I looked at my bios and it said I had 8192MiB of RAM as expected
There are no memory limits set by grub (in /etc/default/grub or /boot/grub2/grub.cfg). I searched for “mem” in these files and the only lines where “mem” was mentioned were commented out.
I then tried doing sudo sysctl -a | grep 'vm. to look for virtual memory parameters, but didn’t come up with anything useful. openSUSE Paste
I do not have zram enabled.
I used to use arch on the same laptop where zram was enabled. Could this have caused a problem during the install or something because I stopped using zram?
Also, output of glxinfo | grep -E -i 'device|memory': openSUSE Paste
It says Dedicated video memory: 2048 MB then it says Total available memory: 4952 MB
But that’s GTT which isn’t holding my ram. I changed my kernel parameters to decrease GTT to 500MiB but MemTotal is still 5948572 kB.
This is exactly 2GiB. Your BIOS does not make this memory range available, there is nothing Linux can do. Later your video card reports 2GiB of video memory, so one of following is possible
your video card is using part of you RAM.
your video card memory shadows some physical memory. In this case your BIOS may offer possibility to remap it above 8GiB.
If it is not related to the video, then you better ask on your hardware support forums what this 2GiB range is. Linux is just using what BIOS allows.