ESP32 SPI display not working

Go on. If you know it is ILI9481, then you should have 9481 in #4

Display driver = 9481

An ILI9481 will not work properly (if at all) with ST7796S commands.

David.