Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Missing memory after memory added

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
drmacro
Posts: 23
Joined: 2020-03-07 13:39

Missing memory after memory added

#1 Post by drmacro »

I installed Debian 10 while a 4G memory stick was installed.

I later added another 4G stick, same brand, model, etc.

So now the BIOS shows 8G, but commands like top, htop, etc. only show 5.9G available.

The GPU is on the mobo.

But, I've not found a way to tell how much, or if, it using the missing 2G.

Is there a command that can do that?

Is there something else grabbing the memory?

trinidad
Posts: 299
Joined: 2016-08-04 14:58
Been thanked: 16 times

Re: Missing memory after memory added

#2 Post by trinidad »

You can't believe your eyes if your imagination is out of focus.

drmacro
Posts: 23
Joined: 2020-03-07 13:39

Re: Missing memory after memory added

#3 Post by drmacro »

I have, before posting, read and tried all those.

It could be I don't know what I'm looking for...but I found nothing that indicates GPU usage.

dmidecode tells me I have two 4G memory devices.

:(

User avatar
sunrat
Administrator
Administrator
Posts: 6476
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Missing memory after memory added

#4 Post by sunrat »

Post the output from

Code: Select all

free -m
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Missing memory after memory added

#5 Post by Deb-fan »

Mostly just posting cause was dorking around and happened on a cool command wanted to share, install the lshw pkg, ie: "sudo apt install lshw", run the thing with "sudo lshw -short > specs" which sends that output to and makes a file named specs in users home directory. It's pretty interesting to look over and not like there's a shortage of great tools for showing whatever system info a nixer wants, lspci, inxi etc etc but Op you say my gpu, my mobo, my new brand of RAM, my this + my that, might want to include some info about what those things are eh. :)

Ps, have mentioned "smem -tk", smem, awesome util for showing exactly which processes-progs are using how much system memory, think its really cool and jmo, yep system reserving memory for video does seem like a good candidate as something to check in this mystery of the missing 2gigs. :) Off the top dont remember or never learned the relevant progs + cmds to deal w such a thing, google knows everything though. https://duckduckgo.com/?q=memory+reserv ... =h_&ia=web
Most powerful FREE tech-support tool on the planet * HERE. *

drmacro
Posts: 23
Joined: 2020-03-07 13:39

Re: Missing memory after memory added

#6 Post by drmacro »

So a lot of output and in several places 2G of memory listed, but not sure how to tell if it's on the mobo or in the ram cards...

Code: Select all

free -m
              total        used        free      shared  buff/cache   available
Mem:           5942         461        5124          11         356        5234
Swap:           999           0         999

lspci -v -s 07:00.0
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev cc) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Picasso
	Flags: bus master, fast devsel, latency 0, IRQ 53
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=2M]
	I/O ports at e000 [size=256]
	Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

glxinfo | egrep -i 'device|memory'
    Device: AMD RAVEN2 (DRM 3.38.0, 5.8.0-9.3-liquorix-amd64, LLVM 7.0.1) (0x15d8)
    Video memory: 2048MB
    Unified memory: no
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1909 MB, largest block: 1909 MB
    VBO free aux. memory - total: 3058 MB, largest block: 3058 MB
    Texture free memory - total: 1909 MB, largest block: 1909 MB
    Texture free aux. memory - total: 3058 MB, largest block: 3058 MB
    Renderbuffer free memory - total: 1909 MB, largest block: 1909 MB
    Renderbuffer free aux. memory - total: 3058 MB, largest block: 3058 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 5120 MB
    Currently available dedicated video memory: 1909 MB
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_memory_object, 
    GL_EXT_memory_object_fd, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, 
    GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_AMD_pinned_memory, GL_AMD_query_buffer_object, 
    GL_EXT_memory_object, GL_EXT_memory_object_fd, GL_EXT_multi_draw_arrays, 
    GL_MESA_window_pos, GL_NVX_gpu_memory_info, GL_NV_blend_square, 
    GL_EXT_gpu_shader5, GL_EXT_map_buffer_range, GL_EXT_memory_object, 
    GL_EXT_memory_object_fd, GL_EXT_multi_draw_arrays, 

sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       product: Advanced Micro Devices, Inc. [AMD/ATI]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:07:00.0
       version: cc
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:53 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:e000(size=256) memory:fcc00000-fcc7ffff memory:c0000-dffff

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Missing memory after memory added

#7 Post by Deb-fan »

Code: Select all

Video memory: 2048MB 
1gb = 1024mbs so times 2 = 2048mbs, yep there's your memory. Keep reading the search results for methods to adjust that. While skimming more than one seemed to indicate they likely cover such a process. Linking to results from one search engine search got you a big step forward, you get to figure it out from there or at least im not going to read them and walk anyone step by step, YOU are the admin of your system. Read some of those search returns. :)

Ps, this is set in the chipset = uefi-bios, on your mobo, look around in them for settings to adjust vram, shared memory or etc. If not, might see if there's a bios upgrade available for your system. Check in any notes about what it provides if so, possibly ask in an Asus forum or AMD's ? Well at least now you know and which utils and tools to use. Am not really up to speed on this topic, only ever bothered learning a broad overview of what's involved, maybe @stevep will pop in and offer some insight. Yep imo 2gbs-mem dedicated to vram kinda stinks, should be a bios setting to change such a thing, if not big red X on a given brand or model of pc's.
Most powerful FREE tech-support tool on the planet * HERE. *

drmacro
Posts: 23
Joined: 2020-03-07 13:39

Re: Missing memory after memory added

#8 Post by drmacro »

Yes...it says "video memory".

I don't see what indicates this is part of the system RAM or is part of the onboard GPU system... :roll:

I agree it seems this is the missing memory. It certainly confirms the graphics has 2G, but, not where it came from.

:?

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Missing memory after memory added

#9 Post by Deb-fan »

See above post edit, it's understandable but figuring this out is basic search and tech-related information too. Should be able to be adjusted, as mentioned imo should be easily available settings for something like that supported in system bios. If not id be mega-pissed off too. Xyz pc would be getting stamped return to sender-point of purchase ASAP. Anyway dont have an easy answer or suggestion for this type of thing. If it turns out this is hard to work around, buyer beware i guess.

At this point have more questions than anything and not willing to dump the time suggesting this, asking that etc. Can only say good luck and hoping @stevep or the all knowing and seeing of everything tech, Head_on post something on this thing. :)

Ps, on the brightside 6gigs of RAM is a nice chunk no matter what, so at least you've got a nice system to play with.
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Missing memory after memory added

#10 Post by Head_on_a_Stick »

deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Missing memory after memory added

#11 Post by Deb-fan »

^Nice, thanks for the share Head_on. :)
Most powerful FREE tech-support tool on the planet * HERE. *

Post Reply