Open cooperq opened 8 months ago
i threw together a quick POC for shoving images onto the screen here, it works pretty well tbh https://github.com/EFForg/wavehunter/blob/fbshow/fbshow/src/main.rs
the biggest caveat is that the qt_daemon (orbic's existing gui process) will overwrite the screen on user input (or if anything causes a screen draw), so we'll either need to rapidly draw to the screen or kill the qt_daemon to ensure our stuff's being drawn
we can write to the framebuffer like so
$ cat /dev/urandom > /dev/fb0
so we could deifnitely write to the framebuffer just red pixels if something is bad. There is also a QT gui that is at /usr/bin/qt_daemon that we could modify perhaps or we could using something like sdl2 to try to influence it.