Description
The display output of my laptop stutters and lags at about 6 frames per second when running the lv_music_demo at 720p on my laptop’s integrated display in the Linux frame buffer. However, when connected to an external 720p display via thunderbolt the demo runs at a smooth 30 fps. The performance monitor indicates the application running at 30 fps in both scenarios (even though it clearly isn’t on the laptop display).
I know my laptop display is capable of 720p30, as the demo runs smoothly in SDL simulator or Linux DRM.
What causes the stuttering on the laptop display and how can I make it run more smoothly like the external display?
What MCU/Processor/Board and compiler are you using?
Ubuntu Desktop Linux, x86, GCC
What LVGL version are you using?
9.2.2
What do you want to achieve?
I want the smooth frame buffer performance of the external display on my internal display.
What have you tried so far?
I’ve tried disabling the laptop display to see if the issue lies with the default display rather than actual hardware, but the application still ran smoothly on the external display.
Code to reproduce
The code block(s) should be formatted like:
int main(){
lv_init();
lv_display_t * display = lv_linux_fbdev_create();
lv_demo_music();
while(true){
lv_timer_handler_run_in_period(33);
}
return 0;
}