[Intel-gfx] How to limit the size of VideoRAM?

Eric Anholt eric at anholt.net
Wed Feb 4 18:30:10 CET 2009


On Wed, 2009-02-04 at 21:46 +0800, Wang Xu wrote:
> Hi,
> 
> 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 Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090204/da4c4f6d/attachment.sig>


More information about the Intel-gfx mailing list