Jacek Luczak pisze: > Eric Anholt pisze: >> 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. >> > > This fixes memory leak, but ... another problem occurs. Just launch glxgears > (in > UXA) and leave it for a few minutes. Glxgears stops (I mean gears stops:D) and > screen is broken. I will try to grab screen. > > -Jacek >
I've got more info. As I've wrote, screen locks and ugly stuff shows up [1]. I was trying to grab screen with XV, as a result properly looking screen was grabbed (I mean without those strange artifacts). When I'm switching to text mode (with VESA fb) and back to X screen is ,,refreshed'' and gears are spinning (all values which were not displayed previously are now visible) and no artifacts on the screen. When I leave it for a while gears stops again. This issue exists in UXA (btw: glxgears shows ~400FPS) and not in EXA (glxgears shows 56FPS and one can see ,,frame-by-frame'' display effect). My hardware is: VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) Kernel: vanilla Linux Kernel 2.6.29-rc6 Xorg: xorg-server 1.6 with all latest libs, etc. installed. -Jacek ---------------- [1] Screen: http://pin.if.uz.zgora.pl/~difrost/download/02032009.jpg _______________________________________________ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg