20,741
edits
Line 7: | Line 7: | ||
looking at the wiki, the patch you've updated now should be fairly easy to extend for getting VRAM utilization, too - are you on NVIDIA or ATI/AMD hardware ? | looking at the wiki, the patch you've updated now should be fairly easy to extend for getting VRAM utilization, too - are you on NVIDIA or ATI/AMD hardware ? | ||
Here are code snippets for AMD/ATI and NVIDIA, which can probably be copied directly into the ::update() method of the LinuxMemoryInterface class: http://www.geeks3d.com/20100531/ | Here are code snippets for AMD/ATI and NVIDIA, which can probably be copied directly into the ::update() method of the LinuxMemoryInterface class: | ||
* http://www.geeks3d.com/20100531/programming-tips-how-to-know-the-graphics-memory-size-and-usage-in-opengl/ | |||
* http://www.gamedev.net/topic/640599-check-video-ram-usage/ | |||
This would give you the amount of VRAM that is available/used, which should also be useful for troubleshooting/feature-scaling purposes. | This would give you the amount of VRAM that is available/used, which should also be useful for troubleshooting/feature-scaling purposes. |