Ben_93 Posted February 11, 2023 Share Posted February 11, 2023 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? Many thanks, Ben Link to comment
silent Posted February 13, 2023 Share Posted February 13, 2023 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! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Ben_93 Posted February 13, 2023 Author Share Posted February 13, 2023 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
silent Posted February 13, 2023 Share Posted February 13, 2023 Rendering buffers you can check via render_show_textures 1 (or 2) console command. Basically, all these buffers comes from the rendering sequence: https://developer.unigine.com/en/docs/2.16.1/principles/render/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. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
zeguest Posted October 26, 2023 Share Posted October 26, 2023 (edited) 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: https://developer.unigine.com/en/docs/2.16.1/principles/render/sequence/space bar clicker 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 October 26, 2023 by zeguest Link to comment
Recommended Posts