1.4.3 problem with Matrox Millenium G400

Search this archive.

From: Frédéric L. W. Meunier (0@pervalidus.net)
Date: Wed 20 Jun 2001 - 08:49:35 IDT


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

And what about clockchip/icd2061a.o ?

And I'm not sure if I need INCLUDE_NORMAL_DAC = y

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

If I chmod +s seejpeg I don't get "svgalib: Failed to
initialize mouse.".

I only see "svgalib: mmap error rrr message" when I switch back
from another vc. Until then it's a blank line.

The only changes to /etc/vga/libvga.config:

mdev /dev/tts/0 (I'm using devfs)
chipset FBDev

HorizSync 30.0 61.0
VertRefresh 50 120

OK, I solved the problem. The fbdev driver doesn't use the
FRAMEBUFFER environment variable, and I don't have /dev/fb0.
Here I use FRAMEBUFFER=/dev/fb/0. I don't enable compatibility
for old device names in /etc/devfsd.conf.

It seems to work, but I get the following in 
/var/log/messages:

pervalidus kernel: matroxfb: cannot set xres to 400, rounded up to 416
pervalidus last message repeated 13 times
pervalidus gpm[6564]: Skipping a data packet (?)

I still have a question. Can I use chipset G400 with matroxfb,
or I should boot without it ?

-- 
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-717-2399 (Niterói-RJ BR)

------------------------------------------------------------------
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