Re: display problem with matroxfb

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Tue Jan 23 2001 - 16:59:58 EST


On 23 Jan 01 at 21:34, f5ibh wrote:
>
> After booting and having the display shifted to the middle of the screen, I've

Stop. Do you see right portion of screen in left, left portion in right,
with black column in between, or is picture only shifted, without
wraparound? I thought that you see wrapped display...

> played a bit with fbset and the -left, -right, -move, -match options. After a
> while I got an 'acceptable' picture (some pixels missing on the left). At this
> point, fbset -s give me the following :
>
> mode "640x480-60"
> # D: 25.176 MHz, H: 31.628 kHz, V: 60.243 Hz
> geometry 640 480 640 480 8
> timings 39721 50 10 32 11 96 2
> accel true
> rgba 8/0,8/0,8/0,0/0
> endmode

Are you sure that it is source of problem? Default matroxfb settings
for 640x480 is 'timmings 39721 48 16 33 10 96 2' - As horizontal position
is in multiple of 8, I cannot understand, how moving picture one column
(8 pixels) right(!) (and even worse - there is no rounding in code,
so you only changed right screen margin from 16 to 8 - this should
move picture even more to right side of screen) and one scanline up could
make so drastical change...

> How can I pass the parameters at boot time ?
> I've tried :
> video=matrox:vesa:0x301,pixclock:39721,left:50,right:10,upper:32,lower:11,hslen:96,vslen:2
> ... without any success...

After boot look at /proc/cmdline. If it is cutted at column 64 (or 79),
you have to upgrade your LILO. RedHat6.2 uses LILO with this dumb limitation.
Also, you do not have to specify vesa,pixclock,hslen and vslen, as you leave
them on defaults. So 'video=matrox:left:50,right:10,upper:32,lower:11'
should work... But I think that only 'right:' really matters.
                                                Best regards,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz

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



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:28 EST