From: Matan Ziv-Av (matan@svgalib.org)
Date: Wed 20 Jun 2001 - 12:03:19 IDT
On Wed, 20 Jun 2001, [iso-8859-1] Frédéric L. W. Meunier wrote:
> Hi. I built 1.4.3 with the following changes to Makefile.cfg:
>
> INCLUDE_G400_DRIVER = y
> INCLUDE_FBDEV_DRIVER = y
> INCLUDE_G400_DRIVER_TEST = y
> INCLUDE_NORMAL_DAC = y
>
> # Comment out any dac you don't want to autodetect.
> None, but I noticed they're built. Why ?
>
> ramdac/ramdac.o ramdac/normal.o ramdac/attdacs.o
> ramdac/sierra.o ramdac/icw.o ramdac/s3dacs.o
> ramdac/IBMRGB52x.o clockchip/icd2061a.o
>
> I thought my build would only include ramdac/ramdac.o
> ramdac/normal.o
I think there are #ifdef endifs, so that the files are compiled
empty. You also don't need the normal dac. All those dacs are for old
(pre-trio) S3 cards.
> So, this is a minimal SVGALib. I have a Matrox Millenium G400
> (M4A32DG) and am using matroxfb with Kernel 2.4.5. From dmesg:
>
> Kernel command line: BOOT_IMAGE=1 root=301 video=matrox:vesa:440
> matroxfb: Matrox unknown G400 (AGP) detected
> matroxfb: MTRR's turned on
> matroxfb: 1024x768x24bpp (virtual: 1024x5460)
> matroxfb: framebuffer at 0xE2000000, mapped to 0xd8805000, size 33554432
> fb0: MATROX VGA frame buffer device
>
> I built seejpeg to test, but I get the following error:
>
> svgalib: Failed to initialize mouse.
> Cannot find a 256 colour video mode
> svgalib: mmap error rrr
I don't see why this check is there.
> I only see "svgalib: mmap error rrr message" when I switch back
> from another vc. Until then it's a blank line.
That's a console - fbdev interaction bug. An ioctl that should redraw
the screen, and does with vgacon, does not do it with fbcon.
> I still have a question. Can I use chipset G400 with matroxfb,
> or Ishould boot without it ?
I think there should not be a problem. At least, there is not with rage
128 and aty128 fb driver.
--
Matan Ziv-Av. matan@svgalib.org
------------------------------------------------------------------
Unsubscribe: To: listbot@svgalib.org
Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST