"Manuel M. T. Chakravarty" <[EMAIL PROTECTED]> wrote,

> As I have tried to explain before, I believe that the
> problem is NOT in the driver actually having a problem with
> only 1MB stolen memory.  The problem - as far as I
> understand it - is that the BIOS *assumes* that only a
> restricted number of video modes are available.
[..]
> It seems to me
> that the BIOS here simply does not provide a video mode with
> a resolution higher than 640x480 at depth 16 and 24.  In
> other words, I don't think that the problem is really in the
> driver, but that it is in what the BIOS reports.  Is it
> possible that the BIOS determines the available video modes
> in dependence on the GMCH setting of the amount of stolen
> memory?

As the 1MB stolen memory seems to be the problem, I tried to
coax the machine into actually using 8MB stolen memory
instead of only 1MB.  I did so by editing the function
intel_i830_configure() in `linux/drivers/char/agp/agpgart_be.c'
by adding the lines marked by a `+':

        pci_read_config_word(agp_bridge.dev,I830_GMCH_CTRL,&gmch_ctrl);
        gmch_ctrl |= I830_GMCH_ENABLED;
+       gmch_ctrl &= ~I830_GMCH_GMS_MASK;
+       gmch_ctrl |= I830_GMCH_GMS_STOLEN_8192;
        pci_write_config_word(agp_bridge.dev,I830_GMCH_CTRL,gmch_ctrl);

Unfortunately, this resulted in the machine freezing as soon
as I load the `agpgart' module.

Any ideas on what the right method is to change this setting?

Cheers,
Manuel
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to