we are trying to do some graphics on embedded devices running linux and wanted to try out using bevy and bevy ui with our own simplified software renderer. i was wandering if anyone has any experience with something similar
What embedded Linux devices are you using? If it's Nvidia Jetson or Raspberry Pi I might have something for you.
Last week I was experimenting with getting WebGPU to render directly to the Jetson and Raspberry Pi GPU's on headless Linux systems. No X11, Wayland or whatever installed. So far I have managed to get a pipeline up and running and displaying a triangle on the screen, rendered with a WGSL shader. Not much but it proves it can be made to work and I'm hoping to build a GUI on that as well.
Bevy uses WebGPU so I'm hopeful that it is possible, and not too hard, to get Bevy to use the direct to hardware pipeline I have. Or perhaps egui.
My proof of concept code, about a thousand lines of it, is on a machine at work so I can post it somewhere for you tomorrow if you think it might be of interest.
Please check out GitHub - DGriffin91/egui_software_backend: A CPU software render backend for egui and GitHub - Masterchef365/egui-os: Proof-of-concept software rendering an immediate mode GUI on bare hardware which may be of interest for you.
it's an imx, i immagine we will have to do a fully custom rendering system but i'd still like to reuse the bevy ui toolings to some extent