Multiple dispmanx layers and vertical sync - Raspberry Pi Forums


i'm using dispmanx create several (4) 1920x1080 layers use changes alpha allow them seen or not seen. there openmax layer behind these layers decoding , rendering 1920x1080 video. alpha change done within update = vc_dispmanx_update_start(0) , vc_dispmanx_update_submit_sync(update). had been working well, i'm noticing change not taking place within vertical retrace - shows in middle of frame. isn't update_submit_sync function supposed prevent? firmware version 29d1114a... may 23, 2015 (clean) (release).

config.txt file has "dispmanx_offline=1" , "gpu_mem=384". running on pi 2 b+.
has else noticed sync , dispmanx?

if remember correctly, when experimenting double buffering using dispmanx needed create 2 resources every element, make changes resources not associated element , call vc_dispmanx_element_change_source() each update. have code here, animates rgb triangle on screen.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support