Posts: 261
Joined: Dec 2014
Reputation:
6
Warez
Senior Member
Posts: 261
Hi is there a way to monitor GPU memory usage?
I have made a custom build image for the Pi2... and now i want it to run on the Pi1 B+.
But the Pi1 memory is only 512.. so i need the mem split to be just right... i use a lot of artwork and addons.
Grz. Warez
Posts: 261
Joined: Dec 2014
Reputation:
6
Warez
Senior Member
Posts: 261
If i set it to 192mb gpu... play 1080p movie and scroll fanart in the background i only got 3 mb left... so i will set it to 200 mb?
Posts: 788
Joined: Mar 2015
Reputation:
57
the_bo
Posting Freak
Posts: 788
2016-03-27, 23:59
(This post was last modified: 2016-03-28, 00:02 by the_bo.)
Hi
Im using bcmstat to monitor gpu mem usage as noticed few black outs on fanart etc which relate to not enough gpu mem.
I noticed that when a video is playing and i browse through gui movie fanart etc the GPU mem gets used up very quickly.
Now when a video is not playing and i do same browse gui movie fanart etc it uses very little GPU mem.
Whats reason for big difference in gpu mem usage? Is it because the video uses a lot of the gpu mem when playing?
Currently set gpu mem to 320 for rpi3. I like browsing through music videos when one is playing in background this causes issue of mem running down very quickly.
Thanks for any info
cheers millhouse for great bcmstat monitor
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Yes, I can reproduce that here with my latest test build #0327 - play a movie, switch to window mode, browse movies library (Estuary list view type, showing poster and small fanart) and eventually GPU mem will be exhausted.
When bcmstat.sh started reporting 0% GPU free the artwork stopped being shown (black squares) so the measurement reported by bcmstat.sh is accurate.
When movie playback is stopped, all the GPU memory is released.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Posts: 944
Joined: Feb 2012
Reputation:
21
I've never actually used anything other than default configuration... never once had an issue on the RPi besides earlier builds (years ago) when playing 1080p with DTS. Overclocking solved that.