genode/repos/libports/src/drivers/framebuffer/vesa
2023-03-13 14:32:53 +01:00
..
include Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
framebuffer.cc vesa_fb_drv: use generic platform API 2022-10-12 12:09:33 +02:00
hw_emul.cc vesa_fb_drv: use generic platform API 2022-10-12 12:09:33 +02:00
ifx86emu.cc Replace use of base/snprintf.h by format library 2023-03-13 14:32:53 +01:00
main.cc Turn framebuffer drivers into capture clients 2020-07-13 11:33:15 +02:00
README Change pixel format to 32 bits per pixel 2020-06-29 14:22:29 +02:00
target.mk Replace use of base/snprintf.h by format library 2023-03-13 14:32:53 +01:00

This driver for x86 VBE 2.0 flat framebuffers was implemented by Sebastian
Sumpf.


Config arguments
~~~~~~~~~~~~~~~~

By default, the driver sets up a resolution of 1024x768 at 16 bit color
depth. This behaviour can be overridden by supplying the following
arguments via Genode's config mechanism:

! <config width="1024"
!         height="768"
!         depth="16"
!         buffered="no" />

The 'depth' attribute is specified in bits per pixel. If setting the
'buffered' attribute to 'yes', the VESA driver hands out a plain
memory buffer to its client and flushes the pixels to the physical
frame buffer each time, 'refresh' is called by the client. Buffered
output should be used if the client tends to read from the frame
buffer (i.e., the client performs output with alpha channel).

Note that only VESA modes but no arbitrary combination of values are
supported. To find out which graphics modes exist on your platform,
you might use the 'vbeprobe' command of the GRUB boot loader. Also,
the driver will print a list of supported modes if the specified
values are invalid.

As an alternative to letting the VESA driver set up a screen mode, the
driver is able to reuse an already initialized mode, which becomes useful
if the VESA mode is already initialized by the boot loader. If the screen
is initialized that way, the 'preinit' attribute of the 'config' node can
be set to '"yes"' to prevent the driver from changing the mode. This way,
the driver will just query the current mode and make the already
initialized framebuffer available to its client.

:Supported modes:

  '640x480', '800x600', '1024x786', '1280x1024' at 32 bits per pixel.