Repository navigation
V9.2.1 prepare - #6981
V9.2.1 prepare#6981
Conversation
Signed-off-by: lhdjply <[email protected]>
Co-authored-by: Julian Foad <[email protected]>
) Signed-off-by: pengxiaolei <[email protected]> Signed-off-by: pengyiqiang <[email protected]> Co-authored-by: pengxiaolei <[email protected]>
Signed-off-by: pengyiqiang <[email protected]> Co-authored-by: pengyiqiang <[email protected]>
Co-authored-by: xlla <[email protected]>
1. fix perf monitor FPS wrong macro judgement 2. fix arc test failing with no reason
Signed-off-by: pengyiqiang <[email protected]> Co-authored-by: pengyiqiang <[email protected]>
Signed-off-by: pengyiqiang <[email protected]> Co-authored-by: pengyiqiang <[email protected]>
Co-authored-by: Manuel <[email protected]>
…#6895) Signed-off-by: lhdjply <[email protected]>
Signed-off-by: Nicușor Cîțu <[email protected]> Signed-off-by: Cosmin-Daniel Radu <[email protected]> Co-authored-by: Nicușor Cîțu <[email protected]>
Signed-off-by: pengyiqiang <[email protected]> Co-authored-by: pengyiqiang <[email protected]>
Co-authored-by: Gabor Kiss-Vamosi <[email protected]>
|
@cederom I just comment on the issue at NuttX. |
XuNeo
left a comment
There was a problem hiding this comment.
Build pass with no warnings on multiple nuttx targets.
There was a problem hiding this comment.
Maybe it's time to add CI to pull requests targeting release/v9.* branches. Currently it's this:
lvgl/.github/workflows/ccpp.yml
Lines 3 to 7 in 8d47460
These would not be caught by the CI but mentioning them anyways:
The VG Lite tests needs to have two images updated and I see an integer overflow message.
This ref image can be deleted: https://github.com/kisvegabor/lvgl_upstream/blob/00a8b4f7ed8c4c8de8fa2272041ba52daa4cd506/tests/ref_imgs/libs/freetype_1.lp32.png
|
@liamHowatt Good idea! I merge this one now. Could you open a new PR for the points you mentioned? |
|
@faxe1008 Please confirm if we are good for Zephyr too. |
|
Hi @kisvegabor When do you plan to create release of v9.2.1? apache/nuttx-apps#2592 will need it to merge. |
|
All display related issues are now fixed on NuttX we are waiting for v9.2.1 LVG release so we can include it in NuttX 12.7.0 release, thank you everyone involved!! :-) |
|
I ran the basic tests today with 9.2.1 and did not face compilation issues. Will do some more in depth testing with PXP tomorrow. |
|
Please run the PXP tests after merging the PR #6979 |
|
#6979 is merged |
|
Can you bisect which commit introduced the problem? Fortunately it's visible on the first scene to. I'm sure yes, just asking: have you set -O3 in both cases? |
|
@cristian-stoica can you please try it out the last 9.2 branch and do a git bisect? Thank you. |
Hi @kisvegabor , I've managed to find the issue. It comes from #6803. I've done a comparison of release/9.2 branch with and without commit 53c846f, and it seems that without it, the performance is fine. |
|
Why do we need the recursive semaphores? |
|
Let's cross off this as a potential cause of the degradation. Is it unrelated? |
|
My question is why do we need recursive locks? This change 53c846f impact the performance. If someone takes recursively the same mutex, maybe there is a problem on that application. We need to fix the performance regression. |
|
So far I couldn't reproduce the performance regression. I've tried with a Renesas board and measured the exact same performance with and without FreeRTOS. We will try with an ST board on Monday too. We started to use recursive mutexes based on the request of @espzav (Espressif). The use case is the following: We have added It seems the recursive mutex handling is only a very thin layer around the normal mutex handling which doesn't explain why it is so much slower. Is there anything special in your FreeRTOS or its config? |
|
Nothing special in the FreeRTOS config. "Each recursive mutex require a small amount of RAM that is used to hold the recursive mutex's state. If a mutex is created using xSemaphoreCreateRecursiveMutex() then the required RAM is automatically allocated from the FreeRTOS heap." |
How slow this RAM is? Maybe it's very slow because of caching? E g. even when a byte is changed the whole cache line is read and written. In freeRTOS it seems it's only about incrementing and decrementing a single int to keep track of the nested gives and takes. (Although freeRTOS is in internal RAM we haven't seen any changes on ST either) |
|
Hi @kisvegabor |
|
@kisvegabor I would remove the commit 53c846f from 9.2.1 as this is also a new feature - not a bugfix. Next we have to figure out on master branch why the recursive lock introduce this performance drop. |
It causes performance issues in some cases See #6981 (comment) This reverts commit 53c846f.
|
It's hard to decide which option is better, but finally I reverted it here. Let's investigate the performance issue in Please do a final test. If all looks good, I'll release v9.2.1 tomorrow. |


Cherry-pick all
fixcommits frommaster.These 2 is not added yet:
@nicusorcitu will add more fixes before the release of v9.2.1, but I suggest merging this PR as soon as possible to have at least these commits in place.
cc @liamHowatt @XuNeo @FASTSHIFT @faxe1008
Notes
lv_conf_template.hrun lv_conf_internal_gen.py and update Kconfig.scripts/code-format.py(astyle v3.4.12needs to installed by runningcd scripts; ./install_astyle.sh) and follow the Code Conventions.