---
url: /examples/cpp/graphics/linux_framebuffer.md
---

# Linux Framebuffer

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

## Basic Example

### Build and Run

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