All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.0-test1 + matroxfb = unuusable VC
@ 2003-07-21 18:44 Petr Vandrovec
  2003-07-21 20:02 ` nick black
  0 siblings, 1 reply; 15+ messages in thread
From: Petr Vandrovec @ 2003-07-21 18:44 UTC (permalink / raw)
  To: nick black; +Cc: linux-kernel

On 21 Jul 03 at 14:33, nick black wrote:
> Petr Vandrovec assumed the extended riemann hypothesis and showed:
> > I do not think that it has anything to do with AGP, as matroxfb does not
> > initiate any AGP transfers. 
> 
> indeed, the issue would only happen after switching from x back to
> console.  regardless, not building agp worked aorund the 2.4 problem for
> me.

In this case, does it happen if you exit X, or only if you are switching
to the console while X are active? If it happens only in second case, then
it is bug (I believe fixed long ago) in XFree mga driver: it was sometime
reprogramming color depth and line length in the accelerator even when
inactive (Gnome1 clock applet running in top right corner was known to
trigger this, depending on clock settings matroxfb would cease to
work in one second or (up to) one minute after VT switch, depending on clock
applet setting... it is possible that it happened only with kernel mga dri
driver active, but I'm not 100% sure).

I know no other workaround than using same color depth and same xres_virtual
(vxres on fbdev & desktop width in X) in X and on the console.
                                                    Best regards,
                                                        Petr Vandrovec
                                                        vandrove@vc.cvut.cz
                                                        


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: 2.6.0-test1 + matroxfb = unuusable VC
@ 2003-07-24 23:23 Petr Vandrovec
  0 siblings, 0 replies; 15+ messages in thread
From: Petr Vandrovec @ 2003-07-24 23:23 UTC (permalink / raw)
  To: Michel Eyckmans (MCE); +Cc: nick black, linux-kernel

On 25 Jul 03 at 0:17, Michel Eyckmans (MCE) wrote:
> >  Anyway, can you try applying matroxfb-2.5.72.gz from 
> > ftp://platan.vc.cvut.cz/pub/linux/matrox-latest to your tree (you can
> > enable only matroxfb after patching, no other fbdev will work) and retry
> > tests?
> 
> YES! No more ghost X image, no more white rectangles, no more sudden 
> jump scrolling, and a backspace key that actually works again. Please 
> do consider pushing (some of) this to Linus for inclusion into the 
> 2.6.0.test series!

Impossible. It reverts huge parts of the fbdev API almost completely to 
the 2.4.x state, and I was already outvoted in that vote couple of 
times since January.

BTW, with my patch accented characters works correctly only on VT1.
I'm not sure how it behaves on Linus tree...

And I'm not saying that there are no bugs in the matroxfb which is in
Linus's kernel. But as nobody even answered my question I sent out on 
monday whether it is correct that FBIOGETCMAP ioctl can overwrite arbitrary 
kernel memory, I kinda lost an interest in the stock fbdev...

                                           Best regards,
                                                Petr Vandrovec


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: 2.6.0-test1 + matroxfb = unuusable VC
@ 2003-07-23 23:50 Petr Vandrovec
  2003-07-24 22:17 ` Michel Eyckmans (MCE)
  0 siblings, 1 reply; 15+ messages in thread
From: Petr Vandrovec @ 2003-07-23 23:50 UTC (permalink / raw)
  To: Michel Eyckmans (MCE); +Cc: nick black, linux-kernel

On 24 Jul 03 at 1:05, Michel Eyckmans (MCE) wrote:
> > > In this case, does it happen if you exit X, or only if you are switching
> > > to the console while X are active? If it happens only in second case, then
> > > it is bug (I believe fixed long ago) in XFree mga driver: it was sometime
> >
> > it is the latter case, thanks for the info!  regardless, the 2.6.0-test1
> > problems continue; i'll update my x this evening if my version doesn't
> > contain the fix.
> 
> After reading this, I enthousiastically upgraded from Xfree 4.2.0 to 
> 4.3.0, but nothing changed. :-( The problem is indeed X-related, but 
> refuses to go away after the upgrade.
> 
> Also, I've had 4.2.0 and several earlier X versions working just fine
> with the "old" matroxfb in the same setup that I'm using now. Was there 
> a bug workaround for this issue in the old driver? If so, is there any
> hope of it returning?

Are you sure it was matroxfb and not DRI what changed? I do not know
about any changes... But in the past (2.4.x) if XFree would set videomode
through /dev/fbX while being invisible (but with controlling tty), nothing
would change on display, as only videomode for XFree's VT would change. 
Now when there is no such virtualization, XFree server can change videomode 
of your actually visible console by mistake, while your VT could still
cache its idea of screen somewhere. But it does not look very possible,
you would probably notice that display resolution changed behind you...

Anyway, can you try applying matroxfb-2.5.72.gz from 
ftp://platan.vc.cvut.cz/pub/linux/matrox-latest to your tree (you can
enable only matroxfb after patching, no other fbdev will work) and retry
tests? Except other things it restores /dev/fbX behavior from 2.4.x
kernels. I have running XFree (Debian unstable, G550, gnome2, since last
week with metacity WM, with sawfish2 before) & VMware in the 
background while being at textual console all the time, and I see no 
strange rectangles on the screen...
                                                Petr
                                                


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: 2.6.0-test1 + matroxfb = unuusable VC
@ 2003-07-21 18:10 Petr Vandrovec
  2003-07-21 18:33 ` nick black
  0 siblings, 1 reply; 15+ messages in thread
From: Petr Vandrovec @ 2003-07-21 18:10 UTC (permalink / raw)
  To: nick black; +Cc: linux-kernel

On 21 Jul 03 at 17:45, nick black wrote:

> i'm seeing the exact same issues.  i use to see similar problems in late
> 2.4's with agp turned on, where turning off agp sorted out the issue.
> using 2.6 (test1-ac2), it happens whether agp is turned on or not.

I do not think that it has anything to do with AGP, as matroxfb does not
initiate any AGP transfers. 
 
> some info:  (cmdline, dmesg, config, lspci -v -v for bridge/card):
> 
> video=matroxfb:vesa:0x1bb

I think that you are using fbset somewhere in your initscripts. Either
do not do that, or apply 
ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.72.gz.

> PCI: No IRQ known for interrupt pin A of device 01:00.0. Please try 
>     using pci=biosirq.

And reconfigure your system to assign IRQ to the AGP devices too.
matroxfb uses it for delivering some notifications to the userspace
programs...

>         Interrupt: pin A routed to IRQ 0

... if it hooked IRQ0 as MGA interrupt, anything can happen.
                                                Best regards,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz


^ permalink raw reply	[flat|nested] 15+ messages in thread
* 2.6.0-test1 + matroxfb = unuusable VC
@ 2003-07-18 22:39 Michel Eyckmans (MCE)
  2003-07-19  6:02 ` Jurriaan
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Michel Eyckmans (MCE) @ 2003-07-18 22:39 UTC (permalink / raw)
  To: Linux Kernel Mailing List


Greetz,

I'm using (or rather: trying to use) matroxfb on 2.6.0-test1 (2.5.72 had 
the same problems) and am seeing the following:

 - The initial boot console works fine, but all other consoles have 
   scrolling problems. The area to the right of any scrolled text is 
   most often coloured white, whereas it should be black. When using vi, 
   it's even worse: white rectangles all over the place.

 - Right after switching from X to a text console, the fill color is not
   white, but sort of a folded ghost image of part of my X display;

 - Scrolling is not continuous: keep <enter> pushed down, and every so 
   often a jump of about 1/3 of the hight of the screen occurs, combined
   with a few lines that do use the correct black background;

 - Backspacing only works when the cursor is positioned at the end of the 
   command line. Anywhere else the positions to the right of the cursor 
   are not repainted.

I'm using these settings: video=matroxfb:vesa:0x11A,fh:92k,fv:160"

  MCE


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-07-26 10:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21 18:44 2.6.0-test1 + matroxfb = unuusable VC Petr Vandrovec
2003-07-21 20:02 ` nick black
2003-07-23 23:05   ` Michel Eyckmans (MCE)
  -- strict thread matches above, loose matches on Subject: below --
2003-07-24 23:23 Petr Vandrovec
2003-07-23 23:50 Petr Vandrovec
2003-07-24 22:17 ` Michel Eyckmans (MCE)
2003-07-25  0:07   ` James Simmons
2003-07-26 10:33     ` Michel Eyckmans (MCE)
2003-07-25 12:20   ` nick black
2003-07-21 18:10 Petr Vandrovec
2003-07-21 18:33 ` nick black
2003-07-18 22:39 Michel Eyckmans (MCE)
2003-07-19  6:02 ` Jurriaan
2003-07-21 17:45 ` nick black
2003-07-24 23:39 ` James Simmons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.