[Nouveau] low memory
shiningxc at gmail.com
Fri Dec 11 11:11:00 PST 2009
On Fri, Dec 11, 2009 at 1:30 PM, Ben Skeggs <skeggsb at gmail.com> wrote:
> On Fri, 2009-12-11 at 13:23 +0100, Anders Eriksson wrote:
>> skeggsb at gmail.com said:
>> > It'd be useful to know of any cases out there where UMS is being used because
>> > KMS is failing, there's a couple of cases on RH bugzilla, but I don't recall
>> > the details right now.
>> Try this one.
>> It used to work, but something changed which forced me back to UMS.
> It's not a solution by any means, but try:
> Option "EXAPixmaps" "false"
> In your xorg.conf. There'll be more work done to help the situation on
> low-mem cards.
Ah that is interesting, so this can workaround the problem on my nv25
that cannot render too big pictures in firefox. (my test case is a
single picture : 3782x2592 resized to 550x368)
So about that, I must mention the different behavior I got, in
chronological order :
1) old ddx (10/01) : X instant crash
2) newer ddx, after all the "handle reloc failures" patches : picture
is not displayed, just a black area instead. *much* better :)
3) after upgrading kernel/drm from 12/08 - 2.6.32-rc6 to 12/11 -
2.6.32 : X locks up.
I don't even see the usual message in dmesg ([TTM] Out of aperture
space or DRM memory quota.)
The gpu or at least nouveau drm is in a bad state and I must reboot to cover.
Any clues about that last behavior ? I am not sure how
practical/possible regression testing will be since it seems to have
been caused by the last merge. I will open a bug report thats better.
Finally I am curious about what work will be done to help :)
If I got it right (and I probably did not) :
exapixmaps true -> always use videoram for pixmaps
exapixmaps false -> never use videoram for pixmaps
And so the solution would be something in between, like dynamically
choose whether to use vram or not, depending on the pixmap size and
the free vram ?
And how hard is that ?
More information about the Nouveau