All of lore.kernel.org
 help / color / mirror / Atom feed
* fbdv/fbcon pending problems
@ 2004-02-23  0:53 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 68+ messages in thread
From: Benjamin Herrenschmidt @ 2004-02-23  0:53 UTC (permalink / raw)
  To: James Simmons; +Cc: Linux Fbdev development list, Linux Kernel list

Hi !

Here's a list of pending issues with fbdev (either upstream or in the
fbdev bk treee), I figured posting it here may help getting more people
on those issues as my time is sparse and I suppose James too.

 - First one, I will deal with, just writing it for completeness: When
switching from KD_GRAPHICS to KD_TEXT (either same console changing mode
or switching to a different console), we need a callback so the fbdev
has a chance to restore the accel engine setting (or even the whole
mode, to be safe).

 - Memory corruption problems. There is still at least one identified
when using stty. Just use crazy values, like flipping rows & cols (like
stty rows 132 cols 30) and usually, you'll see the box blow up very soon
with heavy memory corruption.

 - mach64 lockups on LT-G (I'll try on an LT-Pro soon) plus other
mach64 bugs in the new version in the bk fbdev, I'll have a patch for
some of the problems, but I didn't find a good explanation for the
accel lockups yet

 - Logo problems. When booting with a logo, then going to getty, the
logo doesn't get erased until we actually switch to another console (or
reset the console). At this point, using things like vi & scrolling up
doesn't work properly. Actually, last time I tried, I had to switch
back & forth twice before my console that had the logo got fully working
with vi.

 - Back buffer problem: maybe related to the logo ? After boot, doing
shift-pageup to go back to the boot message, usually you get crap
displayed at various places.

 - On x86, various junk displayed when the fbdev takes over. Reported
by radeonfb users, I couldn't test myself, I don't have an x86 with
radeon at hand for the moment. Apparently, the takeover from vgacon
doesn't properly "convert" the previous VGA text buffer content

 - stty & mode picking. Currently, fbcon_resize() (called when stty is
used to resize the console) will hack a "var" strcture by just putting
new width/height in it and pass that to set_var. The way the various
drivers react to that mostly broken "var" structure is rather random.
We need to explicitely differenciate between a mode that is "complete"
(like what fbset or X passes down the fbdev) or a mode that is just
width/height and eventually a hint of frequency, like what fbcon passes
in this case. I added FB_ACTIVATE_FIND for that purpose, but that needs
better driver support to "pick" up a proper mode. The algorithm for
that isn't trivial. Could be moved to common code.

 - fbset doesn't resize the console. I consider that a regression from
2.4. I have some code based on the notification mecanism to address
that, but it tends to trigger the same memory corruption problem as
reported with stty & bogus coordinates. There is something hairy going
on with console resizes. That code is a bit foreign to me though.

Ok, that's all that comes to my mind right now, help is welcome :)

Ben.




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

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

end of thread, other threads:[~2004-02-26 20:21 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  0:53 fbdv/fbcon pending problems Benjamin Herrenschmidt
2004-02-23  0:53 ` Benjamin Herrenschmidt
2004-02-23 15:52 ` Johannes Stezenbach
2004-02-23 18:59 ` James Simmons
2004-02-23 22:50   ` Benjamin Herrenschmidt
2004-02-23 22:50     ` Benjamin Herrenschmidt
2004-02-24  1:19     ` James Simmons
2004-02-24  1:19       ` James Simmons
2004-02-24  8:37     ` Geert Uytterhoeven
2004-02-24  8:37       ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-24  8:33       ` Benjamin Herrenschmidt
2004-02-24  8:33         ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-23 20:35 ` Thorsten Kranzkowski
2004-02-23 22:18   ` James Simmons
2004-02-23 22:18     ` James Simmons
2004-02-24  2:37 ` Otto Solares
2004-02-24  2:37   ` [Linux-fbdev-devel] " Otto Solares
2004-02-24  8:35   ` Geert Uytterhoeven
2004-02-24  8:35     ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-24 17:21     ` James Simmons
2004-02-24 21:41     ` Otto Solares
2004-02-25  1:21       ` James Simmons
2004-02-25  1:21         ` [Linux-fbdev-devel] " James Simmons
2004-02-25  1:26         ` Benjamin Herrenschmidt
2004-02-25  1:26           ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25 21:24           ` James Simmons
2004-02-25 21:24             ` [Linux-fbdev-devel] " James Simmons
2004-02-25 23:46             ` Benjamin Herrenschmidt
2004-02-25 23:46               ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-26  0:20               ` James Simmons
2004-02-26  0:20                 ` [Linux-fbdev-devel] " James Simmons
2004-02-26  0:33                 ` Benjamin Herrenschmidt
2004-02-26  0:33                   ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-26  1:11                   ` James Simmons
2004-02-25  1:29         ` Benjamin Herrenschmidt
2004-02-25  1:29           ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25  2:18           ` Otto Solares
2004-02-25  2:18             ` [Linux-fbdev-devel] " Otto Solares
2004-02-25  2:33             ` Benjamin Herrenschmidt
2004-02-25  2:33               ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
2004-02-25  3:15         ` Otto Solares
2004-02-25  3:15           ` [Linux-fbdev-devel] " Otto Solares
2004-02-25 11:41           ` Geert Uytterhoeven
2004-02-25 11:41             ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25 14:01             ` Sven Luther
2004-02-25 14:01               ` [Linux-fbdev-devel] " Sven Luther
2004-02-25 14:08               ` Geert Uytterhoeven
2004-02-25 14:08                 ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25 21:43             ` James Simmons
2004-02-25 21:43               ` [Linux-fbdev-devel] " James Simmons
2004-02-26 19:40             ` Otto Solares
2004-02-26 19:40               ` [Linux-fbdev-devel] " Otto Solares
2004-02-26 19:45               ` James Simmons
2004-02-26 19:45                 ` [Linux-fbdev-devel] " James Simmons
2004-02-26 20:12                 ` Otto Solares
2004-02-26 20:12                   ` [Linux-fbdev-devel] " Otto Solares
2004-02-25 21:42           ` James Simmons
2004-02-25 21:42             ` [Linux-fbdev-devel] " James Simmons
2004-02-26 15:26           ` Michel Dänzer
2004-02-26 15:26             ` Michel Dänzer
2004-02-24  5:57 ` Stuart Young
2004-02-24  5:57   ` Stuart Young
2004-02-24  8:36   ` Geert Uytterhoeven
2004-02-24  8:36     ` [Linux-fbdev-devel] " Geert Uytterhoeven
2004-02-25  7:14     ` Stuart Young
2004-02-25  7:14       ` [Linux-fbdev-devel] " Stuart Young
2004-02-26 15:11       ` Michel Dänzer
2004-02-26 15:11         ` Michel Dänzer

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.