Hi Igor, happy new year !
I finally got the time to make more tests.
I'm working with a Banana Pi M1, a freshly downloaded 4.5 Jessie Legacy image, and your script.
Once installed, I replace /boot/script.bin with lemaker's banana_pi_35lcd.bin. After a reboot, display is working fine.
apt-get install python-pygame
apt-get install python-bs4 python-requests python-pywapi python-dev python-pip
And nothing else.
With your script set on fb0, I get the screenshot I linked above. Reboot needed to reset the display. Pygame detects a 320x240 framebuffer, which is normal.
With your script set on fb1, I get nothing but a non-blinking cursor. Pygame detects a 800x480 framebuffer, it sounds strange to me.
With a HDMI display only (original script.bin) and your script set on fb0, you are right, pygame / your script are working fine from CLI.
I also checked the board / display / cable using an old (but working) image, and pygame is running fine on it.
What else could I do ?
Try your image with my old / working script.bin, to check lemaker's bin file itself ? (Not working)
Try with a SPI display (not really my goal but I have a few) ?