Re: matroxfb problems with 129pre6 and G200 (8meg)

Petr Vandrovec Ing. VTEI (VANDROVE@vc.cvut.cz)
Fri, 20 Nov 1998 17:47:48 MET-1


Hello,
> > 1. I can't find a way to increase the refresh rate of the screen
> > above 60. I'd like it at 85 preferably and the vf/vh options
^^^^^ fv, fh!
stands for frequency vertical and frequency horizontal
> > don't seem to do it. Not being able to do this really screws
> > with my eyes.
video=matrox:fv:85 should work (fh:90,fv:160 works here for me).
> > 2. When using zgv to view a picture (not that it gets the size
> > right...) in svgalib's VESA mode there is trash at the top of
> > the screen when I exit.
sorry... I do not have zgv here. But my svgalib does not support matrox
so...
> > 3. When swapping between consoles (alt+f<num>) i occasionally
[snip]
> (or something similar. the full screen thing I can guarantee 99%
> but occasionally it happens in other circumstances) the messed up
> screen is restored to its proper position.
Yes, this is known problem. If you can wait while patch gets from vger
to Linus, wait. If you cannot wait, there is new matroxfb.c
at ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb.c.gz.
Ungzip and move into linux/drivers/video/matroxfb.c. If you are using
PPC, you must also apply patch at end of this message - driver is now
integrated with OpenFirmware.
> 4. If I turn the monitor off and then back on I do not get a
[snip]
> any OSD boxes (it's a CTX 1972UA 17"), including the status one
> where resolution and refresh rates are displayed. This is NOT
> reproducable (ie doesn't happen) on console without fb or X.
Sorry, but I do not understand it... There is NO interaction between
monitor and driver, so I do not even know, how to do this... It works
with my EIZO F764 here. It also works with my fixed 640x480 monitor...
Could you try modify (enlarge) -hslen and -vslen through fbset?
> > Other then the above it's great and being able to have a screen
> > that's 160x64 is somewhat nice. :)
> > Also, is there any point to opening up the console at 32bpp and
> > would it be possible to assign different rgb codes to the 16 (32
> > if you count the bright ones) colours?
For low 16 colors, you can set them by ESC sequence
ESC ']' 'P' X RR GG BB
where X is hexadecimal digit from 0 to F and RR, GG and BB are
values for specified color register 0-F. For example
ESC ]P0FF0000 sets background to light red.
Other colors (16-255 for pseudocolor) can be set through FBIOPUT_CMAP
ioctl - but I do not know userspace application which does it.
Truecolor modes currently do not support gamma correction (there is no
std. API). (on Mystique, G100, G200 it is turned on by design, but programmed
into 1:1 mode, on Millennium (I/II) it is turned off)
> Oh. Just remembered. I use the following to configure the video
> db driver: video=matrox:vesa:0x107
so video=matrox:vesa:0x107,fv:85 should do the trick for you.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz

P.S.: Please, really CC me. Last digest take 7 hours to get from
vger to next hop (as shown in headers: morlor.karlin.mff.cuni.cz), so
it is not good for interactive performance. (DaveM, do not worry,
I can live with it)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/