Jump to content

How to see total VRAM usage on rendering performance profiler


photo

Recommended Posts

Hi All, 

Just a quick question - when looking at the rendering performance profiler, is there a value for VRAM usage? I see there is a number for system and memory - does memory refer to the total VRAM used? What is the difference between system and memory? I see from the documentation that textures, meshes, buffers render and buffers shadows are stored on VRAM, would just like to know if its possible to see a total number for VRAM used?

image.thumb.png.b2c09863721e56264ff1f9f5d572b8a1.png

 

Many thanks, 

Ben

Link to comment

Hi Ben,

There is currently no such counter available, but probably will be added in the future updates. The thing is that we can't really get the correct amount of VRAM since the GPU driver itself (at least for DX11 / OpenGL) is allocating memory when it needed and this number can differ from that one we really asked for.

You can try to sum up Buffers Render + Textures + Textures Cache + Meshes + Terrain (Cache GPU + VT + Detail Textures) + Particles and Grasses to get an approximate VRAM usage.

The good way is also to check the Windows Task Manager (Ctrl + Shift + Esc) -> Performance tab -> GPU -> Dedicated GPU memory usage and make sure that you are not exceeding it (Shared GPU memory usage is 0). These counters will show you total GPU memory usage of the system (including different apps and OS itself) and will help to understand how many room you still left. To avoid incorrect measures it's better to turn off any web browser and other 3D applications.

Thanks!

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Thanks @silent

Yes if possible it would be great to have a total VRAM counter, but I think it works okay using windows task manager as you suggested. 

Could you explain a bit more about the buffers render value here? Any idea what it is composed of and how to reduce it? The others values seem pretty obvious on how to optimise

Link to comment

Rendering buffers you can check via render_show_textures 1 (or 2) console command.

Basically, all these buffers comes from the rendering sequence:

Enabling / disabling features that using specific buffer will increase / decrease VRAM usage. Also increasing / decreasing buffer resolution will result in the same effect. For example the same scene with 4K and 1080p may have difference up to 4x in memory consumption of rendering buffers.

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
  • 8 months later...
On 2/13/2023 at 8:16 PM, silent said:

Rendering buffers you can check via render_show_textures 1 (or 2) console command.

Basically, all these buffers comes from the rendering sequence:

Enabling / disabling features that using specific buffer will increase / decrease VRAM usage. Also increasing / decreasing buffer resolution will result in the same effect. For example the same scene with 4K and 1080p may have difference up to 4x in memory consumption of rendering buffers.

Thanks for sharing, this is the information I was also looking for <3

Edited by zeguest
Link to comment
×
×
  • Create New...