Comment 22 for bug 328232

Revision history for this message
In , drseergio (drseergio) wrote :

(In reply to comment #17)
> (In reply to comment #15)
> > (In reply to comment #14)
> > > I applied the patches by Jesse Barnes, and X crashed after some time.
> > > Then I tried the patch by Shuang He, it didnot crash, but VT-swith no longer
> > > works. (I'm not sure whether it is caused by the patch)
> > >
> > > The number of "drm mm object" still increases all the time.
> > >
> > > And after 6h30m, sudo lsof | grep "drm mm object" | wc -l shows 14994.
> > > And I got my /proc/dri/0/gem_objects:
> > >
> > > 18534 objects
> > > 1451909120 object bytes
> > > 4 pinned
> > > 12681216 pin bytes
> > > 247177216 gtt bytes
> > > 260313088 gtt total
> > >
> > >
> > > Intel GM965
> > > xf86-video-intel: 2.6.99
> > > libdrm: 2.4.5
> > > kernel: 2.6.29 with KMS enabled
> > > mesa: 7.4rc1
> > >
> >
> > Jesse's patch in Comment #10 and mine in Comment #13 should be applied at the
> > same time.
> >
>
> ok, I applied both patches. Now after 2h50m, I got:
>
> sudo lsof | grep "drm mm object" | wc -l
> 5248
>
> and /proc/dri/0/gem_objects:
> 13116 objects
> 1109676032 object bytes
> 4 pinned
> 12681216 pin bytes
> 186478592 gtt bytes
> 260313088 gtt total
>
With these patches it is better indeed but, as mentioned, the memory usage is still abnormally high for X.