2021-08-19 01:32:56 +00:00
|
|
|
# fbflut
|
|
|
|
|
|
|
|
framebuffer pixelflut server in C.
|
|
|
|
|
|
|
|
## running
|
|
|
|
|
|
|
|
- compile with `make`
|
|
|
|
- make sure you have read/write access
|
|
|
|
to the framebuffer (ie put yourself in the `video` group)
|
|
|
|
- go in something that wont fight you for the framebuffer,
|
|
|
|
ie a tty
|
2021-08-19 21:56:04 +00:00
|
|
|
- do `./fbflut` (or `./fbflut <port>`)
|
|
|
|
- connect with netcat or something, the default port is 1234
|
|
|
|
|
|
|
|
## caveats
|
2023-09-13 21:53:40 +00:00
|
|
|
- this writes provided colors directly to your framebuffer,
|
2024-05-04 13:22:41 +00:00
|
|
|
meaning it inherits the color format.
|
2023-09-13 21:53:40 +00:00
|
|
|
- fbflut does not store its own buffer, the canvas is
|
|
|
|
entirely mmapped to the framebuffer, so be weary of other
|
|
|
|
programs writing to it
|
2022-08-23 19:06:22 +00:00
|
|
|
|
2024-05-04 13:23:10 +00:00
|
|
|
## PIXELSIZE compile option
|
|
|
|
for performance reasons, the bit depth can only be changed
|
|
|
|
at compile time. if your framebuffer is not using 32 bits
|
|
|
|
per pixel, this can be changed via `PIXELSIZE` in Makefile.
|
|
|
|
|