-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate the two VG-Lite drivers #7348
Comments
This is because the VG-Lite driver version is not new enough. It is recommended to update the VG-Lite driver to this version (or a later version) to maintain the consistency of the code and the most full functionality and performance. ../lvgl/lvgl/src/draw/vg_lite/lv_vg_lite_utils.h:96:40: error: unknown type name 'vg_lite_stroke_t'
96 | void lv_vg_lite_stroke_dump_info(const vg_lite_stroke_t * stroke);
| ^~~~~~~~~~~~~~~~
make[1]: *** [lvgl/lvgl/src/draw/vg_lite/subdir.mk:75: lvgl/lvgl/src/draw/vg_lite/lv_vg_lite_stroke.o] Error 1
../lvgl/lvgl/src/draw/vg_lite/lv_vg_lite_path.c: In function 'lv_vg_lite_path_reset':
../lvgl/lvgl/src/draw/vg_lite/lv_vg_lite_path.c:143:28: error: 'VG_LITE_DRAW_ZERO' undeclared (first use in this function)
143 | path->base.path_type = VG_LITE_DRAW_ZERO; |
hi @kisvegabor I see you are testing lvgl 9 on rt1170. The board is not yet supported. I mean it is supported on our end but code have not been pushed on github. |
If you need it just now, @cosmindanielradu19 can provide you an archive with everything is done for 1170. |
Thank you for the quick reply. It'd be great if you could send an archive. |
I've just noticed that link application to RAM is not working now. It crashes immediately. Maybe is it also fixed? |
In 2 weeks. 🙁 Using an other demo could be an option too, but we need to address the performance issue (ideally by having both the GPU and linking to RAM working) |
I have one question, the VGLite would be platform independent, so assuming that the both implementations follows the specification from the API, would I be able to run a demo for both VGLite implementations with minimal configuration changes using the same board right? I'm running after the same IMXRT1170 + X-RK055HDMIPI (this one I already have) and it would be good to know if this scenario at least, theoretically is true. |
I've had mixed results running from RAM on 1170. Typically, I run from FLASH for testing and OCRAM for performance. If the application is small enough to fit OCRAM I make the OCRAM1 section as large as possible at the expense of OCRAM2. |
I'll come back with the archive of the project tomorrow. |
Now we have 2 VG-Lite drivers which is no ideal. I asked @uLipe to test the performance and get familiar with the internals/pro/cons of each implementations so that we can start working on a single unified solution.
To check what's going on I've created and SDK example for NXP i.MX1170 (with FreeRTOS as there is no VGLite in the Bare metal version) and updated it to LVGL v9. It compiles and works mostly with software rendering:
When I enable Xiaomi's VGLite I get this error (
LV_USE_DRAW_VG_LITE
):When I enable NXP's VGLite I get this error (
LV_USE_DRAW_VGLITE
):I pushed my current project here:
cc @FASTSHIFT @onecoolx @nicusorcitu @anaGrad @cosmindanielradu19
Could you take a look at this issue to point us into right direction?
Context: We need to create a demo for CES and I'd like to use some cool perspective matrix transformation effects.
The text was updated successfully, but these errors were encountered: