How much memory does the graphics adapter have ?

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

How much memory does the graphics adapter have ?

Post by deepakdeshp » Sun Jun 10, 2018 11:23 am

Hello,
I am running 64 bit Cinnamon 18.3 version . I have 8gb memory.
But I see that only 6.9 gb is used ,

I would like to know where else is the remaining memory being used.
Is the main memory being stolen and being used by the graphics? If yes, how to see it?

Code: Select all

uma@mint-18-uma ~ $ free -m
              total        used        free      shared  buff/cache   available
Mem:           6914        2713        3226          52         974        3852
Swap:          5103           5        5098
I have 256MB graphic memory as shown below.

I used this to find about my graphics memory
https://www.cyberciti.biz/faq/howto-fin ... -card-ram/

Code: Select all

lspci -vs 00:01.0
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 45) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Mullins [Radeon R4/R5 Graphics]
	Flags: bus master, fast devsel, latency 0, IRQ 35
	Memory at e0000000 (64-bit, prefetchable) [[b]size=256M[/b]]
	Memory at f0000000 (64-bit, prefetchable) [size=8M]
	I/O ports at 5000 [size=256]
	Memory at f0e00000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
Thanks all in anticipation.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Steensen
Level 1
Level 1
Posts: 21
Joined: Tue Jun 30, 2015 11:35 pm

Re: How much memory does the graphics adapter have ?

Post by Steensen » Sun Jun 10, 2018 12:01 pm

Your own read out states 3226MB as being free, 52MB "shared" as in used by GPU.
OS: Linux Mint 18.3-64-bit Cinamon
Laptop: Acer Predator 09-591-726M
CPU: Intel i7-6700HQ (2.6GHz), RAM: 16GB DDR4
GFX-1: Intel, GFX-2: NVIDIA GT 980M
476GB SDD; Win 10~240GB, /~220GB, swap~16GB
2TB HDD, DATA~2TB
Network: Kille AC-1535

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: How much memory does the graphics adapter have ?

Post by deepakdeshp » Sun Jun 10, 2018 11:59 pm

Steensen wrote:
Sun Jun 10, 2018 12:01 pm
Your own read out states 3226MB as being free, 52MB "shared" as in used by GPU.
Arithmetic does not match.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
roblm
Level 9
Level 9
Posts: 2555
Joined: Sun Feb 24, 2013 2:41 pm

Re: How much memory does the graphics adapter have ?

Post by roblm » Mon Jun 11, 2018 9:34 am

The total memory shown by the free -m command will not include memory reserved by the kernel and other hardware devices. The video card can reserve some for it’s display buffers. However, your reserved amount seems excessive.

Here is the output of free -m on two of my PCs that also have 8 GB memory, with only Firefox running. The first one has Integrated AMD Radeon graphics. The second has a video card with 2 GB memory:

Code: Select all

free -m
              	total        used        free      shared  	buff/cache   available
Mem:            7917         737        6227          81         952        6807
Swap:             0           0           0

Code: Select all

free -m
              	total        used        free      shared    buff/cache   available
Mem:            7988         761        6571          61         655        6887
Swap:             0           0           0

Does the output of free -m show significantly more total memory after a restart, with no programs running?

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: How much memory does the graphics adapter have ?

Post by deepakdeshp » Wed Jun 13, 2018 4:04 am

roblm wrote:
Mon Jun 11, 2018 9:34 am
The total memory shown by the free -m command will not include memory reserved by the kernel and other hardware devices. The video card can reserve some for it’s display buffers. However, your reserved amount seems excessive.

Here is the output of free -m on two of my PCs that also have 8 GB memory, with only Firefox running. The first one has Integrated AMD Radeon graphics. The second has a video card with 2 GB memory:

Code: Select all

free -m
              	total        used        free      shared  	buff/cache   available
Mem:            7917         737        6227          81         952        6807
Swap:             0           0           0

Code: Select all

free -m
              	total        used        free      shared    buff/cache   available
Mem:            7988         761        6571          61         655        6887
Swap:             0           0           0

Does the output of free -m show significantly more total memory after a restart, with no programs running?
Free -m still shows 6914m as total memory for a fresh system boot. The remaining memory must be used for graphics.

Code: Select all

free -m
              total        used        free      shared  buff/cache   available
Mem:           6914        1264        4628          38        1021        5331
Swap:          5103           0        5103
I do not know how to display the graphics memory or a way to claim back the graphics memory being taken from the main memory.
Can somebody help please?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
roblm
Level 9
Level 9
Posts: 2555
Joined: Sun Feb 24, 2013 2:41 pm

Re: How much memory does the graphics adapter have ?

Post by roblm » Wed Jun 13, 2018 8:03 pm

A BIOS update is mentioned often as a possible solution.

This article appears to have some info that may help, if you can figure out how the author got his results from converting the data from the dmesg | grep BIOS output, which I assume is in hexadecimal format:
https://www.jungo.com/st/document/tech- ... ows-linux/

Here is a Hex to Decimal converter:
https://www.rapidtables.com/convert/num ... cimal.html

So if I convert the two hexadecimal numbers in this line:

Code: Select all

[ 0.000000] BIOS-e820: 0000000000100000 - 000000007dce0000 (usable)
I get: 1048576 - 2110652416

So how does the author get 1.95GB memory range from that info. Let’s assume those numbers refer to bytes. Then subtracting the smaller one from the larger one would give 2.1 GB. It would be more helpful if you could find a similar article that explained things in more detail.

Doing a Google search using words like these can bring up many articles:

How to find out what hardware is reserving memory in linux.
How to get rid of hardware reserved memory in Linux.

Here is one of the topics in the Mint forums:
viewtopic.php?t=201942

deepakdeshp
Level 10
Level 10
Posts: 3427
Joined: Sun Aug 09, 2015 10:00 am

Re: How much memory does the graphics adapter have ?

Post by deepakdeshp » Fri Jun 22, 2018 9:32 am

roblm wrote:
Wed Jun 13, 2018 8:03 pm
A BIOS update is mentioned often as a possible solution.

This article appears to have some info that may help, if you can figure out how the author got his results from converting the data from the dmesg | grep BIOS output, which I assume is in hexadecimal format:
https://www.jungo.com/st/document/tech- ... ows-linux/

Here is a Hex to Decimal converter:
https://www.rapidtables.com/convert/num ... cimal.html

So if I convert the two hexadecimal numbers in this line:

Code: Select all

[ 0.000000] BIOS-e820: 0000000000100000 - 000000007dce0000 (usable)
I get: 1048576 - 2110652416

So how does the author get 1.95GB memory range from that info. Let’s assume those numbers refer to bytes. Then subtracting the smaller one from the larger one would give 2.1 GB. It would be more helpful if you could find a similar article that explained things in more detail.

Doing a Google search using words like these can bring up many articles:

How to find out what hardware is reserving memory in linux.
How to get rid of hardware reserved memory in Linux.

Here is one of the topics in the Mint forums:
viewtopic.php?t=201942
Thank you. I am looking at a method that helps find the graphics memory being used ,the main memory being used by the graphics and to find out why free command shows only 6.9 GB while I have 8 GB memory.
I have also updated BIOS.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
phd21
Level 16
Level 16
Posts: 6348
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: How much memory does the graphics adapter have ?

Post by phd21 » Fri Jun 22, 2018 12:14 pm

HI deepakdeshp

Linux: Find Out Video Card Memory RAM Size Using Command Line Utility - nixCraft
https://www.cyberciti.biz/faq/howto-fin ... -card-ram/


How to Get Graphics Card Information On Linux
https://www.maketecheasier.com/graphics ... ion-linux/

...
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Graphics Cards & Monitors”