Hi all,
I am working on a project using DVRRDK_3.0.1.3 on our customized TI8168 board.
In our use case, user can choose to change different display resolution at runtime.
In this case, first we shutdown Qt application, call Vdis_setResolution() to change display resolution, and then restart Qt application.
However, we found that if we restart Qt application right after calling Vdis_setResolution(), we got the error message from Qt:
QScreenLinuxFb::connect: Operation not permitted Error opening framebuffer device /dev/fb0 [m3vpss ] 280790: DISPLAY: Start in progress !!! QScreenLinuxFb::connect: Connection timed out Error opening framebuffer device /dev/fb0
Then we tried to delay 10 seconds before restarting Qt application, and it works normally.
It seems that there are some low-level operations to be done after Vdis_setResolution() is called, the low-level hardware is still busy
and we failed to open /dev/fb0 for Qt application since the Vdis_setResolution() call is not blocked until the low-level operations are done.
Is it correct?
Is there some way to make sure all things Vdis_setResolution() need to do are done then we can open /dev/fb0 to start Qt application?
Thanks.
Phil Chen