Why image in my screen distort?

Hi, I ported Littlevgl lib to arm 32 linux, lvgl version is V8.2, screen is rgb888, 24bit 1024*600, so I #define LV_COLOR_DEPTH 32, used lv_port_linux_frame_buffer project, and
and changed res

    static lv_disp_drv_t disp_drv;
    disp_drv.draw_buf   = &disp_buf;
    disp_drv.flush_cb   = fbdev_flush;
    disp_drv.hor_res    = 1024;
    disp_drv.ver_res    = 600;

but widget show in the screen looks like scaled in horizon direction, and color is wrong, so what is the problem maybe?