*Almost* got Matrox G200 and XFree86 to work

*Almost* got Matrox G200 and XFree86 to work

Post by Jim Arno » Sat, 14 Nov 1998 04:00:00



I have a Matrox G200 Video card (8mb) I'm trying to get
working with Redhat 5.1 and XFree86.

I downloaded and installed the correct files from SUSE.
I've got the correct symlinks pointing to the right
places. When I run startx I get the server running but
in my case the mouse does not work and the images are offset
to the lower right. The keyboard DOES work, however. The images
are pretty big. It looks like I'm running at 640x480.

I've included my log below.

My gut tells me that my problem involves me selecting the wrong
choices for the mouse and/or keyboard when I run
/usr/X11R6/bin/xf86config

More details:
1. XFCom_Matrox is in /usr/X11R6/bin
2. in /etc/X11 I've got X -> /usr/X11R6/bin/XFCom_Matrox
3. I'm running Redhat 5.1
4. I've got the Logitech Mouseman 3-button mouse
5. I'm using an Acerview 78ie monitor
6. Using the Microsoft Natural Keyboard

7. My Log file

XFCom_Matrox Version 2.2/ X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date:  1 October 1998
        If the server is older than 6-12 months, or if your card is newer
        than the above date, look for a newer version before reporting

Operating System: Linux 2.1.51 i686 [ELF]
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      mga2064w, mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: "xfree86(us_microsoft)" (overrides other XKB settings)
(**) Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200
(**) Mouse: buttons: 3
(**) SVGA: Graphics device ID: "matrox"
(**) SVGA: Monitor ID: "acer"
(--) SVGA: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75
dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/
usr/X11R6/lib/X11/fonts/75dpi/"

(--) SVGA: Linear framebuffer at 0xE3000000
(--) SVGA: MMIO registers at 0xE2000000
(--) SVGA: Video BIOS info block at 0x000c7a60
(--) SVGA: Found and verified enhanced Video BIOS info block
(--) SVGA: detected an SDRAM card
(--) SVGA: chipset:  mgag200
(--) SVGA: videoram: 8192k
(**) SVGA: Option "dac_8_bit"
(**) SVGA: Using 8 bits per color component
(**) SVGA: Using 8 bpp, Depth 8, Color weight: 888
(--) SVGA: Maximum allowed dot-clock: 250.000 MHz
(**) SVGA: Mode "640x480": mode clock =  45.800
(**) SVGA: Mode "800x600": mode clock =  69.650
(**) SVGA: Mode "1024x768": mode clock = 115.500
(**) SVGA: Mode "1280x1024": mode clock = 135.000
(--) SVGA: Virtual resolution set to 1280x1024
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: Read OPTION 0x40079121
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: 8x8 color expand pattern fill
(--) SVGA: XAA: CPU to screen color expansion (TE/NonTE imagetext, TE/NonTE poly
text)
(--) SVGA: XAA: Using 10 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: General lines and segments
(--) SVGA: XAA: Dashed lines and segments
The XKEYBOARD keymap compiler (xkbcomp) reports:

Quote:> Error:            Cannot open "/var/X11R6/xkb/compiled/xfree86.xkm" to write k
eyboard description
>                   Exiting

Couldn't load XKB keymap, falling back to pre-XKB keymap
sh: /lib/cpp: No such file or directory
stdin: is not a tty

-------

Thanks for any help!

Jim

 
 
 

*Almost* got Matrox G200 and XFree86 to work

Post by Valentin Guille » Sat, 14 Nov 1998 04:00:00


Jim,

I'm going to tell you that I think you're approaching this thing totally wrong!!

I say that because your log has data which says that you've attempted to configure
resolutions of 1800x1400, and similar such nonsense!

Now, that's not to say that you don't need to use those resolutions, or that your
equipment can't handle those.  But if you had that type of equipment, you would have
hired someone to do all this grunt work, or you would have purchased it all
preconfigured.

Go back, delete the config file, and start over.  Use your choice of the 4 different
configuration utilities.  I would recommend using xf86Setup, but it doesn't really
matter to much which one!  Tell it you have a generic VGA video card, with however
much memory it really has.  Select a monitor of generic VGA type of whatever size
you actually have, and this will be set to 16 color mode.  Select a resolution of
640x480 at a refresh rate of 60HZ.  NO Virtual anything.  Start  X running by
invoking   startx

What you want to do here is GET IT RUNNING!  Once you see that it can actually run
on your box, you can then rename the config file and start over, customizing ONE
PARAMETER AT A TIME, to start to get X runningthe way you really want to use it.

Alternately, you can take the config file which you know works, and just open it up
in vi and start manually tweaking the heck out of it.  This presupposes that you
know exactly what you're doing.

So, the thing is to get it started with as few options and as generic a
configuration as you can make it.  It's a snap to go back and tweak the hell out of
it, knowing that if it screws up, you can always go back to a known level of
performance.  You will begin to learn so much about X this way, because you will
actually see what every change does.

And learning  is what GNU/Linux is all about...:-)

Best Regards,

 
 
 

*Almost* got Matrox G200 and XFree86 to work

Post by Darrell Tangma » Wed, 18 Nov 1998 04:00:00



> I have a Matrox G200 Video card (8mb) I'm trying to get
> working with Redhat 5.1 and XFree86.
> My gut tells me that my problem involves me selecting the wrong
> choices for the mouse and/or keyboard when I run
> /usr/X11R6/bin/xf86config

I think your gut has got it right.  Once you get your mouse working,
you can adjust the image size and position on your display with
xvidtune; see below for getting the resolution you want.

Quote:> More details:
> 1. XFCom_Matrox is in /usr/X11R6/bin
> 2. in /etc/X11 I've got X -> /usr/X11R6/bin/XFCom_Matrox
> 3. I'm running Redhat 5.1
> 4. I've got the Logitech Mouseman 3-button mouse
> 5. I'm using an Acerview 78ie monitor
> 6. Using the Microsoft Natural Keyboard
> XFCom_Matrox Version 2.2/ X Window System
> (protocol Version 11, revision 0, vendor release 6300)
> XF86Config: /etc/XF86Config
> (**) stands for supplied, (--) stands for probed/default values
> (**) XKB: keymap: "xfree86(us_microsoft)" (overrides other XKB settings)
> (**) Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200
> (**) Mouse: buttons: 3

To what does your mouse connect?  I'm running with a Logitech MouseMan
3-button mouse; the label on the bottom of the mouse says "MouseMan,
Serial-MousePort."  It's configured with the "PS/2" protocol and works
perfectly.  It strikes me as unlikely that "MouseSystems" would be the
correct protocol for your mouse.

Quote:> (**) SVGA: Mode "640x480": mode clock =  45.800
> (**) SVGA: Mode "800x600": mode clock =  69.650
> (**) SVGA: Mode "1024x768": mode clock = 115.500
> (**) SVGA: Mode "1280x1024": mode clock = 135.000

These are the modes you defined for your display, in the order in
which you listed them.  By default X comes up in the first mode
specified, so you are, as you suspected, running in 640x480 mode.
You should be able to switch modes with Ctrl-Alt-"-" or Ctrl-Alt-"+".
Alternatively, rotate the list of modes so that the one you would
prefer to use most of the time comes first in the list, e.g.,

    Modes "1280x1024" "640x480" "800x600" "1024x768"

if you want to start up at 1280x1024.

Quote:> The XKEYBOARD keymap compiler (xkbcomp) reports:
>> Error:            Cannot open "/var/X11R6/xkb/compiled/xfree86.xkm" to write k
> eyboard description
>>                   Exiting
> Couldn't load XKB keymap, falling back to pre-XKB keymap
> sh: /lib/cpp: No such file or directory
> stdin: is not a tty

Never saw this before, but my first thought would be to check that
all the directories indicated in the error message actually exist.
On my system (with "XkbDisable" specified in XF86Config), there is
no /var/X11R6/xkb directory.

--