Inky Impression 13.3" (Spectra 6) - Manual Init fails with "cannot reshape array" on Pi 5

Hi. I’m working on a project using the Inky Impression 13.3" (1600x1200) on a Raspberry Pi 5 (Python 3.13). I’ve encountered an issue where inky.auto.auto() fails to detect the display when the script is run as a systemd service.

Because of this, I’m trying to initialize the display manually. However, whenever I try to initialize the UC8159 driver manually for the 13.3" specs, I get the following error during display.show() or set_image():
ValueError: cannot reshape array of size 1920000 into shape (448, 600)

It seems the library won’t allow a manual override to the 1600 x 1200 buffer size. I have tried manually setting display.width, display.height, and display.resolution, but the underlying NumPy buffer doesn’t seem to update.

Questions:

  • What is the correct way to manually initialize the 13.3" Spectra 6 in the current Python library without relying on auto()?
  • Is there a specific way to force the internal buffer to allocate for 1600 \times 1200 pixels?

Any help would be greatly appreciated!