[Intel-gfx] How to limit the size of VideoRAM?
eric at anholt.net
Wed Feb 4 18:30:10 CET 2009
On Wed, 2009-02-04 at 21:46 +0800, Wang Xu wrote:
> I am using KMS and xf86-video-intel git master, and have 2G physical
> RAM and 2G swap partition. but even when I swapoff the swap, the Xorg
> would use 4G videoRAM.
> The problem is it leads to much more swap operation and almost freeze
> the window... the results of vmstat, pmap, and free are listed
> following. Any ideas?
The driver is either leaking buffer objects, or deciding to allocate
more rather than reuse because something is broken and not getting
completed buffers marked as done (irqs broken?). Turning on bufmgr
debugging and awking over the output can help identify leaks.
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the Intel-gfx