Connected display causes disconnect

I’ve started to test using a display, SSD1306 type.

Can install on the esp8266, but as soon as the device restart and displays the text, the device disconnects from wifi. If I disconnect the display, the esp comes online again. Tried different PSUs.

captive_portal:

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 10

i2c:
  sda: GPIO5 #D1
  scl: GPIO4 #D2

display:
  - platform: ssd1306_i2c
    model: "SSD1306 128x64"
    #reset_pin: D0
    address: 0x3C
    lambda: |-
      it.print(0, 0, id(roboto), "Hello World!");

Where to start looking?

Found the solution here:
https://community.home-assistant.io/t/ssd1306-breaks-wi-fi/446964/3