pixelflut server using the linux framebuffer
Go to file
xfnw 2546ee5d66 contrib: viptext: avoid crash on lines of only whitespace 2024-05-06 17:54:04 -04:00
contrib contrib: viptext: avoid crash on lines of only whitespace 2024-05-06 17:54:04 -04: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 move _GNU_SOURCE inside source 2024-05-02 12:41:43 -04:00
README.md readme: mention PIXELSIZE 2024-05-04 09:43:44 -04:00
fbflut.c small portability fixes 2024-05-04 12:10:59 -04: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.
  • fbflut does not store its own buffer, the canvas is entirely mmapped to the framebuffer, so be weary of other programs writing to it

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.