128x64 SPI cheap OLED display glitched out

The OLED screen image suggests you are driving the display with 5V logic levels which upsets the OLED driver chip.

If that is the case, try adding 10K series resistors to all data lines.