---
outline: deep
---

# Linux Framebuffer

We can use Linux Framebuffer to draw graphics directly to the screen without X11 or Wayland.

## Basic Example

<FileExplorer rootFilesDir="examples/cpp/graphics/linux_framebuffer/basic" />

### Build and Run

```bash
$ xmake
$ xmake run
```
