I have developed a kivy program and I am running it on raspberry pi. The program works amazingly on Windows but on raspberry pi I am having a problem. The program works properly for small window size but when I maximize the window size or increase the size of the window the entire raspberry pi freezes and nothing works . I have to turn of the main switch so I can boot again. Also I have downloaded some background images from the net to use in the kivy program but some of them work while for others a black screen appears with the buttons on it. I don't understand what's causing this.
My suspects:-
I suspect it has got something to do with gpu ram but I have assigned 512 mb ram to it already which I think should be more than enough.
I have read about the screen manager and slide transition issues of kivy in raspberry pi but I don't think that they are the cause of this cause they work when the window size is small enough also except for the background image problem
3) I have also installed zram module on my pi. Could that be any reason for all of this??zram module link
Any suggestions?? Thank you.
The program works properly for small window size but when I maximize the window size or increase the size of the window the entire raspberry pi freezes and nothing works
What window provider are you using, sdl2 or the rpi-specific one?
Also I have downloaded some background images from the net to use in the kivy program but some of them work while for others a black screen appears with the buttons on it
You get the black rectangle if the image is larger than can fit within a single GPU Texture. Kivy doesn't have a way to automatically work around that, although it's possible. The simplest solution is to use smaller images.