Re: OpenGL-based framebuffer concepts



On Tue, May 30, 2006 at 10:40:20AM -0700, David Lang wrote:
as a long time linux user I tend to not to use the framebuffer, but
instead use the standard vga text drivers (with X and sometimes dri/drm).

in part this dates back to my early experiances with the framebuffer code
when it was first introduced, but I still find that the framebuffer is not
as nice to use as the simpler direct access for text modes. and when I
start X up it doesn't need a framebuffer, so why suffer with the
performance hit of the framebuffer?

Many users want to use text mode for console. But this request is not
in contradiction with fbdev and fbcon. It just requires to do some work:

1) To extend fbcon to be able to handle framebuffer in text mode.
2) To modify appropriate fbdev drivers to not do mode change at startup.
Fill fb_*_screeninfo with appropriate values for text mode instead.
3) (optional) To modify appropriate fbdev drivers to be able to switch
back from graphics mode to text mode.

Step 2) could be done easily - just disable mode switch and examine structure
of fb. Step 3) could be hacked using store and restore of vga registers
if better way is not available.

If someone do that, then there should be no difference in user experience
with vgacon and fbcon/vga16fb (or specific fb driver), which can result to
better acceptance of fb drivers between users.

--
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago@xxxxxxx, jabber: santiago@xxxxxxxxxxxxx)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-
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/



Relevant Pages

  • [PATCH 0/3] xen pvfb: Para-virtual framebuffer, keyboard and pointer
    ... This is a pair of Xen para-virtual frontend device drivers: ... drivers/input/xen-kbdfront provides keyboard and mouse. ... Use framebuffer helper functions appropriate for framebuffer in ...
    (Linux-Kernel)
  • [PATCH 0/2] xen pvfb: Para-virtual framebuffer, keyboard and pointer
    ... This is a pair of Xen para-virtual frontend device drivers: ... drivers/input/xen-kbdfront provides keyboard and mouse. ... Use framebuffer helper functions appropriate for framebuffer in ...
    (Linux-Kernel)
  • Re: OpenGL-based framebuffer concepts
    ... instead use the standard vga text drivers. ... but I still find that the framebuffer is not ... To extend fbcon to be able to handle framebuffer in text mode. ... switch to graphics mode, unload, and you're back to text mode. ...
    (Linux-Kernel)
  • Re: [Linux-fbdev-devel] RFC: disallow modular framebuffers
    ... > Do modular framebuffers really make sense? ... > And most framebuffer drivers contain a module_exit function. ... it's not possible to unload the module unless 2 drivers ...
    (Linux-Kernel)
  • Re: standard vga adapter
    ... standard vga adapter and was going t o install the drivers, ... to search for and install the drivers, I checked the yes box to let it search ... but it couldn't find the drivers to install the standard vga ...
    (microsoft.public.windowsxp.general)