PupSysInfo-2.8.6

Miscellaneous tools
Message
Author
foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#136 Post by foxpup »

Hello bigpup
Thanks for the info.
bigpup wrote:The BIOS feature that controls all this is the DVMT Mode BIOS feature. It allows you to select the DVMT operating mode.
I looked into my efi firmware interface aka BIOS, but did not find anything like that there.
(But I did find an option Grapic Device. It can be [UMA only], enable integrated graphic controller only, or [Discrete] which enables both gc.
I tried that but did not bring up the nvidia in Pupsysinfo. But I do find some mentioning of nvidia as 3D controller in some places. )

Is there a place in Pupsysinfo to find the info about RAM on the Graphic Cards, like in windows? Or is there another tool to use?
I understand this is additional RAM to the proper RAM for the CPU.
Notice what your Pup-Sysinfo shows here:
VGA controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07)
• Kernel Driver: i915
• Memory Used by Driver: 1094.51 KB
This just says that very little memory, about 1M, is used for the driver, right? It is not even clear to me what kind of memory this is.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#137 Post by radky »

foxpup wrote:
Someone... found only 256M video RAM while his intel gc has 1G.
bigpup wrote:
What you are seeing in Pup-Sysinfo is probably the pre-allocated Video RAM...
@foxpup, bigpup and other testers:

Currently, the Pup-Sysinfo video report does not probe the graphics chip directly, but uses the lspci utility to determine pre-allocated (prefetchable) video memory.

When parsing system information, Pup-Sysinfo calls only those tools common to all Pups but we could use the glxinfo utility to determine video memory. Beyond this, I'm not sure Pup-Sysinfo will further quantify the physical memory of the video card.

The revised function file below reports prefetchable video memory defined by lspci, and total video memory defined by glxinfo.

EDIT:
file removed

Thanks
Last edited by radky on Tue 05 Feb 2019, 00:19, edited 1 time in total.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#138 Post by bigpup »

Put the new func file in Pup-Sysinfo 2.8.3

Well, that now gives more info about memory.

This is my graphics output.
VGA controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0e)
• Kernel Driver: i915
• Memory Used by Driver: 1216.00 KB
• Path: /lib/modules/4.19.12/kernel/drivers/gpu/drm/i915/i915.ko
• Description: Intel Graphics
• Video RAM: 1536M total, 256M prefetchable
This being integrated Intel Graphics, that uses system RAM.
That seems to show how much system RAM could be used as VRAM. (1536M)
I have 2GB of RAM in this computer.

After looking at this. That Memory Used by Driver: 1216.00 KB seems to be what the i915 driver uses to operate the driver.

That 256M prefetchable is this:
Prefetchable memory is memory which the CPU can request in advance as an optimization, before actual code operates on it. This happens because the CPU guesses it may be needed in the future or because the code contains explicit prefetch instructions. Then it prefetches those memory locations.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#139 Post by bigpup »

new func file in Pup-Sysinfo 2.8.3

To give you output for something other than Intel graphics.

This is from a Nvidia Geforce GTX 1070 card with its own 8GB of memory. It does not use system ram for graphics.
Using the Nvidia driver from Nvidia.
VGA controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
• Kernel Driver: nvidia
• Memory Used by Driver: 16108.00 KB
• Path: /lib/modules/4.19.12/kernel/drivers/video/nvidia.ko
• Driver Version: 410.78
• Description: N/A
• Video RAM: 8192 M total, 256M
32M prefetchable
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#140 Post by foxpup »

This is the output now with the new func:
VGA controller [0300]: Intel Corporation HD Graphics 520 [8086:1916] (rev 07)
• Kernel Driver: i915
• Memory Used by Driver: 1094.51 KB
• Path: /lib/modules/4.9.149-stretch/kernel/drivers/gpu/drm/i915/i915.ko
• Description: Intel Graphics
• Video RAM: 1536M total, 256M prefetchable
1536M for video RAM seems to me a lot more than the official 1G. What else could this include? It's "funny" this is exactly the same number as for the intel gc of bigpup.
(The normal RAM for CPU of this machine is 8G and video RAM is reported in windows to be 1G).
Last edited by foxpup on Mon 04 Feb 2019, 20:00, edited 1 time in total.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#141 Post by 666philb »

hi radky

with new func file correct video ram report here with an nvidia card apart from the weird 256mb bit at the end

Code: Select all

Video RAM: 4096 M total, 256M
bigpup wrote: • Video RAM: 8192 M total
do you want to swap cards? :D
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#142 Post by radky »

foxpup wrote:
1536M for video RAM... is exactly the same number as for the intel gc of bigpup.
(The normal RAM for CPU of this machine is 8G and video RAM is reported in windows to be 1G)
@foxpup,

In a terminal, please run the following:

glxinfo | grep -Ei 'device|memory'

You will see something like the following for your Intel system.

Code: Select all

    Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) x86/MMX/SSE2
    Video memory: 1536MB
    Unified memory: yes
If I understand correctly, 'Unified memory' refers to Unified Memory Architecture (UMA), also know as Integrated Graphics or Shared Graphics, where system RAM provides shared memory for graphics rendering.

For graphics rendering, 1536MB Video Ram is a value commonly allocated by systems with Intel Integrated Graphics.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#143 Post by radky »

666philb wrote:
Video RAM: 4096 M total, 256M
@666philb,

The second component of the Video RAM report refers to prefetchable video memory.

I'm not sure why the term 'prefetchable' is missing from your report. It should be included by default.

Prefetchable video memory refers to memory addresses reserved specifically for the transfer of video data, and this memory may be prefetched when the "CPU guesses it may be needed in the future or because the code contains explicit prefetch instructions".
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#144 Post by radky »

bigpup and 666philb,

It seems your NVIDIA PCs show two prefetchable addresses of video RAM.

EDIT: file removed
Last edited by radky on Tue 05 Feb 2019, 02:19, edited 2 times in total.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#145 Post by bigpup »

Pup-Sysinfo 2.8.3
New func file.
I now get this.

Devices>Display>Summary
VGA controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
• Kernel Driver: nvidia
• Memory Used by Driver: 16108.00 KB
• Path: /lib/modules/4.19.12/kernel/drivers/video/nvidia.ko
• Driver Version: 410.78
• Description: N/A
• Video RAM: 8192 M total, 256M32M prefetchable
From Devices>Display>Complete
VGA controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device 119d
Flags: bus master, fast device select, latency 0
Interrupt Request (IRQ): 136
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#146 Post by radky »

bigpup,

To show total RAM and all prefetchable RAM on one single line, could you test the attached func file.

EDIT: file removed

Thanks
Last edited by radky on Thu 07 Feb 2019, 17:50, edited 1 time in total.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#147 Post by perdido »

Hi radky,
More info the better I hope.
Nvidia card, a relatively underpowered version compared to some.

Your most recent func (testerday's) installed to PupSysinfo-2.8.1 upupbb-18.05

Devices>Display>Summary
Updated func from yesterday
VGA controller [0300]: NVIDIA Corporation G98M [Quadro NVS 160M] [10de:06eb] (rev a1)
• Kernel Driver: nvidia
• Memory Used by Driver: 10075.57 KB
• Path: /lib/modules/4.9.96-lxpup-32-pae/kernel/drivers/video/nvidia.ko
• Driver Version: 304.137
• Description: N/A
• Video RAM: 256 M total, 256M prefetchable
Original func version

Code: Select all

VGA controller [0300]: NVIDIA Corporation G98M [Quadro NVS 160M] [10de:06eb] (rev a1)
• Kernel Driver: nvidia
• Memory Used by Driver: 10075.57 KB
• Path: /lib/modules/4.9.96-lxpup-32-pae/kernel/drivers/video/nvidia.ko
• Driver Version: 304.137
• Description: N/A
• Video RAM: 256M
/////////////////////////////////////////////////////////////////////

From Devices>Display>Complete
Updated func from yesterday
VGA controller: NVIDIA Corporation G98M [Quadro NVS 160M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0233
Flags: bus master, fast device select, latency 0
Interrupt Request (IRQ): 16
Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f2000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at df00
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]

Original func version

Code: Select all

VGA controller: NVIDIA Corporation G98M [Quadro NVS 160M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device 0233
Flags: bus master, fast device select, latency 0
Interrupt Request (IRQ): 16
Memory at f5000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f2000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at df00 [size=128]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
.
Last edited by perdido on Wed 06 Feb 2019, 02:24, edited 1 time in total.

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#148 Post by foxpup »

radky wrote:If I understand correctly, 'Unified memory' refers to Unified Memory Architecture (UMA), also know as Integrated Graphics or Shared Graphics, where system RAM provides shared memory for graphics rendering.
@radky
Thank you for the explanation.
So the 1536M video RAM is actually part of the 8G RAM, and not additional?

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#149 Post by radky »

perdido wrote:Hi radky,
More info the better I hope.
Nvidia card, a relatively underpowered version compared to some.
Thanks perdido. Your report is much appreciated! :)

Hopefully, bigpup will also test the most recent func revision (or other users with video cards that allocate two prefetchable memory addresses).
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#150 Post by radky »

foxpup wrote:Thank you for the explanation.
So the 1536M video RAM is actually part of the 8G RAM, and not additional?
Hi foxpup,

Yes, for your PC with integrated graphics, I think the 1536M represents shared memory allocated from the 8G system RAM.

Thanks for testing!
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#151 Post by bigpup »

radky wrote:bigpup,

To show total RAM and all prefetchable RAM on one single line, could you test the attached func file.

Thanks
Here is what I get with this new func file.
VGA controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
• Kernel Driver: nvidia
• Memory Used by Driver: 16108.00 KB
• Path: /lib/modules/4.19.12/kernel/drivers/video/nvidia.ko
• Driver Version: 410.78
• Description: N/A
• Video RAM: 8192 M total, 256M 32M prefetchable
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#152 Post by radky »

bigpup wrote: Here is what I get with this new func file.

• Video RAM: 8192 M total, 256M 32M prefetchable
Thank you!
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#153 Post by radky »

Pup-SysInfo-2.8.5
- Adjust CPU report: switch from dmidecode to direct parsing of /sys/devices for Min/Max Speed, and /proc/cpuinfo for assessment of Core Count and 64-bit capability
- Adjust Video report: call glxinfo to assess total video memory, and lspci to determine prefetchable video memory
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#154 Post by foxpup »

On the same Optimus machine, I have tried PupSysInfo in Slacko64-6.3.2.
This is what it gives for display device:
====> Video <====

Display Specifications:
+ Screen Dimensions: 1920x1080 pixels (341x191 millimeters)
+ Screen Depth: 24 bits (planes)

Xorg Startup Log (/var/log/Xorg.0.log):
+ Xorg Driver in use: intel
+ Loaded Modules: dbe ddc extmod fb fbdevhw glx int10 kbd mouse shadow vbe vesa
+ X.Org version: 1.14.3

OpenGL 2D/3D Rendering:
+ Direct Rendering: Yes
+ Vendor: Mesa Project
+ Renderer: Software Rasterizer
+ Version: 2.1 Mesa 9.1.7

VGA compatible controller:
+ Intel Corporation Device 1916 (rev 07)
+ Video RAM: 256M prefetchable
I have tried both the original 2.6.3 version and 2.8.5, same result.

radky
Posts: 977
Joined: Mon 03 May 2010, 03:13

#155 Post by radky »

foxpup wrote:On the same Optimus machine, I have tried PupSysInfo in Slacko64-6.3.2.

+ Video RAM: 256M prefetchable
Hi foxpup,

PupSysInfo-2.8.5 calls glxinfo to show video memory as part of the extended renderer information defined by GLX_MESA_query_renderer (if supported).

In legacy slacko64-6.3.2, glxinfo does not show extended renderer information, so total VRAM does not appear in the video report of PupSysInfo.
[color=blue][b][url=http://www.smokey01.com/radky/PupMates.html]PupMates[/url][/b][/color]

Post Reply