SSD1322 OLED display 256x64 - Blank bar and text mirrored

Hello,

I have an problem with OLED display SSD1322 - blank bar and text mirrored:

Under arduino code with olikraus u8g2 driver I was found solution - in the file “u8x8_d_ssd1322.c” I corrected two positions:

  1. “default_x_offset” → form 0x01c to 0x018
  2. Second parameter of of init seq "U8X8_CAA(0xa0, 0x06, 0x011), /* Set Re-Map / Dual COM Line Mode /" → form 0x06 to 0x016.
    So finally init seq is U8X8_CAA(0xa0, 0x016, 0x011), /
    Set Re-Map / Dual COM Line Mode */

After modyfied those two position now ssd1322 working very well.

Now question about ESPHome and driver for ssd1322 - what file and what parameters for ssd1322 ESPHome driver should I change - based on changes what I made at olikraus u8g2 driver?

Do sombody can support me?
Thank you.