2003-09-30 09:24:57

by Erik Hensema

[permalink] [raw]
Subject: Matroxfb still broken in -test6

Hi,

Matroxfb has been unusable for me since around 2.5.6x, and it still is in
-test6.

The simptoms are:

- large white bar to the right of the pengiun logo on booting
- (mostly) yellow distortion in the background: parts of the screen that
should be black, are distorted with a semi-regular pattern. Each line of
scrolling adds around 5 lines worth of distorion to the bottom of the
screen. The distorion works its way up until the entire screen is filled
with it.
Switching to and from another vc clears it.

I could make a picture of it using the low-res (640x480) digicam on my
cellphone if anyone is interesed ;-)

Hardware: Matrox G550, CRT connected to the DVI port and TV connected to
the TV-out.
Settings: all default
Config:

CONFIG_FB=y
CONFIG_FB_MATROX=y
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_FB_MATROX_I2C=m
CONFIG_FB_MATROX_MAVEN=m
CONFIG_FB_MATROX_MULTIHEAD=y


--
Erik Hensema <[email protected]>


2003-09-30 10:09:00

by Petr Vandrovec

[permalink] [raw]
Subject: Re: Matroxfb still broken in -test6

On 30 Sep 03 at 9:24, Erik Hensema wrote:
> The simptoms are:
>
> - large white bar to the right of the pengiun logo on booting
> - (mostly) yellow distortion in the background: parts of the screen that
> should be black, are distorted with a semi-regular pattern. Each line of
> scrolling adds around 5 lines worth of distorion to the bottom of the
> screen. The distorion works its way up until the entire screen is filled
> with it.
> Switching to and from another vc clears it.

Are you sure that you are not running XFree when this yellow distortion
occurs? It looks to me like that you are using XFree with DRI in 32bpp,
while your console uses 8bpp. Do not do that! DRI permanently smashes
accelerator state with its own setting, and this makes any other
accelerated work on the system unusable. So either disable matroxfb's
acceleration, or explain to your mga_dri that "screen invisble" should
mean "you do not own hardware, dude!".
Petr Vandrovec
[email protected]


2003-09-30 10:49:48

by Erik Hensema

[permalink] [raw]
Subject: Re: Matroxfb still broken in -test6

On Tue, Sep 30, 2003 at 12:08:42PM +0200, Petr Vandrovec wrote:
> On 30 Sep 03 at 9:24, Erik Hensema wrote:
> > The simptoms are:
> >
> > - large white bar to the right of the pengiun logo on booting
> > - (mostly) yellow distortion in the background: parts of the screen that
> > should be black, are distorted with a semi-regular pattern. Each line of
> > scrolling adds around 5 lines worth of distorion to the bottom of the
> > screen. The distorion works its way up until the entire screen is filled
> > with it.
> > Switching to and from another vc clears it.
>
> Are you sure that you are not running XFree when this yellow distortion
> occurs? It looks to me like that you are using XFree with DRI in 32bpp,
> while your console uses 8bpp. Do not do that! DRI permanently smashes
> accelerator state with its own setting, and this makes any other
> accelerated work on the system unusable. So either disable matroxfb's
> acceleration, or explain to your mga_dri that "screen invisble" should
> mean "you do not own hardware, dude!".

I'm sure I do run X. Thanks for the explanation.

--
Erik Hensema ([email protected])

2003-09-30 12:13:40

by Petr Vandrovec

[permalink] [raw]
Subject: Re: Matroxfb still broken in -test6

On Tue, Sep 30, 2003 at 12:49:44PM +0200, Erik Hensema wrote:
> On Tue, Sep 30, 2003 at 12:08:42PM +0200, Petr Vandrovec wrote:
> > On 30 Sep 03 at 9:24, Erik Hensema wrote:
> > > The simptoms are:
> > >
> > > - large white bar to the right of the pengiun logo on booting

Do you have vgacon enabled, and do not you use vga=XXX option? This white
region appears when hardware is switch to the SVGA mode before vgacon
was able to read screen contents from it (it reads 0xFF as an attribute,
giving light white letters on light white background).

> > > - (mostly) yellow distortion in the background: parts of the screen that
> > > should be black, are distorted with a semi-regular pattern. Each line of
> > > scrolling adds around 5 lines worth of distorion to the bottom of the
> > > screen. The distorion works its way up until the entire screen is filled
> > > with it.
> > > Switching to and from another vc clears it.
> >
> > Are you sure that you are not running XFree when this yellow distortion
> > occurs? It looks to me like that you are using XFree with DRI in 32bpp,
> > while your console uses 8bpp. Do not do that! DRI permanently smashes
> > accelerator state with its own setting, and this makes any other
> > accelerated work on the system unusable. So either disable matroxfb's
> > acceleration, or explain to your mga_dri that "screen invisble" should
> > mean "you do not own hardware, dude!".
>
> I'm sure I do run X. Thanks for the explanation.

In that case you have to use same display resolution and color depth in both
X and on the console. Then you'll only get miscolored characters from time
to time, but no large corruption.
Best regards,
Petr Vandrovec
[email protected]