Great work Eric, it finally fixed memory problems with my i915. We definitely need 2.6.3 with this piece of code :)
cheers, Adam On Sat, Feb 28, 2009 at 6:21 AM, Eric Anholt <e...@anholt.net> wrote: > On Wed, 2009-02-25 at 19:13 +0100, Brice Goglin wrote: >> Eric Anholt wrote: >> > On Wed, 2009-02-25 at 14:10 +0100, Jacek Luczak wrote: >> >> >> >> this release is totally unusable while running in UXA. System eats lot of >> >> memory, including swapping. Is this that, reported earlier, ,,memory >> >> leak''? As >> >> a result X are really slow and lot of lockups occur (everything freeze >> >> for a few >> >> seconds). At the end I can't even switch to text console, but system >> >> reacts on >> >> power button and it goes down successfully. With EXA there's no such >> >> issue: >> >> total system memory usage around 40%, no lockups. >> >> >> >> If it's not know issue I will try to bisect it down. >> >> >> >> -Jacek >> >> >> >> ------------------ >> >> Details: >> >> 1. X.Org X Server 1.5.99.903 (1.6.0 RC 3) >> >> 2. Linux Kernel 2.6.29-rc6 >> > >> > Can you give me exact steps to reproduce this leak? >> >> Same problem here with libdrm 2.4.5, intel 2.6.2, Xserver 1.6-rc2, >> Mesa 7.3 on >> Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated >> Graphics Controller [8086:27a2] (rev 03) >> >> Nothing specific needed to reproduce the problem, just use X :) >> As soon as I start a big application such as firefox ou thunderbird, >> my 1GB RAM is entirely used after a couple seconds and the system >> becomes verrrry slow. >> >> Only downgrade intel to 2.6.1 => 200MB used, no problem. > > I think the problem here was the DRI2 tiling fix, which was great for > the 915-class 3D performance regression but bad for 915-class 2D. I've > pushed a fix to master that should help. If it does, I'll try to get a > 2.6.3 out soon. > > commit 5bfd73cd31ba197a62f549cdbad1a1270b571027 > Author: Eric Anholt <e...@anholt.net> > Date: Fri Feb 27 19:09:49 2009 -0800 > > Only allocate pixmaps aligned for tiling when requested by DRI2 GetBuffers. > > This saves massive quantities of memory on pre-965 since the DRI2 tiling > enable caused the minimum size of any pixmap to be 1MB. > > -- > Eric Anholt > e...@anholt.net eric.anh...@intel.com > > > > _______________________________________________ > xorg mailing list > xorg@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/xorg > _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg