Code: Select all
[all] #dtoverlay=vc4-fkms-v3d gpu_mem=128
Code: Select all
[all] dtoverlay=vc4-fkms-v3d gpu_mem=128
I would. I believe there are mechanisms to allow for alpha blended windows, but I don't know what they are.
yes, I basically do all the development on my ubuntu laptop and only test it on RPi and windows as a final stage. Transparent background hasn't worked on x86 x11 or pygame based computers since day one (2014). But I will see if I can get this _NET_WM_WINDOW_OPACITY option to work. I might actually start off trying to get it to work using https://github.com/paddywwoof/rust_pi3d/ which access the X11 window via SDL2 and that does seem to have https://wiki.libsdl.org/SDL_SetWindowOpacity. If I can get some joy with that then I might start to wrestle with the construction of XInternAtoms etc.
Not my area of expertise, but does https://stackoverflow.com/questions/406 ... -backgroun help? That seems to have at least partial alpha support within the window, although it is the reverse of what you wantedpaddyg wrote: ↑Thu Oct 31, 2019 4:10 pmOK, I've played around with X11 a bit. The consensus (when I can find anyone interested in this) seems to be that it could be done by taking a snap of what was on the screen then using it as background for the window. However this is unsatisfactory if the stuff behind the pi3d window is changing (a video say).
Note the title of that examplepaddyg wrote:The alternative approach would be to have a system using KMS like this https://www.raspberrypi.org/forums/view ... 7#p1499181 but the prospect of getting that to work from python is a bit daunting...