Skip to content

fix(perf): perf monitor FPS - #6798

Merged
XuNeo merged 2 commits into
lvgl:masterfrom
liamHowatt:perf/inverted-logic
Sep 10, 2024
Merged

XuNeo merged 2 commits into
lvgl:masterfrom
liamHowatt:perf/inverted-logic

Conversation

@liamHowatt

Copy link
Copy Markdown
Contributor

The logic for pausing the timer was accidentally inverted. It should not pause the timer if the perf monitor is enabled. Always try to achieve target FPS while perf monitor is enabled.

Should fix #6785

Notes

@liamHowatt liamHowatt added the 👀 Review needed Anyone can review a PR label Sep 4, 2024
kisvegabor
kisvegabor previously approved these changes Sep 4, 2024
@kisvegabor

Copy link
Copy Markdown
Member

Upps, thank you 😅

XuNeo
XuNeo previously approved these changes Sep 5, 2024
@XuNeo

XuNeo commented Sep 5, 2024

Copy link
Copy Markdown
Collaborator

Looks like CI is failing, and no snapshot image in artifacts.


/home/runner/work/lvgl/lvgl/tests/src/test_cases/widgets/test_arc.c:218:test_arc_click_sustained_from_start_to_end_does_not_set_value_to_max:FAIL: Expected 1 Was 0
/home/runner/work/lvgl/lvgl/tests/src/test_cases/widgets/test_arc.c:275:test_two_overlapping_arcs_can_be_interacted_independently:FAIL: Expected 1 Was 0

@liamHowatt

liamHowatt commented Sep 5, 2024 •

Copy link
Copy Markdown
Contributor Author

Thanks, the problem seems slightly nontrivial. It has to do with the test indev not releasing between test cases, but there is some external factor. Looking into it.

@liamHowatt liamHowatt added the 🔎 Investigating Understanding the details label Sep 5, 2024
@liamHowatt
liamHowatt dismissed stale reviews from XuNeo and kisvegabor via 94dfda1 September 6, 2024 05:58
@liamHowatt

Copy link
Copy Markdown
Contributor Author

I don't really understand why this fixes it or why it needed to be fixed only now. Oh well.

@liamHowatt liamHowatt removed the 🔎 Investigating Understanding the details label Sep 6, 2024
@kisvegabor

Copy link
Copy Markdown
Member

Let's accept that we can't control everything. 😅

@kisvegabor kisvegabor added the 👀 Review needed Anyone can review a PR label Sep 10, 2024
@XuNeo
XuNeo merged commit d824618 into lvgl:master Sep 10, 2024
@Linjieqiang

Copy link
Copy Markdown
Contributor

I meet the same problem but after using this PR, it looks normal now. So maybe need to release a new version to fix it? v9.2.1

@kisvegabor

Copy link
Copy Markdown
Member

Great! It will be released v9.2.1 will be released early October.

kisvegabor pushed a commit to kisvegabor/lvgl_fork that referenced this pull request Oct 1, 2024
1. fix perf monitor FPS wrong macro judgement
2. fix arc test failing with no reason
kisvegabor pushed a commit that referenced this pull request Oct 9, 2024
1. fix perf monitor FPS wrong macro judgement
2. fix arc test failing with no reason
Orange-Murker added a commit to Orange-Murker/lvgl that referenced this pull request Nov 6, 2024
rodb70 pushed a commit to rodb70/lvgl that referenced this pull request Nov 8, 2024
1. fix perf monitor FPS wrong macro judgement
2. fix arc test failing with no reason
Orange-Murker added a commit to Orange-Murker/lvgl that referenced this pull request Nov 14, 2024
Orange-Murker added a commit to Orange-Murker/lvgl that referenced this pull request Feb 15, 2025
Orange-Murker added a commit to Orange-Murker/lvgl that referenced this pull request Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👀 Review needed Anyone can review a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When updating the LVGL library from 9.1 to 9.2, the number of FPS decreased.

4 participants