Re: 2.6-test11 framebuffer Matrox

From: Petr Vandrovec
Date: Fri Dec 19 2003 - 14:53:17 EST


On 19 Dec 03 at 16:29, nick black wrote:
> In article <3FE2BB05.1000107@xxxxxxxxxxxxxx>, Michael Hunold wrote:
> > Hmm, I just tested with the 2.6.0 release and my both cards are working
> > properly now. The only thing is a huge white box around the penguin logo.
>
> As I said, this happens to me without Petr's patch, and goes away with
> it. Can you check out my earlier post in this thread, and analyze your
> X+fbcon interaction with reagrds to fbdev vs. mga driver, and Petr's
> patch?

I think that it works due to pure luck. XFree's mga driver reprograms
some accelerator registers (namely color depth and horizontal line length)
under some circumstances (like when gnome's clock applet in right upper
corner changes value - i.e. every second or every minute depending on
setting when DRI is enabled) even if XFree are not on foreground. This
causes serious problems, as then you are running console at (say) 640x480/8bpp,
but accelerator gets set to 1280x1024/32bpp, painting 16x larger characters
to screen :-(

I know only three workarounds: either do not use DRI, or disable use of
accelerator on console (fbset -accel false), or use same vxres and depth
on console and in X (or fourth: fix XFree driver to not touch hardware
when they are not on foreground...).
Petr Vandrovec
vandrove@xxxxxxxxxx


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