pixelflut server using the linux framebuffer
Go to file
xfnw 571b7db5dc contrib: viptext: use a monospace font 2024-01-13 18:33:24 -05:00
contrib contrib: viptext: use a monospace font 2024-01-13 18:33:24 -05:00
.gitignore update gitignore 2022-08-20 12:26:59 -04:00
LICENSE add a license 2021-08-24 12:49:43 -04:00
Makefile reorder final cc step 2023-09-16 16:43:56 -04:00
README.md reorder final cc step 2023-09-16 16:43:56 -04:00
fbflut.c remove redundant else and fix formatting 2024-01-08 13:22:22 -05:00

README.md

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
  • do ./fbflut (or ./fbflut <port>)
  • connect with netcat or something, the default port is 1234

caveats

  • this writes provided colors directly to your framebuffer, meaning it inherits the color format. if your system is big-endian, or if your color format is weird, you may need to add -DALPHA_AT_END to CFLAGS in the Makefile to allow omitting alpha in PX commands
  • fbflut does not store its own buffer, the canvas is entirely mmapped to the framebuffer, so be weary of other programs writing to it

LOSSY compile option

add -DLOSSY to CFLAGS in the Makefile to disable waiting for incomplete line reads to finish, which can make it slightly faster at the expense of losing a couple pixels.