|
From: Petr V. <van...@vc...> - 2002-10-13 22:37:27
|
On Sun, Oct 13, 2002 at 06:07:46PM +0200, Carlo E. Prelz wrote:
> Subject: Re: Mixing g400 dualhead and old Millennium.
> Date: dom, ott 13, 2002 at 04:56:04 +0200
>
> Quoting Petr Vandrovec (van...@vc...):
>
> > If you could print return value from register_framebuffer in
> > matroxfb_dh_regit in matroxfb_crtc2.c, maybe it could reveal
> > problem. Maybe that using non-ac kernel fixes problem too.
>
> It never reaches register_framebuffer. It leaves dh_regit at tese
> lines:
>
> else if (ACCESS_FBINFO(video.len) < mem) {
> kfree(d);
> return -ENOMEM;
> }
>
> ACCESS_FBINFO(video.len) is 2097152. Mem is 8388608.
Really... I did not notice in your original email that it
reports G400 as 2MB only device... Can you send me
output of 'lspci -s X:Y.Z -vvvxxx' (where X:Y.Z is
your G400 device, probably 1:00.0 or 2:00.0) with
2.4.19-pre10, and with Alan version? Alan's version
uses data from BIOS to set memory type, and it
apparently made mistake.
In Alan's kernel you should have option to enable procfs
interface - can you enable it and send me also
contents of /proc/driver/mga/fb*/pins. It is binary
file, if you want, you can parse it by matrox_pins
from ftp://platan.vc.cvut.cz/pub/linux/matrox-latest.
Thanks,
Petr Vandrovec
van...@vc...
|