# gxfb - AMD Geode GX2 framebuffer driver

_Peios Kernel / Hardware and drivers / Framebuffer devices_

> This is a graphics framebuffer driver for AMD Geode GX2 based processors.

<a id="rst-gxfb-amd-geode-gx2-framebuffer-driver"></a>

This is a graphics framebuffer driver for AMD Geode GX2 based processors.

Advantages:

> - No need to use AMD's VSA code (or other VESA emulation layer) in the BIOS.
>
> - It provides a nice large console (128 cols + 48 lines with 1024x768) without using tiny, unreadable fonts.
>
> - You can run XF68_FBDev on top of /dev/fb0
>
> - Most important: boot logo :-)

Disadvantages:

> - graphic mode is slower than text mode...

<a id="rst-how-to-use-it"></a>

## How to use it?

Switching modes is done using  gxfb.mode_option=&lt;resolution&gt;... boot parameter or using `fbset` program.

See [Documentation/fb/modedb.rst](/kernel/hardware/fb/modedb.md) for more information on modedb resolutions.

<a id="rst-x11"></a>

## X11

XF68_FBDev should generally work fine, but it is non-accelerated.

<a id="rst-configuration"></a>

## Configuration

You can pass kernel command line options to gxfb with gxfb.&lt;option&gt;. For example, [gxfb.mode_option=800x600@75](<mailto:gxfb.mode_option=800x600@75>). Accepted options:


<table>
<tbody>
<tr>
<td>


mode_option

</td>
<td>


specify the video mode.  Of the form &lt;x&gt;x&lt;y&gt;\[-&lt;bpp&gt;\]\[@&lt;refresh&gt;\]

</td>
</tr>
<tr>
<td>


vram

</td>
<td>


size of video ram (normally auto-detected)

</td>
</tr>
<tr>
<td>


vt_switch

</td>
<td>


enable vt switching during suspend/resume.  The vt switch is slow, but harmless.

</td>
</tr>
</tbody>
</table>

Andres Salomon &lt;[dilinger@debian.org](<mailto:dilinger@debian.org>)&gt;
