Display rotation problem

What MCU/Processor/Board and compiler are you using?

stm32

What LVGL version are you using?

v7.11

I am using the default screen direction as a reference.
But sometimes when I turn on the power, the screen automatically turns on as rotated with 180 degrees.
And when I turn the power off and on again, the default screen is set to 0 degrees, again.
This happens often.
What is the cause of this?

And the colors on the screen also appear dimmer than they should be.
Occasionally, the original color is expressed, but it happens very rarely.

Hardware connection is fine. I wonder if there are cases where this happens in lvgl settings.