null

Results 8 comments of null

I got this error "[Error] (4292956.517, +4292956517) lv_display_set_buffers: Asserted at expression: stride * h

I don't know how to set this due to the change of interface, but I found LV_LINUX_FBDEV_BUFFER_SIZE in lv_config.h and set it to my screen size (480*480) but this is...

Until I found out about this lv_display_t * lv_linux_fbdev_create(void) { static bool inited = false; if(!inited) { lv_tick_set_cb(tick_get_cb), inited = true; } lv_linux_fb_t * dsc = lv_malloc_zeroed(sizeof(lv_linux_fb_t)); LV_ASSERT_MALLOC(dsc); if(dsc ==...

As I continued reading the source code, I found this if(LV_LINUX_FBDEV_RENDER_MODE == LV_DISPLAY_RENDER_MODE_PARTIAL) { draw_buf_size *= LV_LINUX_FBDEV_BUFFER_SIZE;} However, there is no LV_DISPLAY_RENDER_MODE_PARTIAL in lv_conf.h, and perhaps more details are needed...

> Hi, > > Can you send a code snippet to reproduce the issue with > > * how you create the display > * the FBDEV related part of...

> > Hi, > > Can you send a code snippet to reproduce the issue with > > > > * how you create the display > > * the...

> Please print `dsc->vinfo.bits_per_pixel`. dsc->vinfo.bits_per_pixel:32

> Please print `dsc->vinfo.bits_per_pixel`. I'm not sure you understand what I mean, but I mean from the main.c example so far lv_linux_fbdev_create the (void) design may not be flexible enough,...