Re: [PATCH] x86_32: trim memory by updating e820 v3

From: Gabriel C
Date: Mon Apr 28 2008 - 15:46:56 EST


Yinghai Lu wrote:
> On Mon, Apr 28, 2008 at 7:24 AM, Gabriel C <nix.or.die@xxxxxxxxxxxxxx> wrote:
>> Mika Fischer wrote:
>> > Hi Ingo,
>> >
>> > I'm having the same problem.
>> >
>> > Ingo Molnar schrieb:
>> >> excellent. So just to make sure: this box never had proper graphics
>> >> under Linux (under no previous kernel), due to the way the BIOS has set
>> >> up the MTRR's, right?
>> >
>> > Well, not quite. X still works fine, but since the video memory is
>> > overlapped by two of the existing MTRRs, X cannot add a write-combining
>> > range for the video memory. That makes X rather slow especially if you
>> > use DRI for Compiz etc.
>>
>> Well you are lucky then :)
>>
>> Yeah X 'worked' but it worked as slow as with vesa video driver here.
>>
>> Also starting something like supertuxkart made it crash or I got a black screen :(
>>
>> The only game I managed to start ( without X to crash ) without that patch was supertux but is was slow as hell.
>> However I'm not a gamer but I need X to work right.
>>
> or can you change graphics card memory in BIOS to some big like 256M
> instead of 64M?
>

It is set to 256M , I cannot even set it to 64MB in BIOS.
I have options for 128/256 MB only and I think I can change the mode to fixed.

> YH
>

Gabriel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/